All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class nodeos.CheckOneByteFlowHandle

java.lang.Object
   |
   +----nodeos.Linkable
           |
           +----nodeos.FlowHandle
                   |
                   +----nodeos.CheckOneByteFlowHandle

public class CheckOneByteFlowHandle
extends FlowHandle
A simple flow handle that checks the first byte against a constant with which the handle is constructed.


Constructor Index

 o CheckOneByteFlowHandle(byte, String)
Class constructor.

Method Index

 o checkBuffer(Buffer, int)
Check whether that buffer belongs to that flow.

Constructors

 o CheckOneByteFlowHandle
 public CheckOneByteFlowHandle(byte id,
                               String name)
Class constructor.

Parameters:
id - identification byte.
name - human-readable name.

Methods

 o checkBuffer
 public boolean checkBuffer(Buffer buf,
                            int offset)
Check whether that buffer belongs to that flow.

Overrides:
checkBuffer in class FlowHandle

All Packages  Class Hierarchy  This Package  Previous  Next  Index