Class PeerIdentityManager.PeerIdentity

  • Enclosing class:
    PeerIdentityManager

    private static class PeerIdentityManager.PeerIdentity
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int hashcode  
      private byte[] id  
      private short port  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private PeerIdentity​(byte[] _id, int local_port)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      protected java.lang.String getString()  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        private final byte[] id
      • port

        private final short port
      • hashcode

        private final int hashcode
    • Constructor Detail

      • PeerIdentity

        private PeerIdentity​(byte[] _id,
                             int local_port)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getString

        protected java.lang.String getString()