00001 #ifndef MSGHANDLERS_H
00002 #define MSGHANDLERS_H
00003
00004 #include "MsgHandler.hpp"
00005 #include "Session.hpp"
00006
00012 class Msg001: public MsgHandler {
00013 protected:
00014 static const int msg_type = 001;
00015 public:
00019 void execute(const string& data, msgHeader1& header, Session* conn);
00020 };
00021
00026 class Msg101: public MsgHandler {
00027 protected:
00028 static const int msg_type = 101;
00029 public:
00033 void execute(const string& data, msgHeader1& header, Session* conn);
00034 };
00035
00040 class Msg301: public MsgHandler {
00041 protected:
00042 static const int msg_type = 301;
00043 public:
00050 void execute(const string& data, msgHeader1& header, Session* conn);
00051 };
00052
00053
00058 class Msg306: public MsgHandler {
00059 protected:
00060 static const int msg_type = 306;
00061 public:
00066 void execute(const string& data, msgHeader1& header, Session* conn);
00067 };
00068
00072 class Msg307: public MsgHandler {
00073 protected:
00074 static const int msg_type = 307;
00075 public:
00080 void execute(const string& data, msgHeader1& header, Session* conn);
00081 };
00082
00087 class Msg308: public MsgHandler {
00088 protected:
00089 static const int msg_type = 308;
00090 public:
00095 void execute(const string& data, msgHeader1& header, Session* conn);
00096 };
00097
00098
00099
00100
00101
00102 class Msg341: public MsgHandler {
00103 protected:
00104 static const int msg_type = 341;
00105 public:
00111 void execute(const string& data, msgHeader1& header, Session* conn);
00112 };
00113
00114 #endif