> I have two questions regarding a connection:
>
> 1) If a client has its connection cut off from the router, will the
> client be able to detect it? If so, how is it done?
Register an exception listener on the connection. There is no special
error code yet but the reason for the exception is mostly a connection
lost.
> 2) If a client has it connection cut off from the router, will the
> router be able to detect the connection cut off ? If so, how is it
> done?
The router detects a connection lost when the socket is closed. The
problem of half-open sockets is detected by keep-alive messages.
--
Andreas Mueller, [EMAIL PROTECTED], IIT GmbH, Bremen/Germany, http://www.iit.de
SwiftMQ, JMS Enterprise Messaging System, http://www.swiftmq.com
------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/