Loading ...
Sorry, an error occurred while loading the content.

RE: [soaplite] Persistent connection?

Expand Messages
  • Martin Hajduch
    ... you can create session-like object on the server side; each client would register which type of events/changes he is interested in receiving; then client
    Message 1 of 2 , Mar 2 6:59 AM
    • 0 Attachment
      > they can be polled, most frequently you want to push them in real
      > time. So in a way, i supposed i'm asking how to return multiple
      > responses, but it's an arbitrarily large never ending stream of
      > responses.

      you can create session-like object on the server side; each client would
      'register' which type of events/changes he is interested in receiving;
      then client would receive actual snapshot of the data and later client can
      poll for 'any change'
      server session object would monitor whether such change occurs, maintain a
      queue of untransmitted changes and send all of them as a response to the
      next poll from client

      i have used similar mechanism, works quite fine ...
      good thing is, that as soon as both server and clients are running, they
      can cope with network connection drop-out, reconnect later and get all
      untransmitted changes, etc ..

      regards,
      martin
    Your message has been successfully submitted and would be delivered to recipients shortly.