|Re: [ecf-dev] regarding tcp connection in ECF|
Today i had gone through the ecf generic code
It seems the code is handling the timeout (org.eclipse.ecf.provider.comm.tcp.Client ) it pings peers to keep the connection alive
if remote service execution exceeds 30 sec,i.e the time to get the response exceeds 30 sec ,ECF throws timeout error.The underlying tcp connection is still there.
If by any chance the network link gets broken,jmdns will anyway notify to remove the service and the consumer will remove the service to avoid service call failure.Once again when the network comes up consumer will be notified for the Remote Service again and consumer can successfully make use of this to perform the remote call and get the response.
So basically the container if gets disconnected(i could see only network down as one scenario for this) ,will be reconnected again
So i feel the doubt i raised is wrong ,ECF is handling the tcp connection timeout by making use of tcp ping.Please correct me if i am wrong