#include <pana_message.h>
Inheritance diagram for PANA_MsgHeader:
Public Types | |
enum | { HeaderLength = 16 } |
Public Member Functions | |
PANA_MsgHeader () | |
virtual | ~PANA_MsgHeader () |
UCHAR | version () |
void | version (UCHAR ver) |
ACE_UINT32 | length () |
void | length (ACE_UINT32 len) |
PANA_MsgHeader::Flags & | flags () |
void | flags (PANA_MsgHeader::Flags flg) |
ACE_UINT32 | type () |
void | type (ACE_UINT32 typ) |
ACE_UINT32 | tseq () |
void | tseq (ACE_UINT32 seq) |
ACE_UINT32 | rseq () |
void | rseq (ACE_UINT32 seq) |
AAADictionaryHandle * | getDictHandle () |
void | setDictHandle (AAADictionaryHandle *handle) |
Protected Attributes | |
UCHAR | version_ |
ACE_UINT32 | length_:24 |
PANA_MsgHeader::Flags | flags_ |
ACE_UINT32 | type_:24 |
ACE_UINT32 | tseq_ |
ACE_UINT32 | rseq_ |
AAADictionaryHandle * | dictHandle_ |
Definition at line 110 of file pana_message.h.
|
Default header length definition Definition at line 126 of file pana_message.h.
00126 {
00127 HeaderLength = 16 // length in UCHAR
00128 };
|
|
constructor Definition at line 131 of file pana_message.cxx. References dictHandle_, flags_, length_, rseq_, tseq_, type_, and version_.
00132 { 00133 version_ = PANA_VERSION; 00134 length_ = 0; 00135 type_ = 0; 00136 rseq_ = 0; 00137 tseq_ = 0; 00138 dictHandle_ = NULL; 00139 ACE_OS::memset(&flags_, 0, sizeof(PANA_MsgHeader::Flags)); 00140 } |
|
destructor Definition at line 139 of file pana_message.h.
00139 { } |
|
Access function that sets the header flags
Definition at line 175 of file pana_message.h.
00175 { flags_ = flg; } |
|
Access function that returns header flags Definition at line 168 of file pana_message.h.
00168 { return flags_; } |
|
returns the current dictionary handle Definition at line 214 of file pana_message.h.
00214 { return dictHandle_; } |
|
Access function that sets the message length
Definition at line 163 of file pana_message.h.
00163 { length_ = len; } |
|
Access function that returns message length Definition at line 156 of file pana_message.h.
00156 { return length_; } |
|
Access function that sets the receive sequence number
Definition at line 209 of file pana_message.h.
00209 { rseq_ = seq; } |
|
Access function that returns the receive sequence number Definition at line 202 of file pana_message.h.
00202 { return rseq_; } |
|
returns the current dictionary handle Definition at line 219 of file pana_message.h.
00219 { dictHandle_ = handle; } |
|
Access function that sets the transmitt sequence number
Definition at line 197 of file pana_message.h.
00197 { tseq_ = seq; } |
|
Access function that returns the transmitt sequence number Definition at line 190 of file pana_message.h.
00190 { return tseq_; } |
|
Access functions that sets the message type Definition at line 185 of file pana_message.h.
00185 { type_ = typ; } |
|
Access functions that returns the message type Definition at line 180 of file pana_message.h.
00180 { return type_; } |
|
Access function that sets the version number
Definition at line 151 of file pana_message.h.
00151 { version_ = ver; } |
|
Access function that returns the version number Definition at line 144 of file pana_message.h.
00144 { return version_; } |
|
Parser dictionary handle Definition at line 235 of file pana_message.h. Referenced by PANA_MsgHeader(). |
|
header flags Definition at line 227 of file pana_message.h. Referenced by PANA_MsgHeader(). |
|
packet length including header Definition at line 225 of file pana_message.h. Referenced by PANA_MsgHeader(). |
|
Receive sequence number Definition at line 233 of file pana_message.h. Referenced by PANA_MsgHeader(). |
|
Transmit sequence number Definition at line 231 of file pana_message.h. Referenced by PANA_MsgHeader(). |
|
Message types Definition at line 229 of file pana_message.h. Referenced by PANA_MsgHeader(). |
|
Protocol version Definition at line 223 of file pana_message.h. Referenced by PANA_MsgHeader(). |