private static class FramePipes.Out2In extends java.lang.Object implements OutgoingFrames
Modifier and Type | Field and Description |
---|---|
private IncomingFrames |
incoming |
Constructor and Description |
---|
Out2In(IncomingFrames incoming) |
Modifier and Type | Method and Description |
---|---|
void |
outgoingFrame(Frame frame,
WriteCallback callback,
BatchMode batchMode)
A frame, and optional callback, intended for the network layer.
|
private IncomingFrames incoming
public Out2In(IncomingFrames incoming)
public void outgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
OutgoingFrames
Note: the frame can undergo many transformations in the various layers and extensions present in the implementation.
If you are implementing a mutation, you are obliged to handle the incoming WriteCallback appropriately.
outgoingFrame
in interface OutgoingFrames
frame
- the frame to eventually write to the network layer.callback
- the callback to notify when the frame is written.batchMode
- the batch mode requested by the sender.