Package | Description |
---|---|
net.tomp2p.connection | |
net.tomp2p.natpmp |
Modifier and Type | Method and Description |
---|---|
boolean |
NATUtils.mapPMP(int internalPortUDP,
int internalPortTCP,
int externalPortUDP,
int externalPortTCP)
Maps with the PMP protocol
(http://en.wikipedia.org/wiki/NAT_Port_Mapping_Protocol).
|
Modifier and Type | Method and Description |
---|---|
NatPmpException |
Message.getResponseException()
Gets the excpetion associated with the response.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageResponseInterface.exceptionGenerated(Message message,
NatPmpException ex)
An exception was generated during the message sending process.
|
Modifier and Type | Method and Description |
---|---|
Inet4Address |
ExternalAddressRequestMessage.getExternalAddress()
Gets the NAT-PMP gateway's external address.
|
Integer |
MapRequestMessage.getExternalPort()
Gets the external port that was assigned.
|
Integer |
MapRequestMessage.getPortMappingLifetime()
Gets the assigned port mapping lifetime.
|
ResultCode |
Message.getResultCode()
Gets the result code.
|
Integer |
Message.getSecondsSinceEpoch()
Gets the seconds since epoch as received from the NAT-PMP gateway.
|
Constructor and Description |
---|
NatPmpDevice(InetAddress gateway)
Constructs a new NatPmpDevice.
|
Copyright © 2013. All Rights Reserved.