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: ClntMsgInfRequest.h,v 1.2 2004/06/20 17:51:48 thomson Exp $ 00010 * 00011 * $Log: ClntMsgInfRequest.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 CLNTMSGINFREQUEST_H 00020 #define CLNTMSGINFREQUEST_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 TClntMsgInfRequest : public TClntMsg 00030 { 00031 public: 00032 TClntMsgInfRequest(SmartPtr<TClntIfaceMgr> IfMgr, 00033 SmartPtr<TClntTransMgr> TransMgr, 00034 SmartPtr<TClntCfgMgr> ConfMgr, 00035 SmartPtr<TClntAddrMgr> AddrMgr, 00036 TContainer< SmartPtr<TOpt> > ReqOpts, 00037 int iface); 00038 00039 TClntMsgInfRequest(SmartPtr<TClntIfaceMgr> IfMgr, 00040 SmartPtr<TClntTransMgr> TransMgr, 00041 SmartPtr<TClntCfgMgr> ConfMgr, 00042 SmartPtr<TClntAddrMgr> AddrMgr, 00043 SmartPtr<TClntCfgIface> iface); 00044 00045 void answer(SmartPtr<TMsg> msg); 00046 void doDuties(); 00047 bool check(); 00048 string getName(); 00049 ~TClntMsgInfRequest(); 00050 00051 private: 00052 SmartPtr<TClntAddrMgr> AddrMgr; 00053 }; 00054 00055 00056 00057 #endif 00058