VMime
tracer Class Referenceabstract
Inheritance diagram for tracer:
Collaboration diagram for tracer:

Public Member Functions

virtual ~tracer ()
 
virtual void traceReceiveBytes (const size_t count, const string &state="")
 
virtual void traceSendBytes (const size_t count, const string &state="")
 
virtual void traceSend (const string &line)=0
 
virtual void traceReceive (const string &line)=0
 

Additional Inherited Members

- Protected Member Functions inherited from object
 object ()
 
 object (const object &)
 
objectoperator= (const object &)
 
virtual ~object ()
 

Detailed Description

Base class for an object used to trace network communication between the client and the server.

Constructor & Destructor Documentation

virtual ~tracer ( )
virtual

Member Function Documentation

virtual void traceReceive ( const string line)
pure virtual

Trace a response line which has been received.

Parameters
lineresponse line

Referenced by tracer::traceReceiveBytes().

void traceReceiveBytes ( const size_t  count,
const string state = "" 
)
virtual

Trace raw bytes which have been received.

Parameters
countnumber of bytes
stateprotocol state (eg. "SASL exchange"), or empty

References tracer::traceReceive().

virtual void traceSend ( const string line)
pure virtual

Trace a command line which has been sent.

Parameters
linecommand line

Referenced by tracer::traceSendBytes().

void traceSendBytes ( const size_t  count,
const string state = "" 
)
virtual

Trace raw bytes which have been sent.

Parameters
countnumber of bytes
stateprotocol state (eg. "SASL exchange"), or empty

References tracer::traceSend().


The documentation for this class was generated from the following files: