Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ReqMsg.h
Go to the documentation of this file.
1 /*
2  * Dibbler - a portable DHCPv6
3  *
4  * authors: Tomasz Mrugalski <thomson@klub.com.pl>
5  *
6  * released under GNU GPL v2 only licence
7  *
8  */
9 
10 #ifndef REQMSG_H
11 #define REQMSG_H
12 
13 #include <string>
14 #include "Msg.h"
15 #include "SmartPtr.h"
16 
17 class TReqMsg: public TMsg
18 {
19 public:
20  TReqMsg(int iface, SPtr<TIPv6Addr> addr, int msgType);
21  // used to create TMsg object based on received char[] data
22  TReqMsg(int iface, SPtr<TIPv6Addr> addr, char* &buf, int &bufSize);
23  void addOption(SPtr<TOpt> opt);
24 
25  std::string getName() const;
26 };
27 
28 #endif
29