StreamLink.NET
6.2.10-3513-c11dd52
|
Defines the parameters used for Record subscriptions. More...
Public Member Functions | |
Caplin.StreamLink.IRecordSubscriptionParameters | SetFields (IList< string > fields) |
Sets the record fields that will be requested when a subscription is made using these parameters. More... | |
Caplin.StreamLink.IRecordSubscriptionParameters | SetFilter (string filter, bool isImage) |
Sets the filter that restricts the the information returned by the subscription. The filtering is performed by the Liberator, rather than the client, so that bandwidth and client side processing are reduced. More... | |
Defines the parameters used for Record subscriptions.
To create an instance of RecordSubscriptionParameters, use the IStreamLink.CreateRecordSubscriptionParameters method.
Caplin.StreamLink.IRecordSubscriptionParameters Caplin.StreamLink.IRecordSubscriptionParameters.SetFields | ( | IList< string > | fields | ) |
Sets the record fields that will be requested when a subscription is made using these parameters.
If no fields are defined, then your ISubscriptionListener receives all fields that are available for the subject.
fields | The record fields to be requested. |
Caplin.StreamLink.IRecordSubscriptionParameters Caplin.StreamLink.IRecordSubscriptionParameters.SetFilter | ( | string | filter, |
bool | isImage | ||
) |
Sets the filter that restricts the the information returned by the subscription. The filtering is performed by the Liberator, rather than the client, so that bandwidth and client side processing are reduced.
For more details on the format of the filter string, please see the StreamLink Overview document.
filter | The filter string. |
isImage | true if the filter string should only be applied to the initial record data (image) supplied in response to the subscription request, false if the filter string should be applied to the initial record and every subsequent update. |