Package org.drasyl.util.protocol
Class NatPmpUtil.ExternalAddressResponseMessage
- java.lang.Object
-
- org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
-
- All Implemented Interfaces:
NatPmpUtil.Message
- Enclosing class:
- NatPmpUtil
public static class NatPmpUtil.ExternalAddressResponseMessage extends Object
-
-
Constructor Summary
Constructors Constructor Description ExternalAddressResponseMessage(NatPmpUtil.ResultCode resultCode, int secondsSinceStartOfEpoch, InetAddress externalAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
InetAddress
getExternalAddress()
NatPmpUtil.ResultCode
getResultCode()
int
getSecondsSinceStartOfEpoch()
int
hashCode()
-
-
-
Constructor Detail
-
ExternalAddressResponseMessage
public ExternalAddressResponseMessage(NatPmpUtil.ResultCode resultCode, int secondsSinceStartOfEpoch, InetAddress externalAddress)
-
-
Method Detail
-
getSecondsSinceStartOfEpoch
public int getSecondsSinceStartOfEpoch()
-
getExternalAddress
public InetAddress getExternalAddress()
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
getResultCode
public NatPmpUtil.ResultCode getResultCode()
-
-