#include <OtherMessage.h>
Public Member Functions | |
uint32 | code () const |
uint8 * | msgBody () |
OtherMessageBuilder (void *buf, uint32 code, uint32 bodySize=0) | |
uint32 | size () const |
uint8 * | startAddress () |
Private Attributes | |
uint8 * | buf_ |
Header * | h_ |
Other type of Messages Represented here
code 1 | size 4 | msg_body 4
For now use can provide any code, in future we may restrict 0, 1 and 2.
Definition at line 17 of file OtherMessage.h.
uint32 OtherMessageBuilder::code | ( | ) | const [inline] |
Definition at line 29 of file OtherMessage.h.
References Header::code_, and h_.
uint8* OtherMessageBuilder::msgBody | ( | ) | [inline] |
Definition at line 31 of file OtherMessage.h.
References buf_.
Referenced by stor::EventServerProxy< RegInfo >::getInitMsgFromEventServer().
uint32 OtherMessageBuilder::size | ( | void | ) | const [inline] |
Definition at line 30 of file OtherMessage.h.
References convert32(), h_, and Header::size_.
Referenced by stor::EventServerProxy< RegInfo >::getInitMsgFromEventServer().
uint8* OtherMessageBuilder::startAddress | ( | ) | [inline] |
Definition at line 32 of file OtherMessage.h.
References buf_.
Referenced by stor::EventServerProxy< RegInfo >::getInitMsgFromEventServer().
{ return buf_; }
uint8* OtherMessageBuilder::buf_ [private] |
Definition at line 35 of file OtherMessage.h.
Referenced by msgBody(), and startAddress().
Header* OtherMessageBuilder::h_ [private] |
Definition at line 36 of file OtherMessage.h.
Referenced by code(), OtherMessageBuilder(), and size().