I have a thrift client written in Java and a Thrift server written in C++. Let's say the client invokes a time consuming function on the C++ server over thrift interface. IN this scenario, assume that the client dies before the server completes the execution of this time consuming function. Is there a handle or function in the thrift API to check in the server code whether the client is alive or not in order that the server can take some precaution before trying to send a response to the client that is already dead. Thanks.
Briefly, my question is can we determine in the server whether invoking client is alive? Is there a handle in the thrift API for this purpose?