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

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

????46/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?
Gd
isLoopback?"
J?add(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?
Jjava/lang/Stringequals?
netIfjava/lang/SecurityExceptionjava.net.preferIPv6Addresses
falsejava/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+???0E.1
RS)?:+?]?3*+?aW+?eM,?j?,?n?JN*-?q?Q?U???* +rs:tA:uA-:tX:uX+?	??+?6?9?,?g? .2	v")/?{???+?,
@|})C??GY?HK??eL+?j?Q+?n?JM,???=,???Q??N-?j?)-?n?:,????*?*??W??ԧ??*?]? ??Y??Y?????????????**????????* J12$Ars??A-??@+.??$?+?J?Y?b?e?h?q???,$?Zg?$Jg?"???%0E?})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$??%0E?})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??%0E?})'??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??%0E??)L????*??????L+?ݚ)??Y??Y??߶?*????????????+???J???#??Y??Y????*?????????+???J???QM,?]?#??Y??Y????*?????????,,????????* ???????<?A-????<?@+&	?? ?F?S?s???????,?F?,?6Z0E??)?m?GY?HL*M,?>6? ,2:??+??W????+?]?!??Y??Y?????*?????????++????????* 12m??e?A-e?@+"???$?-?3?<?Z,??Z??&??)?n?GY?HL*M,?>6? ,2:???+??W????+?]?"??Y??Y????*?????????++????????* 12n??f?A-f?@+"$	-3<
[,??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 ??B 3????45	





© 2015 - 2025 Weber Informatics LLC | Privacy Policy