Class Host

  • All Implemented Interfaces:
    IHost

    public final class Host
    extends java.lang.Object
    implements IHost
    • Constructor Summary

      Constructors 
      Constructor Description
      Host​(java.lang.String name, java.lang.Integer port)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      int getPort()  
      • Methods inherited from class java.lang.Object

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

      • Host

        public Host​(java.lang.String name,
                    java.lang.Integer port)
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface IHost
      • getPort

        public int getPort()
        Specified by:
        getPort in interface IHost