Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ClntMsgAdvertise.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: ClntMsgAdvertise.h,v 1.6 2008-08-29 00:07:28 thomson Exp $
10  *
11  */
12 
13 #ifndef SRVMSGADVERTISE_H
14 #define SRVMSGADVERTISE_H
15 
16 #include "ClntMsg.h"
17 
19 {
20  public:
21  /* TClntMsgAdvertise(int iface, SPtr<TIPv6Addr> addr); */
22 
24  char* buf, int bufSize);
25 
26  // returns preference value (default value is 0)
27  int getPreference();
28  bool check();
29  void answer(SPtr<TClntMsg> Rep);
30  void doDuties();
31  std::string getName() const;
32  std::string getInfo();
34 };
35 
36 #endif
37