5 #ifndef BITCOIN_INTERFACES_HANDLER_H
6 #define BITCOIN_INTERFACES_HANDLER_H
31 std::unique_ptr<Handler>
MakeHandler(boost::signals2::connection connection);
34 std::unique_ptr<Handler>
MakeHandler(std::function<
void()> cleanup);
Generic interface for managing an event handler or callback function registered with another interfac...
virtual void disconnect()=0
Disconnect the handler.
std::unique_ptr< Handler > MakeHandler(boost::signals2::connection connection)
Return handler wrapping a boost signal connection.