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