Package com.biglybt.net.upnp.impl.ssdp
Class SSDPIGDImpl
java.lang.Object
com.biglybt.net.upnp.impl.ssdp.SSDPIGDImpl
- All Implemented Interfaces:
SSDPIGD
,UPnPSSDPListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected boolean[]
bytesToBits
(byte[] bytes) getSSDP()
protected void
protected void
gotRoot
(NetworkInterface network_interface, InetAddress local_address, String usn, URL location) void
interfaceChanged
(NetworkInterface network_interface) protected void
lostRoot
(InetAddress local_address, String usn) protected void
void
receivedNotify
(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String usn, URL location, String nt, String nts) void
receivedResult
(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String usn, URL location, String st, String al) String[]
receivedSearch
(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String ST) void
protected void
search()
void
void
void
start()
-
Field Details
-
upnp
-
ssdp_core
-
first_result
private boolean first_result -
last_explicit_search
private long last_explicit_search -
listeners
-
this_mon
-
-
Constructor Details
-
SSDPIGDImpl
- Throws:
UPnPException
-
-
Method Details
-
getSSDP
-
start
- Specified by:
start
in interfaceSSDPIGD
- Throws:
UPnPException
-
searchNow
public void searchNow() -
searchNow
-
queryLoop
protected void queryLoop() -
search
protected void search() -
receivedResult
public void receivedResult(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String usn, URL location, String st, String al) - Specified by:
receivedResult
in interfaceUPnPSSDPListener
-
receivedNotify
public void receivedNotify(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String usn, URL location, String nt, String nts) - Specified by:
receivedNotify
in interfaceUPnPSSDPListener
-
receivedSearch
public String[] receivedSearch(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String ST) - Specified by:
receivedSearch
in interfaceUPnPSSDPListener
-
bytesToBits
protected boolean[] bytesToBits(byte[] bytes) -
gotRoot
protected void gotRoot(NetworkInterface network_interface, InetAddress local_address, String usn, URL location) -
gotAlive
-
lostRoot
-
interfaceChanged
- Specified by:
interfaceChanged
in interfaceUPnPSSDPListener
-
addListener
- Specified by:
addListener
in interfaceSSDPIGD
-
removeListener
- Specified by:
removeListener
in interfaceSSDPIGD
-