com.philips.lighting.hue.sdk.upnp.PHUpnpManager.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hue-local Show documentation
Show all versions of hue-local Show documentation
The Philips hue local SDK released via Syncleus for maven.
???? 2 L ? L ? L ? L ?
M ? ?
?
L ?
L ? ?
? ? ? ? ?
? ?
?
?
?
? ?
? ? ?
?
? ? ?
? ? ?
? ? ?
G ?
?
?
?
? ?
? ?
) ? ?
+ ?
+ ? ?
. ? ?
. ? ? ?
. ? ? ? ? ? ?
G ? ?
. ?
? ?
) ?
?
?
?
E ? ? ? ? ? ?
E ? ? ?
G ? ?
L ? ? ? InnerClasses TAG Ljava/lang/String;
ConstantValue
DEFAULT_MX I DEFAULT_TTL DEFAULT_TIMEOUT ? DEFAULT_SSDP_SEARCH_PORT m SSDP_IP STRING_ROOT_DEVICE PORT l input Ljava/net/DatagramPacket; isRunning Z isThreadStopped recv Ljava/util/List; Signature $Ljava/util/List; ()V Code LineNumberTable LocalVariableTable this 1Lcom/philips/lighting/hue/sdk/upnp/PHUpnpManager; startSearch ()Ljava/util/List; e Ljava/lang/InterruptedException; Ljava/lang/Exception;
StackMapTable ? ? &()Ljava/util/List; receive bindPort skt Ljava/net/MulticastSocket; buf [B
Exceptions ? sendMessage -(Ljava/net/InetAddress;IILjava/lang/String;)V src Ljava/net/InetAddress; ttl mx searchTarget adr Ljava/net/InetSocketAddress; packet Ljava/lang/StringBuffer; toSend pk startUpnpSendMessage adrs Ljava/util/Enumeration; intf Ljava/net/NetworkInterface; LocalVariableTypeTable Ljava/util/Enumeration<*>; ? ?
access$000 4(Lcom/philips/lighting/hue/sdk/upnp/PHUpnpManager;)Z x0
access$100 L(Lcom/philips/lighting/hue/sdk/upnp/PHUpnpManager;)Ljava/net/DatagramPacket;
access$200 C(Lcom/philips/lighting/hue/sdk/upnp/PHUpnpManager;)Ljava/util/List;
access$002 5(Lcom/philips/lighting/hue/sdk/upnp/PHUpnpManager;Z)Z x1
access$302
SourceFile PHUpnpManager.java d c e f ` a b c i j java/util/ArrayList y j ? j ? ? ? java/lang/InterruptedException
PHUpnpManager java/lang/StringBuilder InterruptedException: ? ? ? ? ? ? ? r ? Size of Bridge Search Response ? ? ? ? ? ? ? java/lang/Exception ? java/net/MulticastSocket i java/net/InetSocketAddress 0.0.0.0 i 239.255.255.250
java/net/DatagramPacket i 1com/philips/lighting/hue/sdk/upnp/PHUpnpManager$1 i
j java/lang/StringBuffer M-SEARCH * HTTP/1.1
? HOST: : ?
ST: MAN: "ssdp:discover"
MX: @Discovery Request=239.255.255.250:1900multicast address from ip ? :
i j j ? java/net/NetworkInterface java/net/InetAddress java/net/Inet4Address upnp:rootdevice ? ? /com/philips/lighting/hue/sdk/upnp/PHUpnpManager java/lang/Object java/io/IOException java/util/Enumeration java/lang/Thread sleep (J)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; 1com/philips/lighting/hue/sdk/utilities/impl/PHLog '(Ljava/lang/String;Ljava/lang/String;)V java/util/List size ()I (I)Ljava/lang/StringBuilder; d
isLoggable ()Z (Ljava/net/SocketAddress;)V getByName *(Ljava/lang/String;)Ljava/net/InetAddress; (Ljava/net/InetAddress;I)V bind
setTimeToLive (I)V setSoTimeout joinGroup (Ljava/net/InetAddress;)V ([BI)V N(Lcom/philips/lighting/hue/sdk/upnp/PHUpnpManager;Ljava/net/MulticastSocket;)V start ,(Ljava/lang/String;)Ljava/lang/StringBuffer; (I)Ljava/lang/StringBuffer; getHostAddress java/lang/String getBytes ()[B ([BILjava/net/SocketAddress;)V send (Ljava/net/DatagramPacket;)V
disconnect close getNetworkInterfaces ()Ljava/util/Enumeration; hasMoreElements nextElement ()Ljava/lang/Object; getInetAddresses isLoopbackAddress ! L M P Q R S T R U V T R W X T R Y Z T R [ \ Q R ' ] Q R J ^ T R _ ` a b c d c e f g h
i j k P *? *? *? *? Y? ? ? l ! m n o p q k b ?*? *?
? ? L? Y? ? +? ? ? *? *? ? ( ? ???L? Y? ? +? ? ? ???? Y? ? *? ? ? ? ? ? "L? ? ? Y? ? +? ? ? *? ?
6 <