Lightstreamer .Net Adapter 1.7
ContentsIndexHome
PreviousUpNext
MetadataProviderAdapter.GetAllowedBufferSize Method

Called by Lightstreamer Kernel through the Remote Server to ask for the maximum allowed size of the buffer internally used to enqueue subsequent ItemUpdates for the same Item. In this default implementation, the Metadata Adapter poses no restriction.

C++
public: int GetAllowedBufferSize(string user, string item);
C#
public virtual int GetAllowedBufferSize(string user, string item);
Visual Basic
Public virtual Function GetAllowedBufferSize(user As string, item As string) As Integer
Parameters 
Description 
string user 
Not used. 
string item 
Not used. 

Always zero, to mean no size limit.