#include <vos/corelibs/vos/messageblock.hh>
Inheritance diagram for VOS::MessageBlock:
It is used for various purposes. One useful feature of a message block is that it is processed all at once: the first message will not be delivered until the entire message block has been received, parsed and queued. This is be useful for supporting transactions.
Definition at line 64 of file messageblock.hh.
|
Definition at line 35 of file messageblock.cc. |
|
Definition at line 46 of file messageblock.cc. |
|
Retrieve a message from this messageblock.
Definition at line 75 of file messageblock.cc. |
|
Get the macro name.
Definition at line 57 of file messageblock.cc. |
|
Get the XML-like textual representation of this messageblock, suitable for sending over the network.
Definition at line 95 of file messageblock.cc. |
|
Add a message to the message block.
Definition at line 67 of file messageblock.cc. |
|
Convenience function returns the last message in this messageblock.
Definition at line 83 of file messageblock.cc. Referenced by VOS::RemoteStreamSite::flushIncomingBuffers(), VOS::RemoteSocketSite::flushIncomingBuffers(), and getString(). |
|
Get the number of messages in the messageblock.
Definition at line 90 of file messageblock.cc. |
|
Internal parsing function. Update the current partial parse of this messageblock with new data.
Definition at line 136 of file messageblock.cc. Referenced by VOS::RemoteStreamSite::flushIncomingBuffers(), and VOS::RemoteSocketSite::flushIncomingBuffers(). |
|
Remove a message from the message block.
|
|
Set the message block macro name, which can then be refered back to later in a message using <include>. If this is blank, the message block will not be used as a macro template.
Definition at line 62 of file messageblock.cc. |