RendezvousEvent.CLIENTFAILED never triggered?
I want to be able to detect peers that have forcefully disconnected from the group. (My peer is a RDV for that group).
If a peer disconnects normally, I will receive a RendezvousEvent.CLIENTDISCONENCTED but if it forcefully disconnects, I will never receive the CLIENTFAILED event.
After digging I noticed it is launched by the jxta GC thread after about 20 minutes or so. This is way too much IMO.
However, in practice, I have not seen it *EVER* get launched.
Can anybody tell me why this happens or tell me another way of detecting disconnecting peers?
P.S.: Does the ping example from practical jxta work for relayed connections as well? I noticed it uses the endpoint service and AFAIK, that tries direct connections only.