CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace catapult {
namespace ionet {
28 #define PACKET_EXTRACT_RESULT_LIST \
33 ENUM_VALUE(Insufficient_Data) \
36 ENUM_VALUE(Packet_Error)
38 #define ENUM_VALUE(LABEL) LABEL,
#define CATAPULT_LOG(SEV)
Writes a log entry to the default logger with SEV severity.
Definition: Logging.h:340
A packet header with a data payload.
Definition: Packet.h:32
size_t m_maxPacketDataSize
Definition: PacketSocket.cpp:243
def warning(*args)
Definition: colorPrint.py:10
constexpr bool IsPacketDataSizeValid(const PacketHeader &header, size_t maxPacketDataSize)
Determines if header indicates a valid packet data size no greater than maxPacketDataSize.
Definition: PacketHeader.h:41
std::vector< uint8_t > ByteBuffer
Definition: IoTypes.h:28
PacketExtractResult
Possible results from PacketExtractor::tryExtractNextPacket.
Definition: PacketExtractor.h:40
std::ostream & operator<<(std::ostream &out, ConnectionSecurityMode value)
Insertion operator for outputting value to out.
Definition: AddressExtractionExtension.cpp:28