Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ClntMsgRequest.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  * changes: Krzysztof Wnuk <keczi@poczta.onet.pl>
7  * released under GNU GPL v2 only licence
8  *
9  */
10 
11 class TClntIfaceMgr;
12 #ifndef CLNTMSGREQUEST_H
13 #define CLNTMSGREQUEST_H
14 
15 #include "SmartPtr.h"
16 #include "ClntMsg.h"
17 
18 class TClntMsgRequest : public TClntMsg
19 {
20  public:
21  TClntMsgRequest(TOptList opts, int iface);
23  SPtr<TDUID> srvDUID,
24  int iface);
25 
26  void answer(SPtr<TClntMsg> msg);
27  void doDuties();
28  bool check();
29  std::string getName() const;
31  private:
32  void setState(TOptList opts, EState state);
35 };
36 
37 #endif /* CLNTMSGREQUEST_H */
38