|
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
org.eclipse.soda.dk.interest.InterestMasks
public class InterestMasks
| Field Summary | |
|---|---|
static InterestService[] |
EMPTY_INTEREST_SERVICE_ARRAY
Define the empty interest service array (InterestService[]) constant. |
| Fields inherited from class org.eclipse.soda.dk.interest.InterestMask |
|---|
DEFAULT_MASK |
| Constructor Summary | |
|---|---|
InterestMasks()
Constructor for InterestMasks. |
|
InterestMasks(InterestService interestService)
Constructs an instance of this class from the specified interest service parameter. |
|
InterestMasks(InterestService[] interestServices)
Constructs an instance of this class from the specified interest services parameter. |
|
| Method Summary | |
|---|---|
void |
add(InterestService interestService)
Add with the specified interest service parameter. |
void |
computeMasks()
Compute masks. |
InterestService[] |
getInterestMasks()
Gets the interest masks (InterestService[]) value. |
boolean |
isInterested(byte[] bytes)
Is interested with the specified bytes parameter and return the boolean result. |
boolean |
isInterested(MessageService message)
Is interested with the specified message parameter and return the boolean result. |
void |
remove(InterestService interestService)
Remove with the specified interest service parameter. |
void |
setInterestMasks(InterestService[] interestMasks)
Sets the interest masks value. |
| Methods inherited from class org.eclipse.soda.dk.interest.InterestMask |
|---|
getCareMask, getPatternMask, setCareMask, setPatternMask |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final InterestService[] EMPTY_INTEREST_SERVICE_ARRAY
| Constructor Detail |
|---|
public InterestMasks()
InterestMasks(InterestService),
InterestMasks(InterestService[]),
getInterestMasks(),
setInterestMasks(InterestService[])public InterestMasks(InterestService interestService)
interestService - The interest service (InterestService) parameter.InterestMasks(),
InterestMasks(InterestService[]),
getInterestMasks(),
setInterestMasks(InterestService[])public InterestMasks(InterestService[] interestServices)
interestServices - The interest services (InterestService[]) parameter.InterestMasks(),
InterestMasks(InterestService),
getInterestMasks(),
setInterestMasks(InterestService[])| Method Detail |
|---|
public void add(InterestService interestService)
interestService - The interest service (InterestService) parameter.public void computeMasks()
InterestMasks(),
InterestMasks(InterestService),
InterestMasks(InterestService[]),
getInterestMasks(),
setInterestMasks(InterestService[])public InterestService[] getInterestMasks()
InterestService[]) value.InterestMasks(),
InterestMasks(InterestService),
InterestMasks(InterestService[]),
setInterestMasks(InterestService[])public boolean isInterested(MessageService message)
isInterested in interface InterestServiceisInterested in class InterestMaskmessage - The message (MessageService) parameter.
boolean) value.isInterested(byte[])public boolean isInterested(byte[] bytes)
isInterested in interface InterestServiceisInterested in class InterestMaskbytes - The bytes (byte[]) parameter.
boolean) value.isInterested(MessageService)public void remove(InterestService interestService)
interestService - The interest service (InterestService) parameter.public void setInterestMasks(InterestService[] interestMasks)
interestMasks - The interest masks (InterestService[]) parameter.InterestMasks(),
InterestMasks(InterestService),
InterestMasks(InterestService[]),
getInterestMasks()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||