Class SocketAddress.Hostname

  • Enclosing class:
    SocketAddress

    public static final class SocketAddress.Hostname
    extends SocketAddress
    A hostname/port on which the peer is listening.
    • Field Detail

      • hostname

        public final Hostname hostname
        The hostname on which the node is listening.
      • port

        public final short port
        The port on which the node is listening.