Lightstreamer .Net Adapter 1.7
ContentsIndexHome
PreviousUpNext
IMetadataProvider.GetAllowedMaxItemFrequency Method

Called by Lightstreamer Kernel through the Remote Server to ask for the ItemUpdate frequency to be allowed to a User for a specific Item. An unlimited frequency can also be specified. Such filtering applies only to Items requested with publishing Mode MERGE, DISTINCT and COMMAND (in the latter case, the frequency limitation applies to the UPDATE events for each single key). If an Item is requested with publishing Mode MERGE, DISTINCT or COMMAND and unfiltered dispatching has been specified, then returning any limited maximum frequency will cause the refusal of the request by the Kernel. 

This method runs in the Server thread pool specific for the Data Adapter that supplies the involved items, if defined. 

Edition Note: A further global frequency limit is imposed in Presto edition; this specific limit also applies to RAW mode and to unfiltered dispatching. 

Edition Note: A further global frequency limit is imposed in Allegro edition; this specific limit also applies to RAW mode and to unfiltered dispatching. 

Edition Note: A further global frequency limit is imposed in Moderato edition; this specific limit also applies to RAW mode and to unfiltered dispatching. 

 

C++
double GetAllowedMaxItemFrequency(string user, string item);
C#
double GetAllowedMaxItemFrequency(string user, string item);
Visual Basic
Function GetAllowedMaxItemFrequency(user As string, item As string) As double
Parameters 
Description 
string user 
A User name. 
string item 
An Item Name. 

The allowed Update frequency, in Updates/sec. A zero return value means no frequency restriction.