public class FrameFlusher extends IteratingCallback
Callback.Completable, Callback.NestedInvocable.InvocationType, Invocable.NonBlockingIteratingCallback.Action| Modifier and Type | Field | Description |
|---|---|---|
static BinaryFrame |
FLUSH_FRAME |
__nonBlocking| Constructor | Description |
|---|---|
FrameFlusher(ByteBufferPool bufferPool,
Generator generator,
EndPoint endPoint,
int bufferSize,
int maxGather) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
enqueue(Frame frame,
WriteCallback callback,
BatchMode batchMode) |
|
protected void |
notifyCallbackFailure(WriteCallback callback,
java.lang.Throwable failure) |
|
protected void |
notifyCallbackSuccess(WriteCallback callback) |
|
void |
onCompleteFailure(java.lang.Throwable failure) |
|
protected IteratingCallback.Action |
process() |
|
void |
succeeded() |
|
java.lang.String |
toString() |
asPreferred, getInvocationType, getInvocationType, invokeNonBlocking, invokePreferNonBlocking, invokePreferred, isNonBlockingInvocationclose, failed, isClosed, isFailed, isSucceeded, iterate, onCompleteSuccess, resetpublic static final BinaryFrame FLUSH_FRAME
public FrameFlusher(ByteBufferPool bufferPool, Generator generator, EndPoint endPoint, int bufferSize, int maxGather)
public void enqueue(Frame frame, WriteCallback callback, BatchMode batchMode)
protected IteratingCallback.Action process() throws java.lang.Throwable
process in class IteratingCallbackjava.lang.Throwablepublic void succeeded()
succeeded in interface Callbacksucceeded in class IteratingCallbackpublic void onCompleteFailure(java.lang.Throwable failure)
onCompleteFailure in class IteratingCallbackprotected void notifyCallbackSuccess(WriteCallback callback)
protected void notifyCallbackFailure(WriteCallback callback, java.lang.Throwable failure)
public java.lang.String toString()
toString in class IteratingCallbackCopyright © 1995–2017 Webtide. All rights reserved.