|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.interest.InterestMask
public class InterestMask
| Field Summary | |
|---|---|
static byte[] |
DEFAULT_MASK
Define the default mask (byte[]) constant. |
| Constructor Summary | |
|---|---|
InterestMask()
Constructs an instance of this class. |
|
InterestMask(byte[] patternMask,
byte[] careMask)
Method InterestMask. |
|
InterestMask(int offset,
int length,
byte[] patternMask)
Constructs an instance of this class from the specified offset, length and pattern mask parameters. |
|
| Method Summary | |
|---|---|
byte[] |
getCareMask()
Method getCareMask. |
byte[] |
getPatternMask()
Method getPatternMask. |
boolean |
isInterested(byte[] bytes)
Is interested with the specified bytes parameter and return the boolean result. |
boolean |
isInterested(MessageService message)
Method isInterested. |
void |
setCareMask(byte[] careMask)
Sets the careMask. |
void |
setPatternMask(byte[] patternMask)
Sets the patternMask. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte[] DEFAULT_MASK
| Constructor Detail |
|---|
public InterestMask()
InterestMask(byte[],byte[]),
InterestMask(int,int,byte[])
public InterestMask(byte[] patternMask,
byte[] careMask)
byte[]) parameter.
The care mask (byte[]) parameter.
patternMask - The pattern mask (byte[]) parameter.careMask - The care mask (byte[]) parameter.InterestMask(),
InterestMask(int,int,byte[])
public InterestMask(int offset,
int length,
byte[] patternMask)
offset - The offset (int) parameter.length - The length (int) parameter.patternMask - The pattern mask (byte[]) parameter.InterestMask(),
InterestMask(byte[],byte[])| Method Detail |
|---|
public byte[] getCareMask()
InterestService
getCareMask in interface InterestServicebyte[]) value.InterestService.getCareMask(),
setCareMask(byte[])public byte[] getPatternMask()
InterestService
getPatternMask in interface InterestServicebyte[]) value.InterestService.getPatternMask(),
setPatternMask(byte[])public boolean isInterested(MessageService message)
InterestService
isInterested in interface InterestServicemessage - The message (MessageService) parameter.
boolean) value.The message (MessageService) parameter.,
isInterested(byte[])public boolean isInterested(byte[] bytes)
byte[]) parameter.
isInterested in interface InterestServicebytes - The bytes (byte[]) parameter.
boolean) value.isInterested(MessageService)public void setCareMask(byte[] careMask)
careMask - The care mask (byte[]) parameter.getCareMask()public void setPatternMask(byte[] patternMask)
patternMask - The pattern mask (byte[]) parameter.getPatternMask()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||