debug_conn Class Reference

Write the length data that would be transferred to the console. More...

Inheritance diagram for debug_conn:

connection

List of all members.

Public Member Functions

 debug_conn ()
int read (char *buffer, size length)
 Function to read data, return -1 on error or bytes.
int write (const char *buffer, size length)
 Function to write data, return -1 on error or bytes.
void close ()
 Function to close the current socket/file.
size length ()
 Length of the file, allways -1 on sockets.


Detailed Description

Write the length data that would be transferred to the console.

Constructor & Destructor Documentation

debug_conn::debug_conn (  )  [inline]


Member Function Documentation

int debug_conn::read ( char *  buffer,
size  length 
) [inline, virtual]

Function to read data, return -1 on error or bytes.

Implements connection.

int debug_conn::write ( const char *  buffer,
size  length 
) [inline, virtual]

Function to write data, return -1 on error or bytes.

Implements connection.

void debug_conn::close (  )  [inline, virtual]

Function to close the current socket/file.

Implements connection.

size debug_conn::length (  )  [inline, virtual]

Length of the file, allways -1 on sockets.

Implements connection.


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

Generated on Tue Jan 1 17:30:01 2008 for debug_conn Class Reference by  doxygen   Visit the project page on SourceForge.net Logo