Class NettyClient


  • @ThreadSafe
    public final class NettyClient
    extends java.lang.Object
    Shared configuration and methods for the Netty client.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.netty.bootstrap.Bootstrap createClientBootstrap​(java.net.SocketAddress address)
      Creates and returns a new Netty client bootstrap for clients to connect to remote servers.
      • Methods inherited from class java.lang.Object

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

      • createClientBootstrap

        public static io.netty.bootstrap.Bootstrap createClientBootstrap​(java.net.SocketAddress address)
        Creates and returns a new Netty client bootstrap for clients to connect to remote servers.
        Parameters:
        address - the socket address
        Returns:
        the new client Bootstrap