com.philips.lighting.hue.sdk.upnp.PHPortalSearchManager.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 ?
7 } ~ 5 5 ? ?
}
5 ?
5 ? ?
}
? ?
?
% ? ?
? ? ?
?
?
? ?
? ? ? ? ?
? ? ?
}
?
? ?
? ?
?
?
?
? ? ?
% } ? ?
? ?
' ? ?
+ ?
+ ?
+ ?
' ? ? 5 ? ?
0 ?
? ? ?
? ? ? TAG Ljava/lang/String;
portalAddress PORTAL_NUPNP
ConstantValue reachabilityTimeout I ()V Code LineNumberTable LocalVariableTable this 9Lcom/philips/lighting/hue/sdk/upnp/PHPortalSearchManager; searchPortal ()Ljava/util/List; e1 Ljava/lang/Exception; accessPoint ,Lcom/philips/lighting/hue/sdk/PHAccessPoint; bridgeId internalIPaddress
jsonObject Lorg/json/hue/JSONObject; i jsonArray Lorg/json/hue/JSONArray; e Lorg/json/hue/JSONException; accessPoints Ljava/util/ArrayList;
jsonString LocalVariableTypeTable CLjava/util/ArrayList;
StackMapTable ? ? ? ? ? ? ? Signature @()Ljava/util/List; getHttpConnection D()Lcom/philips/lighting/hue/sdk/connection/impl/PHHueHttpConnection; setPortalAddress (Ljava/lang/String;)V address getPortalAddress ()Ljava/lang/String; isPortalReachable ()Z Ljava/lang/InterruptedException; dnsRes 0Lcom/philips/lighting/hue/sdk/util/PHDnsChecker; dnsCheckerThread Ljava/lang/Thread; ? ? ? setPortalReachabilityTimeout (I)V timeout getPortalReachabilityTimeout ()I
SourceFile PHPortalSearchManager.java ? @ https://www.meethue.com : 9 = > java/util/ArrayList k l d e java/lang/StringBuilder ? ?
/api/nupnp ? j ? ? java/lang/Exception ? ? y org/json/hue/JSONArray ? g ? ? id ? ? ? internalipaddress : ? ? *com/philips/lighting/hue/sdk/PHAccessPoint ? g ? j ? ? ? ? g ? g ? ? ? ? org/json/hue/JSONException @com/philips/lighting/hue/sdk/connection/impl/PHHueHttpConnection .com/philips/lighting/hue/sdk/util/PHDnsChecker https:// ? ? ? g java/lang/Thread ? ? ? @ ? ? ? ? java/lang/InterruptedException 8 9 isPortalReachable Exception: ? j ? S ? 7com/philips/lighting/hue/sdk/upnp/PHPortalSearchManager ? ? j java/lang/Object java/lang/String org/json/hue/JSONObject append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString getData &(Ljava/lang/String;)Ljava/lang/String; length
optJSONObject (I)Lorg/json/hue/JSONObject; optString replace D(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; setIpAddress trim 7com/philips/lighting/hue/sdk/utilities/impl/PHHueHelper macAddressFromBridgeId
setMacAddress setBridgeId contains (Ljava/lang/Object;)Z add replaceFirst 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; (Ljava/lang/Runnable;)V start join (J)V get ()Ljava/net/InetAddress;
getMessage 1com/philips/lighting/hue/sdk/utilities/impl/PHLog '(Ljava/lang/String;Ljava/lang/String;)V java/lang/Class
getSimpleName ! 5 7 8 9 : 9 ; 9 <