Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SrvMsgConfirm.h
Go to the documentation of this file.
1 /*
2  * Dibbler - a portable DHCPv6
3  *
4  * authors: Tomasz Mrugalski <thomson@klub.com.pl>
5  * Marek Senderski <msend@o2.pl>
6  *
7  * released under GNU GPL v2 only licence
8  *
9  * $Id: SrvMsgConfirm.h,v 1.5 2008-08-29 00:07:34 thomson Exp $
10  *
11  */
12 
13 #ifndef SRVMSGCONFIRM_H
14 #define SRVMSGCONFIRM_H
15 #include "SrvMsg.h"
16 #include "SrvIfaceMgr.h"
17 #include "SrvTransMgr.h"
18 #include "SrvCfgMgr.h"
19 #include "SrvAddrMgr.h"
20 
21 // Client sends CONFIRM to a server to verify that his addresses
22 // are still valid. It could happen when:
23 // 1. client has restated
24 // 2. client changed link
25 class TSrvMsgConfirm : public TSrvMsg
26 {
27  public:
28  TSrvMsgConfirm(int iface, SPtr<TIPv6Addr> addr, char* buf, int bufSize);
29  void doDuties();
30  bool check();
31  unsigned long getTimeout();
33  std::string getName() const;
34 
35 };
36 #endif /* SRVMSGCONFIRM_H*/
37