Package com.biglybt.net.upnp.services
Interface UPnPWANConnection
- All Superinterfaces:
UPnPSpecificService
- All Known Subinterfaces:
UPnPWANIPConnection
,UPnPWANPPPConnection
- All Known Implementing Classes:
NatPMPUPnPRootDeviceImpl.NatPMPUPnPWANConnection
,UPnPSSWANConnectionImpl
,UPnPSSWANIPConnectionImpl
,UPnPSSWANPPPConnectionImpl
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(UPnPWANConnectionListener listener) void
addPortMapping
(boolean tcp, int port, String description) adda new port mapping from external port X to port X on local hostvoid
deletePortMapping
(boolean tcp, int port) int
String[]
void
periodicallyRecheckMappings
(boolean on) void
removeListener
(UPnPWANConnectionListener listener) Methods inherited from interface com.biglybt.net.upnp.services.UPnPSpecificService
getGenericService
-
Field Details
-
CAP_UDP_TCP_SAME_PORT
static final int CAP_UDP_TCP_SAME_PORT- See Also:
-
CAP_ALL
static final int CAP_ALL- See Also:
-
-
Method Details
-
getConnectionType
String getConnectionType() -
addPortMapping
adda new port mapping from external port X to port X on local host- Parameters:
tcp
-port
-description
-- Throws:
UPnPException
-
getPortMappings
- Throws:
UPnPException
-
deletePortMapping
- Throws:
UPnPException
-
getStatusInfo
- Throws:
UPnPException
-
periodicallyRecheckMappings
void periodicallyRecheckMappings(boolean on) -
getCapabilities
int getCapabilities() -
getExternalIPAddress
- Throws:
UPnPException
-
addListener
-
removeListener
-