|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.filter.SimpleFilter
public class SimpleFilter
The SimpleFilter class implements the FilterService interface. Simple filters are filters that contain a byte mask that is all on (a mask of 0xff) for each byte in the mask.
FilterService| Constructor Summary | |
|---|---|
SimpleFilter(int index)
Constructs an instance of this class from the specified index parameter. |
|
SimpleFilter(int index,
int size)
Constructs an SimpleFilter object using the input parameter(s). |
|
| Method Summary | |
|---|---|
boolean |
matches(byte[] bytes0,
byte[] bytes1)
Matches with the specified bytes0 and bytes1 parameters and return the boolean result. |
boolean |
matches(MessageService message0,
MessageService message1)
Perform the matches method and return the boolean result. |
java.lang.String |
toString()
Returns the string value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleFilter(int index)
index - The index (int) parameter.SimpleFilter(int,int)
public SimpleFilter(int index,
int size)
SimpleFilter object using the input parameter(s).
index - Starting byte index to compare parameter.size - Size in bytes to compare parameter.SimpleFilter(int)| Method Detail |
|---|
public boolean matches(MessageService message0,
MessageService message1)
boolean result.
matches in interface FilterServicemessage0 - org.eclipse.soda.dk.message.service.MessageServicemessage1 - org.eclipse.soda.dk.message.service.MessageService
boolean) value.matches(byte[],byte[])
public boolean matches(byte[] bytes0,
byte[] bytes1)
matches in interface FilterServicebytes0 - The bytes0 (byte[]) parameter.bytes1 - The bytes1 (byte[]) parameter.
boolean) value.matches(MessageService,MessageService)public java.lang.String toString()
toString in class java.lang.ObjectString) value.
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||