Friday, November 23, 2012

GWT - Client Data Recieving in a parallel way ?

Hi,
i am using comet to push data from server to client, ( sending and recieving in intervals of 30 sec )
when something is up, threads are raised on server side ( pushes the data to client immediatly )
in this life cycle, i want to get the pushed data parallelly recieved  at the client side,
unfortunetly even if i create a ScheduledCommand at runtime(  with dynamic parameters ) by using it in a class ( like a java thread constructor ).
 
GWT behaves; like
       The first pushed data recived in the callback function --> callback  function fully processes  the data ( passes it to a Dynamic ScheduledCommand for parsing it), 
         than ( when the callback has finished )  the scheduledcommand executes
   during all this process the next pushed data  waits for this cycle to end.. ( even  if i used a  dynamicly created  ScheduledCommand during runtime )
 
what should i do to Recieve data  in a parallel way  ?
  

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/SGmnuj2L-MEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment