Class SSDPCore
java.lang.Object
com.biglybt.net.upnp.impl.ssdp.SSDPCore
- All Implemented Interfaces:
MCGroupAdapter, UPnPSSDP
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final UPnPSSDPAdapterprivate static AEMonitorprivate final SSDPCoreImplprivate final SSDPCoreImplprivate final List<SSDPCoreImpl> private static MapFields inherited from interface UPnPSSDP
SSDP_GROUP_ADDRESS, SSDP_GROUP_ADDRESS_V4, SSDP_GROUP_ADDRESS_V6, SSDP_GROUP_PORT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSSDPCore(SSDPCoreImpl _core_v4, SSDPCoreImpl _core_v6, UPnPSSDPAdapter _adapter) -
Method Summary
Modifier and TypeMethodDescriptionvoidintgetControlPort(boolean v4) static SSDPCoregetSingleton(UPnPSSDPAdapter adapter, String group_address_v4, String group_address_v6, int group_port, String[] selected_interfaces) voidinterfaceChanged(NetworkInterface network_interface) voidvoidvoidvoidreceived(NetworkInterface network_interface, InetAddress local_address, InetSocketAddress originator, byte[] data, int length) voidvoidvoidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface UPnPSSDP
getControlPort
-
Field Details
-
singletons
-
class_mon
-
adapter
-
core_v4
-
core_v6
-
cores
-
-
Constructor Details
-
SSDPCore
-
-
Method Details
-
getSingleton
public static SSDPCore getSingleton(UPnPSSDPAdapter adapter, String group_address_v4, String group_address_v6, int group_port, String[] selected_interfaces) throws UPnPException - Throws:
UPnPException
-
getControlPort
public int getControlPort(boolean v4) - Specified by:
getControlPortin interfaceUPnPSSDP
-
search
-
notify
-
addListener
- Specified by:
addListenerin interfaceUPnPSSDP
-
removeListener
- Specified by:
removeListenerin interfaceUPnPSSDP
-
received
public void received(NetworkInterface network_interface, InetAddress local_address, InetSocketAddress originator, byte[] data, int length) - Specified by:
receivedin interfaceMCGroupAdapter
-
interfaceChanged
- Specified by:
interfaceChangedin interfaceMCGroupAdapter
-
trace
- Specified by:
tracein interfaceMCGroupAdapter
-
log
- Specified by:
login interfaceMCGroupAdapter
-
log
- Specified by:
login interfaceMCGroupAdapter
-