Interface ISubscriber
public interface ISubscriber
This represents the Thing (usually a principal) interested in events.
-
Method Summary
Modifier and TypeMethodDescriptionint
Get type of delivery mode.getID()
get the subscriber IThingIDCollection of ISubscription Things for this particular subscriber.void
setDeliveryModes
(int modes) void
Set Thing ID for who is listening via the containing subscription.
-
Method Details
-
setDeliveryModes
void setDeliveryModes(int modes) - Parameters:
int
- This is an OR'ed result if more than more mode specified e.g. ISubscription.EMAIL_DELIVERY | ISubsription.PORTAL_DELIVERY
-
getDeliveryModes
int getDeliveryModes()Get type of delivery mode.- Returns:
- mode(s)
-
setID
Set Thing ID for who is listening via the containing subscription.- Parameters:
id
- Thing ID for the subscriber
-
getID
IThingID getID()get the subscriber IThingID- Returns:
- IThingID
-
getSubscriptions
Collection of ISubscription Things for this particular subscriber.- Throws:
MetaException
-