#include <P_ClusterInternal.h>
Inherits ClusterMessageHeader.
Public Types | |
enum | { MIN_VERSION = 1, MAX_VERSION = 1, CLOSE_CHAN_MESSAGE_VERSION = MAX_VERSION } |
Public Member Functions | |
CloseMessage (uint16_t vers=CLOSE_CHAN_MESSAGE_VERSION) | |
void | init (uint16_t vers=CLOSE_CHAN_MESSAGE_VERSION) |
void | SwapBytes () |
Static Public Member Functions | |
static int | protoToVersion (int protoMajor) |
static int | sizeof_fixedlen_msg () |
Data Fields | |
uint32_t | channel |
int32_t | status |
int32_t | lerrno |
uint32_t | sequence_number |
Definition at line 222 of file P_ClusterInternal.h.
anonymous enum |
Definition at line 229 of file P_ClusterInternal.h.
CloseMessage::CloseMessage | ( | uint16_t | vers = CLOSE_CHAN_MESSAGE_VERSION |
) | [inline] |
Definition at line 236 of file P_ClusterInternal.h.
void CloseMessage::init | ( | uint16_t | vers = CLOSE_CHAN_MESSAGE_VERSION |
) | [inline] |
Definition at line 249 of file P_ClusterInternal.h.
References ClusterMessageHeader::_init().
static int CloseMessage::protoToVersion | ( | int | protoMajor | ) | [inline, static] |
Definition at line 240 of file P_ClusterInternal.h.
Referenced by ClusterHandler::close_ClusterVConnection().
static int CloseMessage::sizeof_fixedlen_msg | ( | ) | [inline, static] |
Definition at line 245 of file P_ClusterInternal.h.
void CloseMessage::SwapBytes | ( | ) | [inline] |
Definition at line 252 of file P_ClusterInternal.h.
References ats_swap32(), channel, lerrno, ClusterMessageHeader::NeedByteSwap(), sequence_number, and status.
Referenced by close_channel_ClusterFunction().
uint32_t CloseMessage::channel |
Definition at line 224 of file P_ClusterInternal.h.
Referenced by close_channel_ClusterFunction(), ClusterHandler::close_ClusterVConnection(), and SwapBytes().
int32_t CloseMessage::lerrno |
Definition at line 226 of file P_ClusterInternal.h.
Referenced by close_channel_ClusterFunction(), ClusterHandler::close_ClusterVConnection(), and SwapBytes().
uint32_t CloseMessage::sequence_number |
Definition at line 227 of file P_ClusterInternal.h.
Referenced by close_channel_ClusterFunction(), ClusterHandler::close_ClusterVConnection(), and SwapBytes().
int32_t CloseMessage::status |
Definition at line 225 of file P_ClusterInternal.h.
Referenced by close_channel_ClusterFunction(), ClusterHandler::close_ClusterVConnection(), and SwapBytes().