Represents a subscription to a directory on the Liberator.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public interface IDirectorySubscription : ISubscription
Public Interface IDirectorySubscription _ Implements ISubscription
public interface class IDirectorySubscription : ISubscription
Members
All Members | Methods | Properties | |||
Icon | Member | Description |
---|---|---|
DataStatus |
Identifies if the data for the subscription truely represents the live data for the subject.
(Inherited from ISubscription.) | |
Elements |
Get a list of the elements in the directory.
| |
Parameters |
Gets the parameters used when subscribing to the subject on the Liberator.
(Inherited from ISubscription.) | |
Status |
Gets the status of this subscription.
(Inherited from ISubscription.) | |
Subject |
The name that the subscription will request when subscribed.
(Inherited from ISubscription.) | |
Subscribe()()() |
Subscribes to the Subject on the Liberator.
(Inherited from ISubscription.) | |
SubscriptionListener |
Gets the ISubscriptionListener that is informed of
all subscription events relating to this subscription.
(Inherited from ISubscription.) | |
Type |
Identifies the type of subject the subscription is for.
(Inherited from ISubscription.) | |
Unsubscribe()()() |
Unsubscribes to the Subject on the Liberator.
(Inherited from ISubscription.) |
Remarks
An IDirectorySubscription object should be created using the CreateDirectorySubscription(IDirectorySubscriptionListener, String) methods.
The Directory contains is made up of zero or more subjects (for example, Records). When a directory is requested by the user (for example, /DEMO), an instance of a IDirectorySubscription will be created and whenever a subject is added or removed fromt the directory the IDirectorySubscriptionListener associated with the subscription will be informed.