Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | List of all members
interfaces::Handler Class Referenceabstract

Generic interface for managing an event handler or callback function registered with another interface. More...

#include <handler.h>

Public Member Functions

virtual ~Handler ()=default
 
virtual void disconnect ()=0
 Disconnect the handler. More...
 

Detailed Description

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.

Definition at line 22 of file handler.h.

Constructor & Destructor Documentation

◆ ~Handler()

virtual interfaces::Handler::~Handler ( )
virtualdefault

Member Function Documentation

◆ disconnect()

virtual void interfaces::Handler::disconnect ( )
pure virtual

Disconnect the handler.


The documentation for this class was generated from the following file: