#include <P_ClusterCache.h>
Inherits ClusterMessageHeader.
Public Types | |
enum | { MIN_VERSION = 1, MAX_VERSION = 1, PING_MESSAGE_VERSION = MAX_VERSION } |
Public Member Functions | |
PingMessage (uint16_t vers=PING_MESSAGE_VERSION) | |
void | init (uint16_t vers=PING_MESSAGE_VERSION) |
void | SwapBytes () |
Static Public Member Functions | |
static int | protoToVersion (int protoMajor) |
static int | sizeof_fixedlen_msg () |
Data Fields | |
PingReturnFunction | fn |
char | data [1] |
Definition at line 1074 of file P_ClusterCache.h.
anonymous enum |
Definition at line 1079 of file P_ClusterCache.h.
PingMessage::PingMessage | ( | uint16_t | vers = PING_MESSAGE_VERSION |
) | [inline] |
Definition at line 1086 of file P_ClusterCache.h.
References data.
void PingMessage::init | ( | uint16_t | vers = PING_MESSAGE_VERSION |
) | [inline] |
Definition at line 1102 of file P_ClusterCache.h.
References ClusterMessageHeader::_init().
Referenced by cluster_ping().
static int PingMessage::protoToVersion | ( | int | protoMajor | ) | [inline, static] |
Definition at line 1091 of file P_ClusterCache.h.
static int PingMessage::sizeof_fixedlen_msg | ( | ) | [inline, static] |
Definition at line 1096 of file P_ClusterCache.h.
References data.
Referenced by cluster_ping(), and ping_reply_ClusterFunction().
void PingMessage::SwapBytes | ( | ) | [inline] |
Definition at line 1105 of file P_ClusterCache.h.
char PingMessage::data[1] |
Definition at line 1077 of file P_ClusterCache.h.
Referenced by cluster_ping(), ping_reply_ClusterFunction(), PingMessage(), and sizeof_fixedlen_msg().
Definition at line 1076 of file P_ClusterCache.h.
Referenced by cluster_ping(), and ping_reply_ClusterFunction().