Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SmartSockets::ErrorCallBack Class Reference

#include <tcallbck.h>

List of all members.

Public Types

typedef void(ErrorCallBack::* Handler )(CallBack< ErrorCallBack > *callBack, Exception &error, TipcConn &conn)

Public Methods

 ErrorCallBack ()
virtual ~ErrorCallBack () throw ()
virtual void onError (CallBack< ErrorCallBack > *callBack, Exception &error, TipcConn &conn)


Detailed Description

The error callback class impelements the CallBack template It can be triggered for error callbacks.

Upon triggering, onError is the default method executed.


Constructor & Destructor Documentation

SmartSockets::ErrorCallBack::ErrorCallBack   [inline]
 

Constructor

virtual SmartSockets::ErrorCallBack::~ErrorCallBack   throw () [inline, virtual]
 

Destructor


Member Function Documentation

virtual void SmartSockets::ErrorCallBack::onError CallBack< ErrorCallBack > *    callBack,
Exception   error,
TipcConn   conn
[virtual]
 

Default method called when an error callback is triggered. Prints the relevent callback, connection and exception information.

Parameters:
callBack  the callback that was triggered
conn  the connection on which the callback was triggered
error  the exception that triggered the callback.


The documentation for this class was generated from the following file:
Generated on Fri Jul 14 15:05:55 2006 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001