Class Peer


  • public class Peer
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Peer​(java.lang.String host, int port)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)  
      java.lang.String getHost()  
      int getPort()  
      void setHost​(java.lang.String host)  
      void setPort​(int port)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Peer

        public Peer​(java.lang.String host,
                    int port)
    • Method Detail

      • getHost

        public java.lang.String getHost()
      • setHost

        public void setHost​(java.lang.String host)
      • getPort

        public int getPort()
      • setPort

        public void setPort​(int port)
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object