Package com.biglybt.net.natpmp.upnp.impl
Class NatPMPUPnPImpl
java.lang.Object
com.biglybt.net.natpmp.upnp.impl.NatPMPUPnPImpl
- All Implemented Interfaces:
NatPMPUPnP
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private List
private NatPMPDevice
private NatPMPUPnPRootDeviceImpl
private boolean
private UPnP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(UPnPListener listener) boolean
void
removeListener
(UPnPListener listener) protected void
search()
void
setEnabled
(boolean _enabled) protected void
start()
-
Field Details
-
upnp
-
nat_device
-
root_device
-
listeners
-
enabled
private boolean enabled -
started
private boolean started
-
-
Constructor Details
-
NatPMPUPnPImpl
-
-
Method Details
-
start
protected void start() -
setEnabled
public void setEnabled(boolean _enabled) - Specified by:
setEnabled
in interfaceNatPMPUPnP
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceNatPMPUPnP
-
search
protected void search() -
addListener
- Specified by:
addListener
in interfaceNatPMPUPnP
-
removeListener
- Specified by:
removeListener
in interfaceNatPMPUPnP
-