Results 1 to 10 of 15

Hybrid View

  1. #1
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    Thanks for the update. I am a noob so I have very little experience of snapshot maintenance at the moment (apart from what I have seen in the chat demo). I guess I need to read up a little.

    The problem I had with DISTINCT was that when I created a system wide broadcast, any new clients of the broadcast got all the previous broadcasts. Quite a useful feature, but one I specifically did not require here. Does unfiltered dispatching stop that? If so, how do I implement it?

    I need to read up on getDistinctSnapshotLength() also it seems.

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    In DISTINCT mode the lenght of snapshot can be configured both server side and client side.

    In your MetaData Adapter by the getDistinctSnapshotLength method you can specify the maximum lenght (in number of updates) of the snapshot for each item.

    Client side, the setRequestedSnapshot method allow you to specify the requested length of the snapshot that every client wants to receive (you can also opt to not request snapshot delivery at all).
    Please note that listening on onEndOfSnapshot event handler allow your client to be notified that all snapshot events for an item in the Subscription have been received.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 10:57 PM.