Main Page | Class Hierarchy | Class List | Class Members

StdTraceOutput Class Reference

Inheritance diagram for StdTraceOutput:

TraceOutput List of all members.

Detailed Description

StdTraceOutput is a concrete subclass of the TraceOutput class. The StdTraceOuput class writes all output to the standard output.


Public Member Functions

 StdTraceOutput ()
 Default constructor.
virtual ~StdTraceOutput ()
 Destructor.
virtual void Send (const char *buffer, unsigned length)
 Logs the client-to-server stream.
virtual void Receive (const char *buffer, unsigned length)
 Logs the server-to-client stream.


Constructor & Destructor Documentation

StdTraceOutput  ) 
 

Default constructor.

~StdTraceOutput  )  [virtual]
 

Destructor.


Member Function Documentation

void Receive const char *  buffer,
unsigned  length
[virtual]
 

Logs the server-to-client stream.

The library calls this virtual function when it receives bytes over the network from the server.

Parameters:
buffer buffer that contains the bytes
length number of bytes in the buffer

Implements TraceOutput.

void Send const char *  buffer,
unsigned  length
[virtual]
 

Logs the client-to-server stream.

The library calls this virtual function when it sends bytes over the network to the server.

Parameters:
buffer buffer that contains the bytes
length number of bytes in the buffer

Implements TraceOutput.

Copyright © 2001-2005 Hunny Software, Inc. All rights reserved.