Class SSDPCoreImpl
java.lang.Object
com.biglybt.net.upnp.impl.ssdp.SSDPCoreImpl
- All Implemented Interfaces:
MCGroupAdapter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final UPnPSSDPAdapterprivate booleanprivate final Stringprivate final intprivate static final Stringprivate final booleanprivate List<UPnPSSDPListener> private final MCGroupprivate static final Stringprivate final String[]protected AEMonitorprivate longprivate UTTimer -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSSDPCoreImpl(UPnPSSDPAdapter _adapter, String _group_address_str, int _group_port, String[] _selected_interfaces) -
Method Summary
Modifier and TypeMethodDescriptionvoidintprotected Stringprotected voidinformNotify(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String usn, URL location, String nt, String nts) protected voidinformResult(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String usn, URL location, String st, String al) protected String[]informSearch(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String st) voidinterfaceChanged(NetworkInterface network_interface) private booleanvoidvoidvoidvoidreceived(NetworkInterface network_interface, InetAddress local_address, InetSocketAddress originator, byte[] packet_data, int length) voidvoidprotected voidvoid
-
Field Details
-
HTTP_VERSION
- See Also:
-
NL
- See Also:
-
mc_group
-
ipv6
private final boolean ipv6 -
adapter
-
group_address_str
-
group_port
private final int group_port -
selected_interfaces
-
first_response
private boolean first_response -
listeners
-
timer
-
timer_queue
-
time_event_next
private long time_event_next -
this_mon
-
ignore_mx
-
-
Constructor Details
-
SSDPCoreImpl
protected SSDPCoreImpl(UPnPSSDPAdapter _adapter, String _group_address_str, int _group_port, String[] _selected_interfaces) throws UPnPException - Throws:
UPnPException
-
-
Method Details
-
getControlPort
public int getControlPort() -
trace
- Specified by:
tracein interfaceMCGroupAdapter
-
log
- Specified by:
login interfaceMCGroupAdapter
-
log
- Specified by:
login interfaceMCGroupAdapter
-
interfaceSelected
-
notify
-
getServerName
-
search
-
sendMC
-
interfaceChanged
- Specified by:
interfaceChangedin interfaceMCGroupAdapter
-
received
public void received(NetworkInterface network_interface, InetAddress local_address, InetSocketAddress originator, byte[] packet_data, int length) - Specified by:
receivedin interfaceMCGroupAdapter
-
informResult
protected void informResult(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String usn, URL location, String st, String al) -
informNotify
protected void informNotify(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String usn, URL location, String nt, String nts) -
informSearch
protected String[] informSearch(NetworkInterface network_interface, InetAddress local_address, InetAddress originator, String st) -
addListener
-
removeListener
-