Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
NetworkDisable Class Reference

RAII class that disables the network in its constructor and enables it in its destructor. More...

Collaboration diagram for NetworkDisable:
[legend]

Public Member Functions

 NetworkDisable (CConnman &connman)
 
 ~NetworkDisable ()
 

Private Attributes

CConnmanm_connman
 

Detailed Description

RAII class that disables the network in its constructor and enables it in its destructor.

Definition at line 2903 of file blockchain.cpp.

Constructor & Destructor Documentation

◆ NetworkDisable()

NetworkDisable::NetworkDisable ( CConnman connman)
inline

Definition at line 2907 of file blockchain.cpp.

Here is the call graph for this function:

◆ ~NetworkDisable()

NetworkDisable::~NetworkDisable ( )
inline

Definition at line 2913 of file blockchain.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_connman

CConnman& NetworkDisable::m_connman
private

Definition at line 2905 of file blockchain.cpp.


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