Package com.biglybt.net.natpmp.upnp.impl
Class NatPMPUPnPRootDeviceImpl
- java.lang.Object
-
- com.biglybt.net.natpmp.upnp.impl.NatPMPUPnPRootDeviceImpl
-
- All Implemented Interfaces:
UPnPRootDevice
public class NatPMPUPnPRootDeviceImpl extends java.lang.Object implements UPnPRootDevice
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
NatPMPUPnPRootDeviceImpl.NatPMPUPnPDevice
protected class
NatPMPUPnPRootDeviceImpl.NatPMPUPnPWANConnection
-
Field Summary
Fields Modifier and Type Field Description private UPnPDevice
device
private java.net.URL
location
private NatPMPDevice
nat_device
private UPnPService[]
services
private ThreadPool
thread_pool
private UPnP
upnp
private java.lang.String
USN
-
Constructor Summary
Constructors Constructor Description NatPMPUPnPRootDeviceImpl(UPnP _upnp, NatPMPDevice _nat_device)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(UPnPRootDeviceListener l)
UPnPDevice
getDevice()
java.util.Map
getDiscoveryCache()
java.lang.String
getInfo()
java.net.InetAddress
getLocalAddress()
java.net.URL
getLocation()
java.net.NetworkInterface
getNetworkInterface()
UPnP
getUPnP()
java.lang.String
getUSN()
boolean
isDestroyed()
void
removeListener(UPnPRootDeviceListener l)
-
-
-
Field Detail
-
upnp
private UPnP upnp
-
nat_device
private NatPMPDevice nat_device
-
USN
private java.lang.String USN
-
location
private java.net.URL location
-
device
private UPnPDevice device
-
services
private UPnPService[] services
-
thread_pool
private ThreadPool thread_pool
-
-
Constructor Detail
-
NatPMPUPnPRootDeviceImpl
public NatPMPUPnPRootDeviceImpl(UPnP _upnp, NatPMPDevice _nat_device) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
getUPnP
public UPnP getUPnP()
- Specified by:
getUPnP
in interfaceUPnPRootDevice
-
getUSN
public java.lang.String getUSN()
- Specified by:
getUSN
in interfaceUPnPRootDevice
-
getLocation
public java.net.URL getLocation()
- Specified by:
getLocation
in interfaceUPnPRootDevice
-
getLocalAddress
public java.net.InetAddress getLocalAddress()
- Specified by:
getLocalAddress
in interfaceUPnPRootDevice
-
getNetworkInterface
public java.net.NetworkInterface getNetworkInterface()
- Specified by:
getNetworkInterface
in interfaceUPnPRootDevice
-
getInfo
public java.lang.String getInfo()
- Specified by:
getInfo
in interfaceUPnPRootDevice
-
getDevice
public UPnPDevice getDevice()
- Specified by:
getDevice
in interfaceUPnPRootDevice
-
isDestroyed
public boolean isDestroyed()
- Specified by:
isDestroyed
in interfaceUPnPRootDevice
-
getDiscoveryCache
public java.util.Map getDiscoveryCache()
- Specified by:
getDiscoveryCache
in interfaceUPnPRootDevice
-
addListener
public void addListener(UPnPRootDeviceListener l)
- Specified by:
addListener
in interfaceUPnPRootDevice
-
removeListener
public void removeListener(UPnPRootDeviceListener l)
- Specified by:
removeListener
in interfaceUPnPRootDevice
-
-