Package | Description |
---|---|
net.tomp2p.upnp |
Modifier and Type | Method and Description |
---|---|
boolean |
InternetGatewayDevice.addPortMapping(String description,
String protocol,
String internalHost,
int externalPort,
int internalPort) |
boolean |
InternetGatewayDevice.addPortMapping(String description,
String protocol,
String remoteHost,
int externalPort,
String internalClient,
int internalPort,
int leaseDuration)
Configures a nat entry on the UPNP device.
|
boolean |
InternetGatewayDevice.deletePortMapping(String remoteHost,
int externalPort,
String protocol)
Deletes a port mapping on the IDG device
|
String |
InternetGatewayDevice.getExternalIPAddress()
Retrieves the external IP address
|
ActionResponse |
InternetGatewayDevice.getGenericPortMappingEntry(int newPortMappingIndex)
Retrieves a generic port mapping entry.
|
Integer |
InternetGatewayDevice.getNatMappingsCount()
Retrieves the current number of mapping in the NAT table
|
ActionResponse |
InternetGatewayDevice.getSpecificPortMappingEntry(String remoteHost,
int externalPort,
String protocol)
Retrieves information about a specific port mapping
|
String |
StateVariable.getValue()
Call to the UPNP device to retrieve the state variable actual value
|
ActionResponse |
ActionMessage.service()
Executes the message and retuns the UPNP device response, according to
the UPNP specs, this method could take up to 30 secs to process ( time
allowed for a device to respond to a request )
|
StateVariableResponse |
StateVariableMessage.service()
Executes the state variable query and returns the UPNP device response,
according to the UPNP specs, this method could take up to 30 secs to
process ( time allowed for a device to respond to a request )
|
Copyright © 2013. All Rights Reserved.