All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.network.NetworkUtils.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????43/com/groupbyinc/flux/common/network/NetworkUtilsjava/lang/ObjectNetworkUtils.java1com/groupbyinc/flux/common/network/NetworkUtils$21com/groupbyinc/flux/common/network/NetworkUtils$1%java/lang/invoke/MethodHandles$Lookup
java/lang/invoke/MethodHandlesLookup	PREFER_V6ZLjava/lang/Deprecated;SUPPORTS_V6()V
this1Lcom/groupbyinc/flux/common/network/NetworkUtils;sortKey(Ljava/net/InetAddress;Z)Ijava/net/InetAddress
getAddress()[B
isAnyLocalAddress()Z!"
#isMulticastAddress%"
&isLoopbackAddress("
)isLinkLocalAddress+"
,isSiteLocalAddress."
/addressLjava/net/InetAddress;	prefer_v6keyI
sortAddresses(Ljava/util/List;)V
	java/util/Collections9sort)(Ljava/util/List;Ljava/util/Comparator;)V;<
:=list(Ljava/util/List;Ljava/util/List;
getInterfaces()Ljava/util/List;java/net/SocketExceptionDjava/util/ArrayListF
Gjava/net/NetworkInterfaceIgetNetworkInterfaces()Ljava/util/Enumeration;KL
JM.(Ljava/util/Enumeration;)Ljava/util/ArrayList;?O
:PaddAllInterfaces#(Ljava/util/List;Ljava/util/List;)VRS
T
all-Ljava/util/List;java/util/ListYisEmpty["Z\addAll(Ljava/util/Collection;)Z^_Z`iterator()Ljava/util/Iterator;bcZdjava/util/IteratorfhasNexth"ginext()Ljava/lang/Object;klgmgetSubInterfacesoL
JpintfLjava/net/NetworkInterface;targetleveldefaultReuseAddress7com/groupbyinc/flux/common/apache/lucene/util/ConstantswWINDOWSy	xzgetLoopbackAddresses()[Ljava/net/InetAddress;BC
~isUp?"
J?getInetAddresses?L
J?
Gdadd(Ljava/lang/Object;)Z??Z?"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?0No up-and-running loopback addresses found, got ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??toString()Ljava/lang/String;??
??(Ljava/lang/String;)V?
??size()I??Z?toArray(([Ljava/lang/Object;)[Ljava/lang/Object;??Z?[Ljava/net/InetAddress;?getSiteLocalAddresses;Ljava/util/Optional;
filterIPV40([Ljava/net/InetAddress;)[Ljava/net/InetAddress;java/net/Inet4Address?No ipv4 addresses found in ?java/util/Arrays?'([Ljava/lang/Object;)Ljava/lang/String;??
??	addresses
filterIPV6java/net/Inet6Address?No ipv6 addresses found in ?getName??
J?java/lang/Stringequals?
netIfjava/lang/SecurityExceptionjava.net.preferIPv6Addresses
falsejava/lang/SystemgetProperty8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
java/lang/BooleanparseBoolean(Ljava/lang/String;)Z
	java/lang/Exception	nicmisconfigurationLjava/lang/Exception;v
DeprecatedRuntimeVisibleAnnotationsCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable	Signature+(Ljava/util/List;)V
Exceptions/()Ljava/util/List;](Ljava/util/List;Ljava/util/List;)VBootstrapMethods
SourceFileInnerClasses!$%$%&/*??'(,&?A*? ?=?t=*?$??*?'??*?*??*?-??*?0???' A12A3;45(:RS
T
WXZ[!](^+`2a5c<d?g)?
						67&L*?	Y?8?>?'?A*?@(
q{$+,%BC&g?GY?HK*?N?Q?U*?Y?V?>*?'WA*WX(???-E+.
RS&?:+?]?3*+?aW+?eM,?j?,?n?JN*-?q?Q?U???' +rs:tA:uA*:tX:uX(?	??+?6?9?)?g? +/	v"&/?{???(?)
@|}&4??GY?HK??eL+?j?J+?n?JM,???6,???Q??N-?j?"-?n?:?*?*??W??ۧ??*?]? ??Y??Y?????????????**????????' J12$:rs??A*??@(.??$?+?J?R?[?^?a?j???)?Zg?$Jg$??%-E?}&4??GY?HK??eL+?j?J+?n?JM,???6,???Q??N-?j?"-?n?:?0?*??W??ۧ??*?]? ??Y??Y?????????????**????????' J12$:rs??A*??@(.??$?+?J?R?[?^?a?j???)?Zg?$Jg$??%-E?}&L??GY?HK??eL+?j?Z+?n?JM,???F,???Q??N-?j?2-?n?:?*??0??-?*??W??˧??*?]? ??Y??Y?????????????**????????' J!12$Jrs??A*??@(6
??$?+?J?T?\?b?k?n?q?z???)?Zg?$Jg4??%-E?}&'??GY?HK??eL+?j?B+?n?JM,???.,???Q??N-?j?-?n?:*??W?????*?]? ??Y??Y?????????????**????????' J	12$2rs??A*??@(*
??$?+?J?S?V?Y?b??)?Zg?$Jg??%-E??&L????*??????L+?ښ)??Y??Y??ܶ?*??޶?????????+???J???#??Y??Y????*?????????+???J???QM,?]?#??Y??Y????*?????????,,????????' ???????<?A*????<?@(&	?? ?F?S?s???????)?F?,?6Z-E??&?m?GY?HL*M,?>6? ,2:??+??W????+?]?!??Y??Y????*?????????++????????' 12m??e?A*e?@("???$?-?3?<?Z?)??Z??&??&?m?GY?HL*M,?>6? ,2:???+??W????+?]?!??Y??Y?????*?????????++????????' 12m??e?A*e?@("$-3	<
Z)??Z??&
??&=	*+???'	??	s(?&j
???;??eL+?j??+?n?JM,???Q??N-?j?-?n?:???;???ߧ???L;??_b	_bE'*L
12-/ sc!"X#(:5@B-CLDTEVFYH\I_LbJcKeMiN)?g?Jg ??B0????12	





© 2015 - 2024 Weber Informatics LLC | Privacy Policy