paralel batches error handling

View: New views
2 Messages — Rating Filter:   Alert me  

paralel batches error handling

by libor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
I need to find out how can I handle lost calls to server, because of disconnect. I need to be able to get from warninghandler information about which batch was not delivered to the server. Let's describe situation:

I have chess server, so everything needs to be consistent and i can't lost move from client. Client has to detect lost message and reconnect and send it again.   I can handle reconnect, I can handle resend but i dont know how to find out which message(batch) was not delivered so i dont know which message should be resend after reconnect. I cann't send message twice and i cann't lost messages.... i can wait for reconnect.. but only acceptable number of correctly delivered messages to the server is 1.  So does someone know how can i gain batchId, or batch from warning/error message to identify not delivered calls?

Thanks a lot.

Libor

Re: paralel batches error handling

by Joe Walker-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


We're just working on an automatic solution to your problem using Google gears (if installed) or some other persistence mechanism if not. If you can wait a few weeks (probably be getting serious just after JavaOne) this might be your best option.

Joe.

On Fri, Apr 11, 2008 at 11:17 AM, libor <liborhavlicek%2Bdwrforum@...> wrote:

Hi all,
I need to find out how can I handle lost calls to server, because of
disconnect. I need to be able to get from warninghandler information about
which batch was not delivered to the server. Let's describe situation:

I have chess server, so everything needs to be consistent and i can't lost
move from client. Client has to detect lost message and reconnect and send
it again.   I can handle reconnect, I can handle resend but i dont know how
to find out which message(batch) was not delivered so i dont know which
message should be resend after reconnect. I cann't send message twice and i
cann't lost messages.... i can wait for reconnect.. but only acceptable
number of correctly delivered messages to the server is 1.  So does someone
know how can i gain batchId, or batch from warning/error message to identify
not delivered calls?

Thanks a lot.

Libor
--
View this message in context: http://www.nabble.com/paralel-batches-error-handling-tp16627314p16627314.html
Sent from the DWR - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...