Package org.webpieces.http2client.impl
Class Layer1Incoming
- java.lang.Object
-
- org.webpieces.http2client.impl.Layer1Incoming
-
- All Implemented Interfaces:
org.webpieces.nio.api.handlers.DataListener
public class Layer1Incoming extends java.lang.Object implements org.webpieces.nio.api.handlers.DataListener
-
-
Constructor Summary
Constructors Constructor Description Layer1Incoming(com.webpieces.http2engine.api.client.Http2ClientEngine layer2, Http2SocketListener socketListener, Http2Socket socket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfailure(org.webpieces.nio.api.channels.Channel channel, java.nio.ByteBuffer data, java.lang.Exception e)voidfarEndClosed(org.webpieces.nio.api.channels.Channel channel)java.util.concurrent.CompletableFuture<java.lang.Void>incomingData(org.webpieces.nio.api.channels.Channel channel, java.nio.ByteBuffer b)com.webpieces.http2.api.streaming.RequestStreamHandleopenStream()java.util.concurrent.CompletableFuture<java.lang.Void>sendInitialFrames()java.util.concurrent.CompletableFuture<java.lang.Void>sendPing()
-
-
-
Constructor Detail
-
Layer1Incoming
public Layer1Incoming(com.webpieces.http2engine.api.client.Http2ClientEngine layer2, Http2SocketListener socketListener, Http2Socket socket)
-
-
Method Detail
-
sendInitialFrames
public java.util.concurrent.CompletableFuture<java.lang.Void> sendInitialFrames()
-
sendPing
public java.util.concurrent.CompletableFuture<java.lang.Void> sendPing()
-
openStream
public com.webpieces.http2.api.streaming.RequestStreamHandle openStream()
-
incomingData
public java.util.concurrent.CompletableFuture<java.lang.Void> incomingData(org.webpieces.nio.api.channels.Channel channel, java.nio.ByteBuffer b)- Specified by:
incomingDatain interfaceorg.webpieces.nio.api.handlers.DataListener
-
farEndClosed
public void farEndClosed(org.webpieces.nio.api.channels.Channel channel)
- Specified by:
farEndClosedin interfaceorg.webpieces.nio.api.handlers.DataListener
-
failure
public void failure(org.webpieces.nio.api.channels.Channel channel, java.nio.ByteBuffer data, java.lang.Exception e)- Specified by:
failurein interfaceorg.webpieces.nio.api.handlers.DataListener
-
-