| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISubscriptionParameters
Represents the parameters of a subscription for an IEventSource. This
 extends the IAddressable interface and encapsulates the type, domain
 and identity attributes of event sources that would match.
 
The wildcards
can be used for the relevant attribute of the subscription.Instances are compared to each other using their attribute values; a wildcard attribute will only match a wildcard attribute for comparison.
ISubscription| Method Summary | |
|---|---|
 boolean | 
includes(IAddressable other)
Determine if the IAddressable attributes of this parameters
 instance would include those of another. | 
| Methods inherited from interface fulmine.IDestroyable | 
|---|
destroy | 
| Methods inherited from interface fulmine.IAddressable | 
|---|
getAddress, getDomain, getIdentity, getType | 
| Method Detail | 
|---|
boolean includes(IAddressable other)
IAddressable attributes of this parameters
 instance would include those of another. For this instance to include the
 other, each attribute of this instance must be an exact match or a more
 generalised match of corresponding attribute in the other.
 For example, assuming the type and domain are equal, if this instance has the identity regular expression "foo.*" and the other instance has the identity "foo bar", then this instance effectively includes the other (it is more generalised). However, it would not include the other if the other instance has an identity regular expression ".*" as this is now more generalised than this instance.
other - the other IAddressable instance to compare with this
true if the attributes of this instance include
         those of the other
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||