Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SmartSockets::MessageEventHandler Class Reference

#include <tevent.h>

List of all members.

Public Types

typedef void(MessageEventHandler::* Handler )(MessageEvent &event, TipcMsg &msg)

Public Methods

virtual void onMessage (MessageEvent &event, TipcMsg &msg)


Detailed Description

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


Member Typedef Documentation

typedef void(MessageEventHandler::* SmartSockets::MessageEventHandler::Handler)( MessageEvent& event, TipcMsg& msg)
 

Signature for the message event handler methods.

Parameters:
event  the message event that registered this handler to the dispatcher.
msg  the message that triggered this event handler.


Member Function Documentation

virtual void SmartSockets::MessageEventHandler::onMessage MessageEvent   event,
TipcMsg   msg
[inline, virtual]
 

Default method for handling messsage events.

Parameters:
event  the message event that registered this handler to the dispatcher.
msg  the message that triggered this event handler.


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