Lightstreamer .Net Adapter 1.7
ContentsIndexHome
PreviousUpNext
IMetadataProvider.NotifyUserMessage Method

Called by Lightstreamer Kernel through the Remote Server to forward a message received by a User. The interpretation of the message is up to the Metadata Adapter. A message can also be refused. 

This method runs in the Server thread pool specific for the Adapter Set, if defined. 

 

C++
void NotifyUserMessage(string user, string sessionID, string message);
C#
void NotifyUserMessage(string user, string sessionID, string message);
Visual Basic
Function NotifyUserMessage(user As string, sessionID As string, message As string) As void
Parameters 
Description 
string user 
A User name. 
string sessionID 
The ID of a Session owned by the User. 
string message 
A non-null string. 
Exceptions 
Description 
in case the User is not enabled to send the message or the message cannot be correctly managed.  
in case something is wrong in the parameters, such as a nonexistent Session ID.