CatapultServer  v0.5.0.1 (Elephant)
NodeRequestResult.h File Reference
Include dependency graph for NodeRequestResult.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::net
 

Macros

#define NODE_REQUEST_RESULT_LIST
 
#define ENUM_VALUE(LABEL)   LABEL,
 

Enumerations

enum  catapult::net::NodeRequestResult { catapult::net::NodeRequestResult::NODE_REQUEST_RESULT_LIST }
 Enumeration of possible results of a ping operation. More...
 

Functions

std::ostream & catapult::net::operator<< (std::ostream &out, NodeRequestResult value)
 Insertion operator for outputting value to out. More...
 

Macro Definition Documentation

◆ ENUM_VALUE

#define ENUM_VALUE (   LABEL)    LABEL,

◆ NODE_REQUEST_RESULT_LIST

#define NODE_REQUEST_RESULT_LIST
Value:
/* Connection to the remote node failed. */ \
ENUM_VALUE(Failure_Connection) \
\
/* Interaction with the remote node failed. */ \
ENUM_VALUE(Failure_Interaction) \
\
/* Remote response is incompatible with the local node. */ \
ENUM_VALUE(Failure_Incompatible) \
\
/* Interaction with the remote node timed out. */ \
ENUM_VALUE(Failure_Timeout) \
\
/* Ping operation succeeded. */ \
ENUM_VALUE(Success)