Package org.drasyl.util.protocol
Class NatPmpUtil.MappingUdpResponseMessage
java.lang.Object
org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- All Implemented Interfaces:
NatPmpUtil.Message
- Enclosing class:
- NatPmpUtil
-
Constructor Summary
ConstructorDescriptionMappingUdpResponseMessage
(NatPmpUtil.ResultCode resultCode, int secondsSinceStartOfEpoch, int internalPort, int externalPort, long lifetime) -
Method Summary
-
Constructor Details
-
MappingUdpResponseMessage
public MappingUdpResponseMessage(NatPmpUtil.ResultCode resultCode, int secondsSinceStartOfEpoch, int internalPort, int externalPort, long lifetime)
-
-
Method Details
-
getSecondsSinceStartOfEpoch
public int getSecondsSinceStartOfEpoch() -
getInternalPort
public int getInternalPort() -
getExternalPort
public int getExternalPort() -
getLifetime
public long getLifetime() -
equals
-
hashCode
public int hashCode() -
getResultCode
-