Results 1 to 3 of 3
  1. #1

    Send initial data

    How to send initial data when client get connected?

  2. #2
    Quote Originally Posted by winbackgo View Post
    How to send initial data when client get connected?
    the following scenario:
    1. The client connects to the server and receives the data as a whole (in the format json)
    2. The client receives updates in json format since both joined.
    I think that I need to ask susbscription raw format but I do not understand how my client to send the original data.

  3. #3
    Power Member
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    161
    Hi winbackgo,

    when a client subscribes to an item, it may request the initial snapshot, which is the means through which the current item state is received with no need to wait for the asynchronous real time updates.
    Snapshots are supported by MERGE, DISTINCT and COMMAND mode, but not by RAW mode.

    I'm sorry but it's not clear to me whether initial snapshot matches with your "initial data" need.

    Could you please expand on your use cases? Could you please give us more detailed requirements?

    Thanks
    Gianluca

 

 

Similar Threads

  1. Send data from DataAdapter based on user/sessionID
    By gal_nitzan in forum Adapter SDKs
    Replies: 1
    Last Post: February 12th, 2013, 10:16 PM
  2. How to send data to single client rather than all?
    By kpturner in forum Adapter SDKs
    Replies: 18
    Last Post: December 10th, 2012, 08:03 PM
  3. Initial snapshot length
    By patilgkk in forum General
    Replies: 5
    Last Post: August 2nd, 2010, 10:04 AM
  4. speed up initial loading
    By rd2008 in forum General
    Replies: 1
    Last Post: November 20th, 2008, 10:32 AM
  5. Send data back using LS
    By markgoldin in forum General
    Replies: 16
    Last Post: August 6th, 2008, 11:00 AM

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 08:22 AM.