Lightstreamer macOS Client  1.2.5
Native macOS Client library for Lightstreamer
Class Methods | Properties | List of all members
LSSubscriptionConstraints Class Reference

The LSSubscriptionConstraints class collects the constraints to be applied on the data flow from a Subscription. More...

#import <LSSubscriptionConstraints.h>

Inheritance diagram for LSSubscriptionConstraints:

Class Methods

(LSSubscriptionConstraints *) + constraintsWithMaxFrequency:
 Creates and returns an LSSubscriptionConstraints object with the specified max frequency in updates/sec. More...
 

Properties

double maxFrequency
 Frequency constraint in updates/sec. More...
 

Detailed Description

The LSSubscriptionConstraints class collects the constraints to be applied on the data flow from a Subscription.

Method Documentation

+ (LSSubscriptionConstraints *) constraintsWithMaxFrequency: (double)  maxFrequency

Creates and returns an LSSubscriptionConstraints object with the specified max frequency in updates/sec.


Edition Note: a further global frequency limit is also imposed by the Server, if it is running in Presto, Allegro or Moderato edition; this specific limit also applies to LSModeRaw and to unfiltered dispatching.

Returns
The LSSubscriptionConstraints object.

Property Documentation

- (double) maxFrequency
readwritenonatomicassign

Frequency constraint in updates/sec.


When changing max frequency, remember that the server may refuse the change if the subscription has been specified as unfiltered.
Edition Note: a further global frequency limit is also imposed by the Server, if it is running in Presto, Allegro or Moderato edition; this specific limit also applies to LSModeRaw and to unfiltered dispatching.


The documentation for this class was generated from the following file: