Class SSDPIGDImpl
java.lang.Object
com.biglybt.net.upnp.impl.ssdp.SSDPIGDImpl
- All Implemented Interfaces:
SSDPIGD, UPnPSSDPListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate longprivate CopyOnWriteList<SSDPIGDListener> private String[]private SSDPCoreprotected AEMonitorprivate final UPnPImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected boolean[]bytesToBits(byte[] bytes) private voiddeviceStatusUpdate(InetAddress originator, boolean alive) protected voidprotected voidgotRoot(NetworkInterface network_interface, InetAddress local_address, String usn, URL location) voidinterfaceChanged(NetworkInterface network_interface) protected voidlostRoot(InetAddress local_address, String usn) protected voidvoidreceivedNotify(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String usn, URL location, String nt, String nts) voidreceivedResult(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) voidprotected voidsearch()voidvoidvoidstart()
-
Field Details
-
upnp
-
ssdp_core
-
selected_interfaces
-
first_result
private boolean first_result -
last_explicit_search
private long last_explicit_search -
listeners
-
this_mon
-
-
Constructor Details
-
SSDPIGDImpl
- Throws:
UPnPException
-
-
Method Details
-
start
- Specified by:
startin interfaceSSDPIGD- Throws:
UPnPException
-
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:
receivedResultin interfaceUPnPSSDPListener
-
receivedNotify
public void receivedNotify(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String usn, URL location, String nt, String nts) - Specified by:
receivedNotifyin interfaceUPnPSSDPListener
-
receivedSearch
public String[] receivedSearch(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String ST) - Specified by:
receivedSearchin interfaceUPnPSSDPListener
-
bytesToBits
protected boolean[] bytesToBits(byte[] bytes) -
gotRoot
protected void gotRoot(NetworkInterface network_interface, InetAddress local_address, String usn, URL location) -
gotAlive
-
lostRoot
-
deviceStatusUpdate
-
interfaceChanged
- Specified by:
interfaceChangedin interfaceUPnPSSDPListener
-
addListener
- Specified by:
addListenerin interfaceSSDPIGD
-
removeListener
- Specified by:
removeListenerin interfaceSSDPIGD
-