Class FramePipes.Out2In
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.io.FramePipes.Out2In
-
- All Implemented Interfaces:
OutgoingFrames
- Enclosing class:
- FramePipes
private static class FramePipes.Out2In extends java.lang.Object implements OutgoingFrames
-
-
Field Summary
Fields Modifier and Type Field Description private IncomingFramesincoming
-
Constructor Summary
Constructors Constructor Description Out2In(IncomingFrames incoming)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidoutgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)A frame, and optional callback, intended for the network layer.
-
-
-
Field Detail
-
incoming
private IncomingFrames incoming
-
-
Constructor Detail
-
Out2In
public Out2In(IncomingFrames incoming)
-
-
Method Detail
-
outgoingFrame
public void outgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
Description copied from interface:OutgoingFramesA frame, and optional callback, intended for the network layer.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.
- Specified by:
outgoingFramein interfaceOutgoingFrames- Parameters:
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.
-
-