Class PcpPortUtil.MappingResponseMessage

    • Constructor Detail

      • MappingResponseMessage

        public MappingResponseMessage​(PcpPortUtil.ResultCode resultCode,
                                      long lifetime,
                                      long epochTime,
                                      byte[] mappingNonce,
                                      int protocol,
                                      int internalPort,
                                      int externalSuggestedPort,
                                      InetAddress externalSuggestedAddress)
    • Method Detail

      • getLifetime

        public long getLifetime()
      • getEpochTime

        public long getEpochTime()
      • getMappingNonce

        public byte[] getMappingNonce()
      • getProtocol

        public int getProtocol()
      • getInternalPort

        public int getInternalPort()
      • getExternalSuggestedPort

        public int getExternalSuggestedPort()
      • getExternalSuggestedAddress

        public InetAddress getExternalSuggestedAddress()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object