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