#include <CHMllpWrapper.h>
Inheritance diagram for CHMllpWrapper:
This is an implementation of the CHMwrapper object that supports the LLP protocol. The LLP protocol consists of preceding the message with a "\x0B" character and trailing it with "\x1C\x0D"
Public Member Functions | |
CHMllpWrapper () | |
Constructor. | |
virtual | ~CHMllpWrapper () |
Destructor. | |
virtual void | AddWrapper (CHMstring &MessageData) |
Wrap an outgoing message MessageDate . | |
virtual CHMboolean | DetectMessage (CHMstring &Buffer, CHMstring &Message) |
Detect and unwrap a message in an incoming stream. | |
const CHMchar * | LLPheader () const |
Get the LLP header. | |
const CHMchar * | LLPtrailer () const |
Get the LLP trailer. | |
void | setLLPheader (const CHMchar *NewValue) |
Set the LLP header. | |
void | setLLPtrailer (const CHMchar *NewValue) |
Set the LLPtrailer. |
|
Constructor.
|
|
Destructor.
|
|
Wrap an outgoing message
Implements CHMwrapper. |
|
Detect and unwrap a message in an incoming stream.
This routine removes the read data from Implements CHMwrapper. |
|
Get the LLP header. By default this is a "\x0B" character. |
|
Get the LLP trailer. By default this is "\x1C\x0D". |
|
Set the LLP header. By default this is a "\x0B" character. |
|
Set the LLPtrailer. By default this is "\x1C\x0D". |