Archived
This forum has been archived. Please start a new discussion on GitHub.
set callback for ice connection
crytosky
in Help Center
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:
curr.con->setCallback(new MyConnectionCallback);
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!
0
