All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.nodeos.pj_DemultiplexKey.KeySegment | +----edu.utah.janos.nodeos.pj_DemultiplexKey.ByteMask
Summary |
protected static class pj_DemultiplexKey.ByteMask extends edu.utah.janos.nodeos.pj_DemultiplexKey.KeySegment { // Fields 3 public final int length; public final boolean[] mask; public final 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 final int length
Number of bytes to match
· sequence | Summary | Top |
public final byte[] sequence
The actual bytes to match
· mask | Summary | Top |
public final 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 pj_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