#include <P_ClusterInternal.h>
Inherits ClusterMessageHeader.
Public Types | |
enum | { MIN_VERSION = 1, MAX_VERSION = 1, SET_CHANNEL_DATA_MESSAGE_VERSION = MAX_VERSION } |
Public Member Functions | |
SetChanDataMessage (uint16_t vers=SET_CHANNEL_DATA_MESSAGE_VERSION) | |
void | init (uint16_t vers=SET_CHANNEL_DATA_MESSAGE_VERSION) |
void | SwapBytes () |
Static Public Member Functions | |
static int | protoToVersion (int protoMajor) |
static int | sizeof_fixedlen_msg () |
Data Fields | |
uint32_t | channel |
uint32_t | sequence_number |
uint32_t | data_type |
char | data [4] |
Definition at line 306 of file P_ClusterInternal.h.
anonymous enum |
Definition at line 313 of file P_ClusterInternal.h.
SetChanDataMessage::SetChanDataMessage | ( | uint16_t | vers = SET_CHANNEL_DATA_MESSAGE_VERSION |
) | [inline] |
Definition at line 320 of file P_ClusterInternal.h.
References data.
void SetChanDataMessage::init | ( | uint16_t | vers = SET_CHANNEL_DATA_MESSAGE_VERSION |
) | [inline] |
Definition at line 335 of file P_ClusterInternal.h.
References ClusterMessageHeader::_init().
static int SetChanDataMessage::protoToVersion | ( | int | protoMajor | ) | [inline, static] |
Definition at line 325 of file P_ClusterInternal.h.
Referenced by ClusterVConnection::set_http_info().
static int SetChanDataMessage::sizeof_fixedlen_msg | ( | ) | [inline, static] |
Definition at line 330 of file P_ClusterInternal.h.
References data, and DOUBLE_ALIGN.
Referenced by set_channel_data_ClusterFunction(), and ClusterVConnection::set_http_info().
void SetChanDataMessage::SwapBytes | ( | ) | [inline] |
Definition at line 338 of file P_ClusterInternal.h.
References ats_swap32(), channel, data_type, ClusterMessageHeader::NeedByteSwap(), and sequence_number.
Referenced by set_channel_data_ClusterFunction().
uint32_t SetChanDataMessage::channel |
Definition at line 308 of file P_ClusterInternal.h.
Referenced by post_setchan_send_ClusterFunction(), set_channel_data_ClusterFunction(), ClusterVConnection::set_http_info(), and SwapBytes().
char SetChanDataMessage::data[4] |
Definition at line 311 of file P_ClusterInternal.h.
Referenced by set_channel_data_ClusterFunction(), SetChanDataMessage(), and sizeof_fixedlen_msg().
uint32_t SetChanDataMessage::data_type |
Definition at line 310 of file P_ClusterInternal.h.
Referenced by set_channel_data_ClusterFunction(), ClusterVConnection::set_http_info(), and SwapBytes().
uint32_t SetChanDataMessage::sequence_number |
Definition at line 309 of file P_ClusterInternal.h.
Referenced by set_channel_data_ClusterFunction(), ClusterVConnection::set_http_info(), and SwapBytes().