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: ClntMsgRenew.h,v 1.4 2005/01/08 16:52:03 thomson Exp $ 00010 * 00011 * $Log: ClntMsgRenew.h,v $ 00012 * Revision 1.4 2005/01/08 16:52:03 thomson 00013 * Relay support implemented. 00014 * 00015 * Revision 1.3 2004/09/07 22:02:32 thomson 00016 * pref/valid/IAID is not unsigned, RAPID-COMMIT now works ok. 00017 * 00018 * Revision 1.2 2004/06/20 17:51:48 thomson 00019 * getName() method implemented, comment cleanup 00020 * 00021 */ 00022 00023 #ifndef CLNTMSGRENEW_H 00024 #define CLNTMSGRENEW_H 00025 #include "ClntMsg.h" 00026 #include "ClntOptIA_NA.h" 00027 00028 class TClntMsgRenew : public TClntMsg 00029 { 00030 public: 00031 TClntMsgRenew(SmartPtr<TClntIfaceMgr> IfaceMgr, 00032 SmartPtr<TClntTransMgr> TransMgr, 00033 SmartPtr<TClntCfgMgr> CfgMgr, 00034 SmartPtr<TClntAddrMgr> AddrMgr, 00035 TContainer<SmartPtr<TAddrIA> > ptrLstIA); 00036 00037 void answer(SmartPtr<TClntMsg> Rep); 00038 void doDuties(); 00039 bool check(); 00040 string getName(); 00041 ~TClntMsgRenew(); 00042 void updateIA(SmartPtr <TClntOptIA_NA> ptrOptIA); 00043 void releaseIA(long IAID); 00044 00045 private: 00046 }; 00047 00048 #endif 00049