Lightstreamer .Net Adapter 1.7
ContentsIndexHome
PreviousUpNext
IMetadataProvider.WantsTablesNotification Method

Called by Lightstreamer Kernel through the Remote Server to know whether the Metadata Adapter must or must not be notified any time a Table (i.e. Subscription) is added or removed from a push Session owned by a supplied User. If this method returns false, the methods NotifyNewTables and NotifyTablesClose will never be called for this User, saving some processing time. In this case, the User will be allowed to add to his Sessions any Tables (i.e. Subscriptions) he wants. 

This method runs in the Server authentication thread pool, if defined. 

 

C++
bool WantsTablesNotification(string user);
C#
bool WantsTablesNotification(string user);
Visual Basic
Function WantsTablesNotification(user As string) As bool
Parameters 
Description 
string user 
A User name. 

True if the Metadata Adapter must be notified any time a Table (i.e. Subscription) is added or removed from a Session owned by the User.