#include <bamboomessage.h>
Inheritance diagram for BambooMessage:

Public Member Functions | |
| BambooMessage (MessageHeader *pHeader=0, BaseMessage *pContent=0) | |
| Constructor. | |
| BambooMessage (const BambooMessage &bambooMsg) | |
| Copy constructor. | |
| BambooMessage & | operator= (const BambooMessage bambooMsg) |
| Assignment operator. | |
| void | swap (const BambooMessage &bambooMsg) |
| Exchange *this's and rhs's data. | |
| ~BambooMessage () | |
| Destructor. | |
| void | setHeader (const MessageHeader *pHeader) |
| Sets the header of the BambooMessage object. | |
| void | setContent (const BaseMessage *pContent) |
| Sets the content of the BambooMesage object. | |
| const BaseMessage * | getContent () const |
| Returns BambooMessage content. | |
| const MessageHeader * | getHeader () const |
| Returns BambooMessage Header. | |
| void | toXML (XMLWriter &writer) const |
| Writes an XML serialization of this object using writer object. | |
| void | processMessage () const |
| Executes some instructions in order to process this message. | |
| std::string | toString () const |
| Returns a String representation of Bamboo Message. | |
| BambooMessage & | copy () const |
| Returns a copy of this message. | |
Protected Attributes | |
| const BaseMessage * | m_pContent |
| BambooMessage content. | |
| const MessageHeader * | m_pHeader |
| BambooMessage header. | |
In one message, we have a require part, the header, and then an optional part, i.e, content, request or answer..
Yves Houpert <yves.houpert@insa-rouen.fr>
|
||||||||||||
|
Constructor.
|
|
|
Copy constructor.
|
|
|
Returns a copy of this message.
Implements BaseMessage. |
|
|
Returns BambooMessage content.
|
|
|
Returns BambooMessage Header.
|
|
|
Assignment operator.
|
|
|
Sets the content of the BambooMesage object.
|
|
|
Sets the header of the BambooMessage object.
|
|
|
Exchange *this's and rhs's data.
|
|
|
Returns a String representation of Bamboo Message.
Implements BaseMessage. |
|
|
Writes an XML serialization of this object using writer object.
Implements BaseMessage. |
1.4.6