TextMessage (class)
Constructors:
(none)
General Description: Message pattern for creating specific message to send and receive.
Parent Class: Message
Methods
=(const char* str);
=(const TextMessage& s); Assign a new string to object.
+=(const char* str);
+=(const TextMessage& s); Append string to object.
const char* GetBuffer(void) const; Get the text.
char* Wrap(int& Bytes) const; Wrap-up object to send.bool Unwrap(char* package, int Bytes,
int MsgNum); Unwrap received object.
GetSize(void) const; Get length of string.
void SetSize(int Bytes); Set string length.
int GetAvailable(void) const; Get available bytes in buffer.
Exceptions Thrown
(none),