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

Generated on Wed Mar 16 00:10:25 2005 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1