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

ClntMsgRequest.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: ClntMsgRequest.h,v 1.2 2004/06/20 17:51:48 thomson Exp $
00010  *
00011  * $Log: ClntMsgRequest.h,v $
00012  * Revision 1.2  2004/06/20 17:51:48  thomson
00013  * getName() method implemented, comment cleanup
00014  *
00015  *
00016  */
00017 
00018 class TClntIfaceMgr;
00019 #ifndef CLNTMSGREQUEST_H
00020 #define CLNTMSGREQUEST_H
00021 
00022 #include "SmartPtr.h"
00023 #include "ClntMsg.h"
00024 #include "ClntAddrMgr.h"
00025 #include "ClntCfgMgr.h"
00026 #include "ClntIfaceMgr.h"
00027 #include "ClntCfgMgr.h"
00028 
00029 class TClntMsgRequest : public TClntMsg
00030 {
00031   public:
00032     TClntMsgRequest(SmartPtr<TClntIfaceMgr> IfMgr, 
00033                     SmartPtr<TClntTransMgr> TransMgr,
00034                     SmartPtr<TClntCfgMgr>   ConfMgr, 
00035                     SmartPtr<TClntAddrMgr>  AddrMgr, 
00036                     TContainer< SmartPtr<TOpt> > opts, 
00037                     TContainer< SmartPtr<TMsg> > advs,
00038                     int iface);
00039     TClntMsgRequest(SmartPtr<TClntIfaceMgr> IfaceMgr, 
00040                                  SmartPtr<TClntTransMgr> TransMgr,
00041                                  SmartPtr<TClntCfgMgr>   CfgMgr, 
00042                                  SmartPtr<TClntAddrMgr> AddrMgr, 
00043                  TContainer<SmartPtr<TAddrIA> > requestIALst,
00044                  SmartPtr<TDUID> srvDUID,
00045                                  int iface);
00046 
00047     void answer(SmartPtr<TMsg> msg);
00048     void doDuties();
00049     bool check();
00050     string getName();
00051     ~TClntMsgRequest();
00052   private:
00053     SmartPtr<TClntAddrMgr> AddrMgr;
00054     TContainer< SmartPtr<TMsg> > BackupSrvLst;
00055 
00056 };
00057 
00058 #endif /* CLNTMSGREQUEST_H */
00059 

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