Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SmartSockets::TipcConnSearchSelector Class Reference

#include <tconn.h>

List of all members.

Public Types

typedef bool(TipcConnSearchSelector::* Handler )(const TipcConn &conn, const TipcMsg &msg)

Public Methods

 TipcConnSearchSelector ()
void setHandler (Handler cbMethod)
Handler getHandler ()
virtual ~TipcConnSearchSelector () throw ()
virtual bool onSearch (const TipcConn &conn, const TipcMsg &msg) throw ()

Static Public Methods

T_BOOL T_ENTRY searchFuncDelegator (T_IPC_CONN connection, T_IPC_MSG msg, T_PTR arg)


Detailed Description

Selector class to be used by TipcConn::search().


Member Typedef Documentation

typedef bool(TipcConnSearchSelector::* SmartSockets::TipcConnSearchSelector::Handler)( const TipcConn & conn, const TipcMsg& msg )
 

Signature for the search method.

Parameters:
conn  - connection currently being searched.
msg  - current message message.
Returns:
true to stop searching; false otherwise.


Constructor & Destructor Documentation

virtual SmartSockets::TipcConnSearchSelector::~TipcConnSearchSelector   throw () [virtual]
 

Destructor.


Member Function Documentation

Handler SmartSockets::TipcConnSearchSelector::getHandler  
 

Gets the current handler method.

virtual bool SmartSockets::TipcConnSearchSelector::onSearch const TipcConn   conn,
const TipcMsg   msg
throw () [virtual]
 

Default search method.

Parameters:
conn  - connection currently being searched.
msg  - current message message.
Returns:
true to stop searching; false otherwise.

void SmartSockets::TipcConnSearchSelector::setHandler Handler    cbMethod
 

Sets the current handler method; if this is not called, the default method onSearch() is called


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