Lightstreamer .Net Adapter 1.11.0
ContentsIndexHome
PreviousUpNext
IItemEventListener.Update Method (string, IItemEvent, bool)

Called by a Data Adapter to send an Item Event to Lightstreamer Kernel when the Item Event is implemented as an IItemEvent instance. 

The Remote Adapter should ensure that, after an Unsubscribe call for the Item has returned, no more Update calls are issued, until requested by a new subscription for the same Item. This assures that, upon a new subscription for the Item, no trailing events due to the previous subscription can be received by the Remote Server. Note that the method is nonblocking; moreover, it only takes locks to first order mutexes; so, it can safely be called while holding a custom lock. 

 

C++
void Update(string itemName, IItemEvent itemEvent, bool isSnapshot);
C#
void Update(string itemName, IItemEvent itemEvent, bool isSnapshot);
Visual Basic
Function Update(itemName As string, itemEvent As IItemEvent, isSnapshot As bool) As void
Parameters 
Description 
string itemName 
The name of the Item whose values are carried by the Item Event. 
IItemEvent itemEvent 
An IItemEvent instance. 
bool isSnapshot 
True if the Item Event carries the Item Snapshot.