public abstract static class HTTP2Flusher.Entry extends Callback.Nested
Callback.Adapter, Callback.Nested, Callback.NonBlocking
Modifier and Type | Field and Description |
---|---|
protected Frame |
frame |
protected IStream |
stream |
Modifier | Constructor and Description |
---|---|
protected |
Entry(Frame frame,
IStream stream,
Callback callback) |
Modifier and Type | Method and Description |
---|---|
int |
dataRemaining() |
void |
failed(Throwable x)
Callback invoked when the operation fails.
|
Throwable |
generate(ByteBufferPool.Lease lease) |
boolean |
isProtocol() |
void |
reset() |
String |
toString() |
isNonBlocking, succeeded
public int dataRemaining()
public Throwable generate(ByteBufferPool.Lease lease)
public void reset()
public void failed(Throwable x)
Callback
Callback invoked when the operation fails.
failed
in interface Callback
failed
in class Callback.Nested
x
- the reason for the operation failurepublic boolean isProtocol()
Copyright © 1995-2016 Webtide. All Rights Reserved.