#include <Message.h>
Public Types | |
| typedef vector< unsigned char > | BufferType |
| Internal data format. | |
Public Member Functions | |
| Message () | |
| Creates a Message with an empty buffer. | |
| Message (const BufferType &buff) | |
| Creates a Message from an existing buffer. | |
| Message (const string &aString) | |
| Creates a Message from a string. | |
| Message (const unsigned char *buff, int len) | |
| Creates a Message from an array of unsigned characters. | |
| Message (const Message &aMessage) | |
| Creates a Message from another Message. | |
| void | fill (const Message &aMessage) |
| Append the contents of another Message to the internal buffer. | |
| void | fill (const BufferType &buff) |
| Append the contents of a buffer to the internal buffer. | |
| void | fill (const string &aString) |
| Append the contents of a string to the internal buffer. | |
| void | fill (const unsigned char *buff, int len) |
| Append the contents of an array of uchars to the internal buffer. | |
| void | fill (unsigned char a) |
| Append a single unsigned character to the internal buffer. | |
| const unsigned char * | buffer () const |
| The buffer as an array of unsigned characters. | |
| unsigned int | length () const |
| The length of the buffer. | |
| string | messageString () const |
| The buffer as a string. | |
The internal structure is a vector of unsigned characters.
Definition at line 35 of file CODEX_Quorum/Message.h.
1.4.1