Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::ipc::ShutdownRequested Class Reference

Exception thrown by handler to signal graceful shutdown. More...

#include <ipc_server.hpp>

Inheritance diagram for bb::ipc::ShutdownRequested:

Public Member Functions

 ShutdownRequested (std::vector< uint8_t > response)
 
const std::vector< uint8_t > & response () const
 
const char * what () const noexcept override
 

Private Attributes

std::vector< uint8_t > response_
 

Detailed Description

Exception thrown by handler to signal graceful shutdown.

Carries the response data to be sent before shutting down.

Definition at line 22 of file ipc_server.hpp.

Constructor & Destructor Documentation

◆ ShutdownRequested()

bb::ipc::ShutdownRequested::ShutdownRequested ( std::vector< uint8_t >  response)
inlineexplicit

Definition at line 26 of file ipc_server.hpp.

Member Function Documentation

◆ response()

const std::vector< uint8_t > & bb::ipc::ShutdownRequested::response ( ) const
inline

Definition at line 29 of file ipc_server.hpp.

◆ what()

const char * bb::ipc::ShutdownRequested::what ( ) const
inlineoverridenoexcept

Definition at line 30 of file ipc_server.hpp.

Member Data Documentation

◆ response_

std::vector<uint8_t> bb::ipc::ShutdownRequested::response_
private

Definition at line 23 of file ipc_server.hpp.


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