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: ClntMsgConfirm.h,v 1.2 2004/06/20 17:51:48 thomson Exp $ 00010 * 00011 * $Log: ClntMsgConfirm.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 TClntMsgConfirm; 00019 00020 #ifndef CLNTMSGCONFIRM_H 00021 #define CLNTMSGCONFIRM_H 00022 #include "ClntMsg.h" 00023 #include "ClntIfaceMgr.h" 00024 #include "ClntCfgIface.h" 00025 #include "ClntCfgIA.h" 00026 00027 class TClntMsgConfirm : public TClntMsg 00028 { 00029 public: 00030 00031 TClntMsgConfirm(SmartPtr<TClntIfaceMgr> IfaceMgr, 00032 SmartPtr<TClntTransMgr> TransMgr, 00033 SmartPtr<TClntCfgMgr> CfgMgr, 00034 SmartPtr<TClntAddrMgr> AddrMgr, 00035 unsigned int iface, 00036 TContainer<SmartPtr<TAddrIA> > iaLst); 00037 bool check(); 00038 void answer(SmartPtr<TMsg> Rep); 00039 void doDuties(); 00040 unsigned long getTimeout(); 00041 string getName(); 00042 00043 void addrsAccepted(); 00044 void addrsRejected(); 00045 ~TClntMsgConfirm(); 00046 00047 }; 00048 #endif /* CLNTMSGCONFIRM_H */ 00049