Class Connector<T extends Client<Connection<T>>>


  • public class Connector<T extends Client<Connection<T>>>
    extends java.lang.Object
    • Constructor Detail

      • Connector

        public Connector()
    • Method Detail

      • bufferDefaultSize

        public Connector<T> bufferDefaultSize​(int bufferSize)
      • bufferMinSize

        public Connector<T> bufferMinSize​(int bufferSize)
      • bufferMediumSize

        public Connector<T> bufferMediumSize​(int bufferSize)
      • bufferLargeSize

        public Connector<T> bufferLargeSize​(int bufferSize)
      • bufferPoolSize

        public Connector<T> bufferPoolSize​(int bufferPoolSize)
      • bufferMinPoolSize

        public Connector<T> bufferMinPoolSize​(int bufferPoolSize)
      • bufferMediumPoolSize

        public Connector<T> bufferMediumPoolSize​(int bufferPoolSize)
      • bufferLargePoolSize

        public Connector<T> bufferLargePoolSize​(int bufferPoolSize)
      • byteOrder

        public Connector<T> byteOrder​(java.nio.ByteOrder order)
      • connect

        public T connect​(java.lang.String host,
                         int port)
                  throws java.io.IOException,
                         java.util.concurrent.ExecutionException,
                         java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • connect

        public T connect​(java.net.InetSocketAddress socketAddress)
                  throws java.io.IOException,
                         java.util.concurrent.ExecutionException,
                         java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException