public interface OutgoingFrames
| Modifier and Type | Method and Description |
|---|---|
void |
outgoingFrame(Frame frame,
WriteCallback callback)
A frame, and optional callback, intended for the network.
|
void outgoingFrame(Frame frame, WriteCallback callback)
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.
frame - the frame to eventually write to the network.callback - the optional callback to use for success/failure of the network write operation. Can be null.Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.