0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
Hyperspace::Master::CommandContext Struct Reference
Collaboration diagram for Hyperspace::Master::CommandContext:
Collaboration graph
[legend]

Public Member Functions

 CommandContext (const char *_friendly_name, uint64_t _session_id)
 
void set_error (int _error, const char *_error_msg, bool abort=true)
 
void set_error (int _error, const String &_error_msg, bool abort=true)
 
void reset_error ()
 
void reset (BDbTxn *_txn)
 

Public Attributes

const char * friendly_name
 
uint64_t session_id
 
SessionDataPtr session_data
 
BDbTxntxn
 
std::vector< EventContextevts
 
bool aborted
 
int error
 
String error_msg
 

Detailed Description

Definition at line 212 of file Master.h.

Constructor & Destructor Documentation

Hyperspace::Master::CommandContext::CommandContext ( const char *  _friendly_name,
uint64_t  _session_id 
)
inline

Definition at line 222 of file Master.h.

Member Function Documentation

void Hyperspace::Master::CommandContext::reset ( BDbTxn _txn)
inline

Definition at line 244 of file Master.h.

void Hyperspace::Master::CommandContext::reset_error ( )
inline

Definition at line 238 of file Master.h.

void Hyperspace::Master::CommandContext::set_error ( int  _error,
const char *  _error_msg,
bool  abort = true 
)
inline

Definition at line 226 of file Master.h.

void Hyperspace::Master::CommandContext::set_error ( int  _error,
const String _error_msg,
bool  abort = true 
)
inline

Definition at line 232 of file Master.h.

Member Data Documentation

bool Hyperspace::Master::CommandContext::aborted

Definition at line 218 of file Master.h.

int Hyperspace::Master::CommandContext::error

Definition at line 219 of file Master.h.

String Hyperspace::Master::CommandContext::error_msg

Definition at line 220 of file Master.h.

std::vector<EventContext> Hyperspace::Master::CommandContext::evts

Definition at line 217 of file Master.h.

const char* Hyperspace::Master::CommandContext::friendly_name

Definition at line 213 of file Master.h.

SessionDataPtr Hyperspace::Master::CommandContext::session_data

Definition at line 215 of file Master.h.

uint64_t Hyperspace::Master::CommandContext::session_id

Definition at line 214 of file Master.h.

BDbTxn* Hyperspace::Master::CommandContext::txn

Definition at line 216 of file Master.h.


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