#include <P_ClusterInternal.h>
Inherits ClusterMessageHeader.
Public Types | |
enum | { MIN_VERSION = 1, MAX_VERSION = 1, MACHINE_LIST_MESSAGE_VERSION = MAX_VERSION } |
Public Member Functions | |
MachineListMessage () | |
void | init (uint16_t vers=MACHINE_LIST_MESSAGE_VERSION) |
void | SwapBytes () |
Static Public Member Functions | |
static int | protoToVersion (int protoMajor) |
static int | sizeof_fixedlen_msg () |
Data Fields | |
uint32_t | n_ip |
uint32_t | ip [CLUSTER_MAX_MACHINES] |
Definition at line 267 of file P_ClusterInternal.h.
anonymous enum |
Definition at line 272 of file P_ClusterInternal.h.
MachineListMessage::MachineListMessage | ( | ) | [inline] |
Definition at line 279 of file P_ClusterInternal.h.
References ip.
void MachineListMessage::init | ( | uint16_t | vers = MACHINE_LIST_MESSAGE_VERSION |
) | [inline] |
Definition at line 293 of file P_ClusterInternal.h.
References ClusterMessageHeader::_init().
static int MachineListMessage::protoToVersion | ( | int | protoMajor | ) | [inline, static] |
Definition at line 284 of file P_ClusterInternal.h.
Referenced by ClusterProcessor::send_machine_list().
static int MachineListMessage::sizeof_fixedlen_msg | ( | ) | [inline, static] |
Definition at line 289 of file P_ClusterInternal.h.
Referenced by machine_list_ClusterFunction(), and ClusterProcessor::send_machine_list().
void MachineListMessage::SwapBytes | ( | ) | [inline] |
Definition at line 296 of file P_ClusterInternal.h.
References ats_swap32(), and n_ip.
Referenced by machine_list_ClusterFunction().
uint32_t MachineListMessage::ip[CLUSTER_MAX_MACHINES] |
Definition at line 270 of file P_ClusterInternal.h.
Referenced by machine_list_ClusterFunction(), MachineListMessage(), and ClusterProcessor::send_machine_list().
uint32_t MachineListMessage::n_ip |
Definition at line 269 of file P_ClusterInternal.h.
Referenced by machine_list_ClusterFunction(), ClusterProcessor::send_machine_list(), and SwapBytes().