Class SocketAddress

    • Constructor Detail

      • SocketAddress

        public SocketAddress​(io.vertx.core.net.SocketAddress delegate)
    • Method Detail

      • getDelegate

        public io.vertx.core.net.SocketAddress getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • inetSocketAddress

        public static SocketAddress inetSocketAddress​(int port,
                                                      String host)
        Parameters:
        port - the address port
        host - the address host
        Returns:
        the created socket address
      • domainSocketAddress

        public static SocketAddress domainSocketAddress​(String path)
        Parameters:
        path - the address path
        Returns:
        the created socket address
      • host

        public String host()
        Returns:
        the address host or null for a domain socket
      • port

        public int port()
        Returns:
        the address port or -1 for a domain socket
      • path

        public String path()
        Returns:
        the address path or null for a inet socket
      • newInstance

        public static SocketAddress newInstance​(io.vertx.core.net.SocketAddress arg)