Bitcoin
|
#include <handler.h>
Public Member Functions | |
virtual | ~Handler () |
virtual void | disconnect ()=0 |
Disconnect the handler. More... | |
Generic interface for managing an event handler or callback function registered with another interface. Has a single disconnect method to cancel the registration and prevent any future notifications.
|
inlinevirtual |
|
pure virtual |
Disconnect the handler.
Implemented in interfaces::anonymous_namespace{chain.cpp}::RpcHandlerImpl, interfaces::anonymous_namespace{chain.cpp}::NotificationsHandlerImpl, and interfaces::anonymous_namespace{handler.cpp}::HandlerImpl.