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

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::ionet
 

Macros

#define CONNECT_RESULT_LIST
 
#define ENUM_VALUE(LABEL)   LABEL,
 

Enumerations

enum  catapult::ionet::ConnectResult { catapult::ionet::ConnectResult::CONNECT_RESULT_LIST }
 Enumeration of possible connection results. More...
 

Functions

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

Macro Definition Documentation

◆ CONNECT_RESULT_LIST

#define CONNECT_RESULT_LIST
Value:
/* Client address could not be resolved. */ \
ENUM_VALUE(Resolve_Error) \
\
/* Connection could not be established. */ \
ENUM_VALUE(Connect_Error) \
\
/* Connection attempt was cancelled. */ \
ENUM_VALUE(Connect_Cancelled) \
\
/* Connection was successfully established. */ \
ENUM_VALUE(Connected)

◆ ENUM_VALUE

#define ENUM_VALUE (   LABEL)    LABEL,