Class ProxyConnection

    • Field Detail

      • LOG

        protected static final Logger LOG
    • Constructor Detail

      • ProxyConnection

        protected ProxyConnection​(EndPoint endp,
                                  java.util.concurrent.Executor executor,
                                  ByteBufferPool bufferPool,
                                  java.util.concurrent.ConcurrentMap<java.lang.String,​java.lang.Object> context)
    • Method Detail

      • getContext

        public java.util.concurrent.ConcurrentMap<java.lang.String,​java.lang.Object> getContext()
      • getConnection

        public Connection getConnection()
      • setConnection

        public void setConnection​(Connection connection)
      • read

        protected abstract int read​(EndPoint endPoint,
                                    java.nio.ByteBuffer buffer)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        protected abstract void write​(EndPoint endPoint,
                                      java.nio.ByteBuffer buffer,
                                      Callback callback)