Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
Handler Class Referenceabstract

#include <handler.h>

Public Member Functions

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

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: