Comment #7 on issue 56 by [email protected]: Client cannot reconnect after missing few DWA
http://code.google.com/p/jdiameter/issues/detail?id=56

Good day

I guess to avoid issue with DISCONNECT_EVENT you should not add selfThread.interrupt(); to stop() method of org.jdiameter.client.impl.transport.tcp.TCPTransportClient.

But instead of this in method run() (class TCPTransportClient) in main cycle:

 while (!stop) {
        selector.select();
        ...

use select method with timeout just like this:
        selector.select(1000);

In my tests after such fix connection normally reinit after missing DWA and putting DISCONNECT_EVENT to queue seems working normally.

Please comment.

Thank you

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to