Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

SrvMsgInfRequest.h

Go to the documentation of this file.
00001 /*
00002  * Dibbler - a portable DHCPv6
00003  *
00004  * authors: Tomasz Mrugalski <thomson@klub.com.pl>
00005  *          Marek Senderski <msend@o2.pl>
00006  *
00007  * released under GNU GPL v2 or later licence
00008  *
00009  * $Id: SrvMsgInfRequest.h,v 1.2 2004/06/20 17:25:07 thomson Exp $
00010  *
00011  * $Log: SrvMsgInfRequest.h,v $
00012  * Revision 1.2  2004/06/20 17:25:07  thomson
00013  * getName() method implemented, clean up
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 /* SRVMSGINFREQUEST_H */
00057 

Generated on Mon Dec 27 21:55:23 2004 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1