The ISubscriptionListener interface allows applications to receive events
raised for an ISubscription.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public interface ISubscriptionListener
Public Interface ISubscriptionListener
public interface class ISubscriptionListener
Members
All Members | Methods | ||||
Remarks
Implement this interface to receive subscription events. You must implement all the callback methods; there is one for each subject type (Record, Pages, News, and so on). Alternatively, you can derive your ISubscriptionListener implementation from the BaseSubscriptionListener class and then override the methods corresponding to the subject types for which you want to handle events.
Thread Safety
The ISubscriptionListener methods are not called on a dedicated worker thread. Therefore, if any of these methods are likely take a relatively long time to execute, they should be coded to run in a separate thread.