Class Http2ChannelProxyImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      Http2ChannelProxyImpl​(org.webpieces.nio.api.channels.TCPChannel channel)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<java.lang.Void> close()  
      java.util.concurrent.CompletableFuture<java.lang.Void> connect​(java.net.InetSocketAddress addr, org.webpieces.nio.api.handlers.DataListener listener)  
      java.lang.String toString()  
      java.util.concurrent.CompletableFuture<java.lang.Void> write​(java.nio.ByteBuffer data)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Http2ChannelProxyImpl

        public Http2ChannelProxyImpl​(org.webpieces.nio.api.channels.TCPChannel channel)
    • Method Detail

      • write

        public java.util.concurrent.CompletableFuture<java.lang.Void> write​(java.nio.ByteBuffer data)
        Specified by:
        write in interface Http2ChannelProxy
      • connect

        public java.util.concurrent.CompletableFuture<java.lang.Void> connect​(java.net.InetSocketAddress addr,
                                                                              org.webpieces.nio.api.handlers.DataListener listener)
        Specified by:
        connect in interface Http2ChannelProxy
      • close

        public java.util.concurrent.CompletableFuture<java.lang.Void> close()
        Specified by:
        close in interface Http2ChannelProxy
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object