Interface Subscription


public interface Subscription
Subscription objects are returned as a result of registering a method subscription.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Used to cancel the subscription.
    Returns the handback parameter used when the subscription was registered.
    Returns the MethodSubscription object used when the subscription was registered.
    Returns the microagent id used when the subscription was registered.
  • Method Details

    • cancel

      void cancel()
      Used to cancel the subscription.
    • getMicroAgentID

      MicroAgentID getMicroAgentID()
      Returns the microagent id used when the subscription was registered.
      Returns:
      the microagent id used when the subscription was registered.
    • getMethodSubscription

      MethodSubscription getMethodSubscription()
      Returns the MethodSubscription object used when the subscription was registered.
      Returns:
      the MethodSubscription object used when the subscription was registered.
    • getHandback

      Object getHandback()
      Returns the handback parameter used when the subscription was registered.
      Returns:
      the handback parameter used when the subscription was registered.