Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SmartSockets::ConnEventHandler Class Reference

#include <tevent.h>

List of all members.

Public Types

typedef void(ConnEventHandler::* Handler )(ConnEvent &event, TipcConn &conn, T_IO_CHECK_MODE checkMode)

Public Methods

virtual void onConnEvent (ConnEvent &event, TipcConn &conn, T_IO_CHECK_MODE checkMode)


Detailed Description

Base class that has the interface and default implementation for the ConnEvent handlers. Classes inheriting from this will have either an overloaded version of onConnEvent(), or a method matching the Handler prototype invoked by the dispatcher whenever a ConnEvent is triggered.


Member Typedef Documentation

typedef void(ConnEventHandler::* SmartSockets::ConnEventHandler::Handler)( ConnEvent& event, TipcConn& conn, T_IO_CHECK_MODE checkMode)
 

Signature for the ConnEvent handler methods.

Parameters:
event  the ConnEvent that registered this handler with the TipcDispatcher.
conn  the peer-to-peer connection that triggered this event handler.
checkMode  variable that determines whether there's data to be read from (T_IO_CHECK_READ) or written to a connection (T_IO_CHECK_WRITE).


Member Function Documentation

virtual void SmartSockets::ConnEventHandler::onConnEvent ConnEvent   event,
TipcConn   conn,
T_IO_CHECK_MODE    checkMode
[inline, virtual]
 

Default implementation for the ConnEvent handler methods.

Parameters:
event  the ConnEvent that registered this handler with the TipcDispatcher.
conn  the peer-to-peer connection that triggered this event handler.
checkMode  variable that determines whether there's data to be read from (T_IO_CHECK_READ) or written to a connection (T_IO_CHECK_WRITE).


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