StreamLink.NET  8.0.3-8.0.3-1239-180a512
 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 Fri Sep 27 2024 10:46:35 for StreamLink.NET