CatapultServer  v0.5.0.1 (Elephant)
ConnectionSecurityMode.h File Reference
Include dependency graph for ConnectionSecurityMode.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 CONNECTION_SECURITY_MODE_LIST
 
#define ENUM_VALUE(LABEL, VALUE)   LABEL = VALUE,
 

Enumerations

enum  catapult::ionet::ConnectionSecurityMode : uint8_t { catapult::ionet::ConnectionSecurityMode::CONNECTION_SECURITY_MODE_LIST }
 Possible connection security modes. More...
 

Functions

std::ostream & catapult::ionet::operator<< (std::ostream &out, ConnectionSecurityMode value)
 Insertion operator for outputting value to out. More...
 
bool catapult::ionet::TryParseValue (const std::string &str, ConnectionSecurityMode &modes)
 Tries to parse str into connection security modes. More...
 

Macro Definition Documentation

◆ CONNECTION_SECURITY_MODE_LIST

#define CONNECTION_SECURITY_MODE_LIST
Value:
/* Connection allows regular packets. */ \
ENUM_VALUE(None, 1) \
\
/* Connection only allows signed packets. */ \
ENUM_VALUE(Signed, 2)

◆ ENUM_VALUE

#define ENUM_VALUE (   LABEL,
  VALUE 
)    LABEL = VALUE,