#include <CHMtransport.h>
Inheritance diagram for CHMtransport:
This is a pure virtual class which forms the interface to the transport layer. Sub-classes of this can implement various types of transports whether they be TCP/IP sockets, serial links, etc.
Public Member Functions | |
CHMtransport () | |
Constructor. | |
virtual | ~CHMtransport () |
Destructor. | |
CHMengine * | Engine () |
Get the CHMengine object associated with this CHMtransport class. | |
CHMoutputLog * | Log () |
Get the CHMoutputLog object associated with the CHMengine object that is associated with this CHMtransport class. | |
virtual void | OnError (size_t Code, const CHMchar *Description) |
OnError event. | |
virtual void | SendResponseMessage (const CHMstring &MessageData, size_t TransportIndex)=0 |
Send a response message. | |
void | SetEngine (CHMengine *pEngine) |
Assign the CHMengine object pEngine to this CHMtransport class. | |
CHMwrapper * | Wrapper () |
Get the CHMwrapper object associated with the CHMengine object that is associated with this CHMtransport class. |
|
Constructor.
|
|
Destructor.
|
|
Get the CHMengine object associated with this CHMtransport class.
|
|
Get the CHMoutputLog object associated with the CHMengine object that is associated with
|
|
OnError event. This event may be invoked when an error occurs. |
|
Send a response message.
This method is called by the CHMwrapper class to send the response back to the counter party at Implemented in CHMmfcSocketTransport. |
|
Assign the CHMengine object The CHMtransport class does not take ownership of the engine. |
|
Get the CHMwrapper object associated with the CHMengine object that is associated with The CHMwrapper object is responsible for implementing the wrapping protocol associated with this class |