Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SrvMsgSolicit.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  * $Id: SrvMsgSolicit.h,v 1.6 2008-08-29 00:07:35 thomson Exp $
10  *
11  */
12 
13 class TSrvMsgSolicit;
14 #ifndef SRVMSGSOLICIT_H
15 #define SRVMSGSOLICIT_H
16 #include "SrvMsg.h"
17 #include "SmartPtr.h"
18 
19 class TSrvMsgSolicit : public TSrvMsg
20 {
21  public:
22  TSrvMsgSolicit(int iface, SPtr<TIPv6Addr> addr, char* buf, int bufSzie);
23 
24  void doDuties();
25  void sortAnswers();
26  std::string getName() const;
27  unsigned long getTimeout();
28  bool check();
30 
31  private:
32  void setAttribs(int iface, char* addr, int msgType);
33 };
34 #endif /* SRVMSGSOLICIT_H*/
35