#include <P_ClusterInternal.h>
Inherits ClusterMessageHeader.
Public Types | |
enum | { MIN_VERSION = 1, MAX_VERSION = 1, SET_CHANNEL_PRIORITY_MESSAGE_VERSION = MAX_VERSION } |
Public Member Functions | |
SetChanPriorityMessage (uint16_t vers=SET_CHANNEL_PRIORITY_MESSAGE_VERSION) | |
void | init (uint16_t vers=SET_CHANNEL_PRIORITY_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 | disk_priority |
Definition at line 395 of file P_ClusterInternal.h.
anonymous enum |
Definition at line 401 of file P_ClusterInternal.h.
SetChanPriorityMessage::SetChanPriorityMessage | ( | uint16_t | vers = SET_CHANNEL_PRIORITY_MESSAGE_VERSION |
) | [inline] |
Definition at line 408 of file P_ClusterInternal.h.
void SetChanPriorityMessage::init | ( | uint16_t | vers = SET_CHANNEL_PRIORITY_MESSAGE_VERSION |
) | [inline] |
Definition at line 421 of file P_ClusterInternal.h.
References ClusterMessageHeader::_init().
static int SetChanPriorityMessage::protoToVersion | ( | int | protoMajor | ) | [inline, static] |
Definition at line 412 of file P_ClusterInternal.h.
Referenced by ClusterVConnection::set_disk_io_priority().
static int SetChanPriorityMessage::sizeof_fixedlen_msg | ( | ) | [inline, static] |
Definition at line 417 of file P_ClusterInternal.h.
Referenced by ClusterVConnection::set_disk_io_priority().
void SetChanPriorityMessage::SwapBytes | ( | ) | [inline] |
Definition at line 424 of file P_ClusterInternal.h.
References ats_swap32(), channel, disk_priority, ClusterMessageHeader::NeedByteSwap(), and sequence_number.
Referenced by set_channel_priority_ClusterFunction().
uint32_t SetChanPriorityMessage::channel |
Definition at line 397 of file P_ClusterInternal.h.
Referenced by post_setchan_priority_ClusterFunction(), set_channel_priority_ClusterFunction(), ClusterVConnection::set_disk_io_priority(), and SwapBytes().
Definition at line 399 of file P_ClusterInternal.h.
Referenced by set_channel_priority_ClusterFunction(), ClusterVConnection::set_disk_io_priority(), and SwapBytes().
Definition at line 398 of file P_ClusterInternal.h.
Referenced by set_channel_priority_ClusterFunction(), ClusterVConnection::set_disk_io_priority(), and SwapBytes().