Inheritance diagram for TraceOutput:

Trace output displays the network communication between the client and server. It is therefore an essential tool for debugging.
Hunny Mail++ allows you to integrate trace output with your own debugging output facility. To do this, you must define a subclass of TraceOutput, create an instance of that class, and call one of the member functions Imap4Client::SetTraceOutput(), NntpClient::SetTraceOutput(), Pop3Client::SetTraceOutput(), or SmtpClient::SetTraceOutput() to install your TraceOutput instance.
To send trace output to standard output, you may use the library's StdTraceOutput class.
Public Member Functions | |
| virtual | ~TraceOutput () |
| Destructor. | |
| virtual void | Send (const char *buffer, unsigned length)=0 |
| Logs the client-to-server stream. | |
| virtual void | Receive (const char *buffer, unsigned length)=0 |
| Logs the server-to-client stream. | |
|
|
Destructor. |
|
||||||||||||
|
Logs the server-to-client stream. The library calls this virtual function when it receives bytes over the network from the server.
Implemented in StdTraceOutput. |
|
||||||||||||
|
Logs the client-to-server stream. The library calls this virtual function when it sends bytes over the network to the server.
Implemented in StdTraceOutput. |
Copyright © 2001-2005 Hunny Software, Inc. All rights reserved.