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