Lightstreamer .Net Adapter 1.7
|
Called by Lightstreamer Kernel through the Remote Server to ask for the maximum size allowed for the buffer internally used to enqueue subsequent ItemUpdates for the same Item. If this buffer is more than 1 element deep, a short burst of ItemEvents from the Data Adapter can be forwarded to the Client without losses, though with some delay. The buffer size is specified in the Request. Its maximum allowed size can be different for different Users. Such buffering applies only to Items requested with publishing Mode MERGE or DISTINCT. However, if the Item has been requested with unfiltered dispatching, then the buffer size is always unlimited and buffer size settings are ignored.
This method runs in the Server thread pool specific for the Data Adapter that supplies the involved items, if defined.
int GetAllowedBufferSize(string user, string item);
int GetAllowedBufferSize(string user, string item);
Function GetAllowedBufferSize(user As string, item As string) As Integer
Parameters |
Description |
string user |
A User name. |
string item |
An Item Name. |
The allowed buffer size. A zero return value means a potentially unlimited buffer.