Package com.biglybt.net.upnp.impl.device
Class UPnPRootDeviceImpl
java.lang.Object
com.biglybt.net.upnp.impl.device.UPnPRootDeviceImpl
- All Implemented Interfaces:
UPnPRootDevice
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean[]static final String[]private booleanprivate Stringprivate Listprivate final InetAddressprivate final URLprivate final NetworkInterfaceprivate booleanprivate UPnPDeviceImplstatic final String[]private URLprivate final UPnPImplprivate URLprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionUPnPRootDeviceImpl(UPnPImpl _upnp, NetworkInterface _network_interface, InetAddress _local_address, String _usn, URL _location) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddAlternativeLocation(URL alt_location) voidprotected voidvoiddestroy(boolean replaced) protected StringgetAbsoluteURL(String url) getInfo()getUPnP()getUSN()protected booleanisBadVersion(String current, String bad) booleanvoidportMappingResult(boolean ok) voidprotected void
-
Field Details
-
ROUTERS
-
BAD_ROUTER_VERSIONS
-
BAD_ROUTER_REPORT_FAIL
public static final boolean[] BAD_ROUTER_REPORT_FAIL -
upnp
-
network_interface
-
local_address
-
usn
-
location
-
alt_locations
-
url_base_for_relative_urls
-
saved_url_base_for_relative_urls
-
info
-
root_device
-
port_mapping_result_received
private boolean port_mapping_result_received -
destroyed
private boolean destroyed -
listeners
-
-
Constructor Details
-
UPnPRootDeviceImpl
public UPnPRootDeviceImpl(UPnPImpl _upnp, NetworkInterface _network_interface, InetAddress _local_address, String _usn, URL _location) throws UPnPException - Throws:
UPnPException
-
-
Method Details
-
getDiscoveryCache
- Specified by:
getDiscoveryCachein interfaceUPnPRootDevice
-
portMappingResult
public void portMappingResult(boolean ok) -
getInfo
- Specified by:
getInfoin interfaceUPnPRootDevice
-
getAbsoluteURL
-
clearRelativeBaseURL
protected void clearRelativeBaseURL() -
restoreRelativeBaseURL
protected void restoreRelativeBaseURL() -
getUPnP
- Specified by:
getUPnPin interfaceUPnPRootDevice
-
getNetworkInterface
- Specified by:
getNetworkInterfacein interfaceUPnPRootDevice
-
getLocalAddress
- Specified by:
getLocalAddressin interfaceUPnPRootDevice
-
getUSN
- Specified by:
getUSNin interfaceUPnPRootDevice
-
getLocation
- Specified by:
getLocationin interfaceUPnPRootDevice
-
addAlternativeLocation
-
getAlternativeLocations
-
getDevice
- Specified by:
getDevicein interfaceUPnPRootDevice
-
destroy
public void destroy(boolean replaced) -
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyedin interfaceUPnPRootDevice
-
addListener
- Specified by:
addListenerin interfaceUPnPRootDevice
-
removeListener
- Specified by:
removeListenerin interfaceUPnPRootDevice
-
isBadVersion
-