Quote Originally Posted by Mone
Hello,

The Data adapter should give the initial snapshot only as the first client subscribes to a certain item (the subscribe method is called on the DataAdapter). After than, until there is at least 1 client subscribed to that item the snapshot is completely handled by Lightstreamer. When no more clients are subscribed to that item the unsubscribe method is called on the DataAdapter. On the next subscription to that item the DataAdapter should send the snapshot events (the subscribe method is called again).

Client 1 subscribes to item1 -> The DataAdapter sends the intial snapshot
Client 2 subscribes to item1 -> Lightstreamer sends the initial snapshot
Client 1 unsubscribes from item1
Client 3 subscribes to item1 -> Lightstreamer sends the initial snapshot
Client 2 unsubscribes from item1
Client 3 unsubscribes from item1
[no more clients subscribed to item 1]
Client 4 subscribes to item1 -> The DataAdapter sends the intial snapshot
And so on...

In conclusion you should just send the snapshot any time the subscribe method is called for an item on the DataAdapter.
Great, that really helps... How long is this snapshot held in the LightStreamer Server? Is there anyway to set a time period to expire this snapshot?
Thank You,
Sukhdev