Class NatPmpUtil.MappingUdpResponseMessage

java.lang.Object
org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
All Implemented Interfaces:
NatPmpUtil.Message
Enclosing class:
NatPmpUtil

public static class NatPmpUtil.MappingUdpResponseMessage extends Object
  • 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

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • getResultCode

      public NatPmpUtil.ResultCode getResultCode()