StreamLink.NET  7.1.6-7.1.6-3952-ee12172
 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. More...
 

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 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.
  • Parameters
    sizeThe number of elements in the container window.
void Caplin.StreamLink.ISubscription.Unsubscribe ( )

Unsubscribes to the subject on the Liberator.

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 Tue Apr 28 2020 06:25:30 for StreamLink.NET