Hello,


In proton 0.12.0 C++ bindings, if I have a custom handler which implements 
proton::handler, how can I close the connection it holds from outside the 
callbacks? (Callbacks like on_message, on_link_open, etc.)



Thread 1:


   CustomHandler handler;


   // Start Thread 2


   sleep(2000);


   handler.close();



Thread 2:


   proton::container(handler).run();



Regards,


Adel


                                         


Reply via email to