00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 class TSrvMsgRequest;
00022 #ifndef SRVMSGREQUEST_H
00023 #define SRVMSGREQUEST_H
00024
00025 #include "SmartPtr.h"
00026 #include "SrvMsg.h"
00027 #include "SrvAddrMgr.h"
00028 #include "SrvCfgMgr.h"
00029 #include "SrvIfaceMgr.h"
00030 #include "IPv6Addr.h"
00031
00032 class TSrvMsgRequest : public TSrvMsg
00033 {
00034 public:
00035 TSrvMsgRequest(SmartPtr<TSrvIfaceMgr> IfMgr,
00036 SmartPtr<TSrvTransMgr> TransMgr,
00037 SmartPtr<TSrvCfgMgr> ConfMgr,
00038 SmartPtr<TSrvAddrMgr> AddrMgr,
00039 int iface);
00040
00041 TSrvMsgRequest(SmartPtr<TSrvIfaceMgr> IfMgr,
00042 SmartPtr<TSrvTransMgr> TransMgr,
00043 SmartPtr<TSrvCfgMgr> ConfMgr,
00044 SmartPtr<TSrvAddrMgr> AddrMgr,
00045 int iface, SmartPtr<TIPv6Addr> addr, char* buf, int bufSize);
00046
00047 void doDuties();
00048 bool check();
00049 unsigned long getTimeout();
00050 ~TSrvMsgRequest();
00051 string getName();
00052
00053 private:
00054 SmartPtr<TSrvAddrMgr> AddrMgr;
00055 };
00056
00057
00058 #endif
00059