All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface nodeos.FlowDispatcher

public interface FlowDispatcher
A flow dispatcher is an interface that can be used as a generic receiver for packets contained in buffers.

See Also:
Buffer, FlowHandle, SimpleFlowDispatcher

Method Index

 o dispatchBuffer(Buffer, int)
Dispatch a given buffer.

Methods

 o dispatchBuffer
 public abstract Buffer dispatchBuffer(Buffer b,
                                       int offset)
Dispatch a given buffer.

Parameters:
b - buffer to be dispatched.
offset - offset in buffer, ignoring the buffer's start offset.
Returns:
a free buffer to be exchanged with b. Returns null otherwise. If the exchange flags of b is not set, null must be returned.
See Also:
Buffer

All Packages  Class Hierarchy  This Package  Previous  Next  Index