public abstract class Message extends Object
ExternalAddressRequestMessage
,
MapRequestMessage
Modifier and Type | Method and Description |
---|---|
NatPmpException |
getResponseException()
Gets the excpetion associated with the response.
|
ResultCode |
getResultCode()
Gets the result code.
|
Integer |
getSecondsSinceEpoch()
Gets the seconds since epoch as received from the NAT-PMP gateway.
|
public NatPmpException getResponseException()
NatPmpException
associated with the response.public ResultCode getResultCode() throws NatPmpException
NatPmpException
- Thrown when no response has been received or the response
parsing ran into some trouble.public Integer getSecondsSinceEpoch() throws NatPmpException
NatPmpException
- Thrown when no response has been received or the response
parsing ran into some trouble.Copyright © 2013. All Rights Reserved.