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.
-
CheckOneByteFlowHandle(byte, String)
- Class constructor.
-
checkBuffer(Buffer, int)
- Check whether that buffer belongs to that flow.
CheckOneByteFlowHandle
public CheckOneByteFlowHandle(byte id,
String name)
- Class constructor.
- Parameters:
- id - identification byte.
- name - human-readable name.
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