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

MsgHandler.hpp

Go to the documentation of this file.
00001 #ifndef MSGHANDLER_H
00002 #define MSGHANDLER_H
00003 
00004 class MsgHandler;
00005 
00006 #include "Session.hpp"
00007 
00008 #include <string>
00009 
00013 class MsgHandler {
00014  public:
00021         virtual void execute(const string& data, msgHeader1& header,
00022                                 Session* conn) = 0;
00023 
00027         inline static int getMsgType();
00028 
00032         inline static int getRelease();
00033 
00034  protected:
00040         static const int msg_type = 0;
00041         
00046         static const int release = 1;
00047 };
00048 
00049 #endif

Generated on Sun Jan 20 20:59:59 2002 for bkmd by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001