set callback for ice connection
I want to reclaim some resource when ice connection closed, so i try to use setCallback() function of ice connection. first I need define a class as below:
class MyConnectionCallback: public Ice::ConnectionCallback
then I should call setCallback() function of ice connection to set my own callback object as follows:
my problem is I can't find which header file I should include for Ice::ConnectionCallback. can somebody help me?
thanks a lot in advance!