Interface ISubscriber


public interface ISubscriber
This represents the Thing (usually a principal) interested in events.
  • 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

      void setID(IThingID id)
      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

      IThingIDList getSubscriptions() throws MetaException
      Collection of ISubscription Things for this particular subscriber.
      Throws:
      MetaException