Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

MsgHandler Class Reference

#include <MsgHandler.hpp>

Inheritance diagram for MsgHandler::

Msg001 Msg101 Msg301 Msg306 Msg307 Msg308 Msg341 List of all members.

Public Methods

virtual void execute (const string &data, msgHeader1 &header, Session *conn)=0

Static Public Methods

int getMsgType ()
int getRelease ()

Static Protected Attributes

const int msg_type = 0
const int release = 1

Detailed Description

Represents one message type from the bkmd protocol standard.


Member Function Documentation

virtual void MsgHandler::execute const string &    data,
msgHeader1   header,
Session   conn
[pure virtual]
 

Handle an incoming message.

Parameters:
data  The incoming data excluding the header.
header  Extracted header information.
conn  The client that sent this message.

Reimplemented in Msg001, Msg101, Msg301, Msg306, Msg307, Msg308, and Msg341.

int MsgHandler::getMsgType   [inline, static]
 

Get the message type this handler is responsible for.

int MsgHandler::getRelease   [inline, static]
 

Get the release this handler is responsible for.


Member Data Documentation

const int MsgHandler::msg_type = 0 [static, protected]
 

Message type this handler is responsible for. See the protocol specification for all available message types.

Reimplemented in Msg001, Msg101, Msg301, Msg306, Msg307, Msg308, and Msg341.

const int MsgHandler::release = 1 [static, protected]
 

The release this handler is responsible for. At the moment, only release '1' exists.


The documentation for this class was generated from the following files:
Generated on Sun Jan 20 20:59:59 2002 for bkmd by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001