public class FrameFlusher
extends java.lang.Object
EndPoint.write(org.eclipse.jetty.util.Callback, ByteBuffer...)
Modifier and Type | Field | Description |
---|---|---|
static BinaryFrame |
FLUSH_FRAME |
Constructor | Description |
---|---|
FrameFlusher(org.eclipse.jetty.io.ByteBufferPool bufferPool,
Generator generator,
org.eclipse.jetty.io.EndPoint endpoint,
int bufferSize,
int maxGather) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
void |
enqueue(Frame frame,
WriteCallback callback,
BatchMode batchMode) |
|
protected void |
notifyCallbackFailure(WriteCallback callback,
java.lang.Throwable failure) |
|
protected void |
notifyCallbackSuccess(WriteCallback callback) |
|
protected void |
onFailure(java.lang.Throwable x) |
|
java.lang.String |
toString() |
public static final BinaryFrame FLUSH_FRAME
public FrameFlusher(org.eclipse.jetty.io.ByteBufferPool bufferPool, Generator generator, org.eclipse.jetty.io.EndPoint endpoint, int bufferSize, int maxGather)
public void close()
public void enqueue(Frame frame, WriteCallback callback, BatchMode batchMode)
protected void notifyCallbackFailure(WriteCallback callback, java.lang.Throwable failure)
protected void notifyCallbackSuccess(WriteCallback callback)
protected void onFailure(java.lang.Throwable x)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1995–2018 Webtide. All rights reserved.