StreamLink.NET  6.2.10-3513-c11dd52
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Properties | List of all members
Caplin.StreamLink.ISubscription Interface Reference

Represents a subscription to a subject on the Liberator. More...

Public Member Functions

void SetContainerWindow (int start, int size)
 Sets the container window for this subscription. More...
 
void Unsubscribe ()
 Unsubscribes to the subject on the Liberator.
 

Properties

string Subject [get]
 Returns the subject name to which the subscription relates (for example, /FX/EURUSD). More...
 
Caplin.StreamLink.ISubscriptionListener SubscriptionListener [get]
 Returns the ISubscriptionListener that is informed of all subscription events relating to this subscription. More...
 

Detailed Description

Represents a subscription to a subject on the Liberator.

Member Function Documentation

void Caplin.StreamLink.ISubscription.SetContainerWindow ( int  start,
int  size 
)

Sets the container window for this subscription.

If the subject type of this subscription is not a container then this method will throw an exception.

Note: A container element is referred to by its index within the container. The first element of a container has index 0 (zero).

Parameters
startThe index of the container element that is at the start of the container window.
sizeThe number of elements in the container window.

Property Documentation

string Caplin.StreamLink.ISubscription.Subject
get

Returns the subject name to which the subscription relates (for example, /FX/EURUSD).

The subject of this subscription.

Caplin.StreamLink.ISubscriptionListener Caplin.StreamLink.ISubscription.SubscriptionListener
get

Returns the ISubscriptionListener that is informed of all subscription events relating to this subscription.

The subscription listener.


Generated on Thu Apr 27 2017 14:05:45 for StreamLink.NET