All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.nodeos.DemultiplexKey.KeySegment | +----edu.utah.janos.nodeos.DemultiplexKey.ByteMask
Summary |
protected static class DemultiplexKey.ByteMask extends edu.utah.janos.nodeos.DemultiplexKey.KeySegment { // Fields 3 public int length; public boolean[] mask; public byte[] sequence; // Constructors 1 public ByteMask(int, int, byte[], boolean[]); // Methods 2 public int match(byte[], int, int); public String toString(); }
A segment that matches a series of bytes.
Fields |
· length | Summary | Top |
public int length
Number of bytes to match
· sequence | Summary | Top |
public byte[] sequence
The actual bytes to match
· mask | Summary | Top |
public boolean[] mask
Bitmask of which bytes to match
Constructors |
· ByteMask | Summary | Top |
public ByteMask(int offset, int length, byte[] sequence, boolean[] mask)
Methods |
· match | Summary | Top |
public int match(byte[] payload, int payloadStart, int payloadLength)
- Overrides:
- match in class DemultiplexKey.KeySegment
· toString | Summary | Top |
public String toString()
- Overrides:
- toString in class Object
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7