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 Details

    • ExternalAddressResponseMessage

      public ExternalAddressResponseMessage(NatPmpUtil.ResultCode resultCode, int secondsSinceStartOfEpoch, InetAddress externalAddress)
  • Method Details

    • getSecondsSinceStartOfEpoch

      public int getSecondsSinceStartOfEpoch()
    • getExternalAddress

      public InetAddress getExternalAddress()
    • equals

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • getResultCode

      public NatPmpUtil.ResultCode getResultCode()