Hi, Can someone give me an idea how to register a call back function in QPID. The void Connection::registerFailureCallback ( boost::function<void ()> fn ) in qpid/client/Connection.h
expects a function of boost type. The question is how to pass a user define function pointer to the above callback function registerFailureCallback(). say, ClientFailoverCallBack() is a user defined fn which handles failure routine.. how to register this user define fn in registerFailureCallBack(). Regards, Sinduja.R On Mon, Feb 13, 2012 at 10:16 AM, <[email protected]> wrote: > Hi anyone, > > Can anyone tell me , is there any function or group of functions exists > in QPID for registering the call back functions when an events occurs in a > system. > How to register for event callbacks. Something of this sought..., for eg., > > ipc_notify_event(<ipc_used>, < event fundtion to call when that > particular vent occurs>, ..,) > > Is there any function in QPID which will help us to handle events. > Please, this is so important funda to be known. > > Regards, > Siunduja.R >
