Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

SrvMsgSolicit.h

Go to the documentation of this file.
00001 /*                                                                           
00002  * Dibbler - a portable DHCPv6                                               
00003  *                                                                           
00004  * authors: Tomasz Mrugalski <thomson@klub.com.pl>                           
00005  *          Marek Senderski <msend@o2.pl>                                    
00006  *                                                                           
00007  * released under GNU GPL v2 or later licence                                
00008  *                                                                           
00009  * $Id: SrvMsgSolicit.h,v 1.3 2005/01/08 16:52:04 thomson Exp $
00010  *
00011  * $Log: SrvMsgSolicit.h,v $
00012  * Revision 1.3  2005/01/08 16:52:04  thomson
00013  * Relay support implemented.
00014  *
00015  * Revision 1.2  2004/06/20 17:25:07  thomson
00016  * getName() method implemented, clean up
00017  *
00018  *                                                                           
00019  */
00020 
00021 class TSrvMsgSolicit;
00022 #ifndef SRVMSGSOLICIT_H
00023 #define SRVMSGSOLICIT_H
00024 #include "SrvMsg.h"
00025 #include "SrvCfgMgr.h"
00026 #include "SrvIfaceMgr.h"
00027 #include "SrvTransMgr.h"
00028 #include "SrvAddrMgr.h"
00029 
00030 #include "SmartPtr.h"
00031 
00032 class TSrvMsgSolicit : public TSrvMsg
00033 {
00034  public:
00035     TSrvMsgSolicit(SmartPtr<TSrvIfaceMgr> ifaceMgr, 
00036                    SmartPtr<TSrvTransMgr> transMgr,
00037                    SmartPtr<TSrvCfgMgr>   cfgMgr,
00038                    SmartPtr<TSrvAddrMgr>  addrMgr,
00039                    int iface, SmartPtr<TIPv6Addr> addr,
00040                    char* buf, int bufSzie);
00041 
00042     void doDuties();
00043     void sortAnswers();
00044     string getName();
00045     unsigned long getTimeout();
00046     bool check();
00047     ~TSrvMsgSolicit();
00048 
00049 private:
00050         void setAttribs(SmartPtr<TSrvIfaceMgr> IfaceMgr, 
00051            SmartPtr<TSrvTransMgr> TransMgr, 
00052            SmartPtr<TSrvCfgMgr> CfgMgr,
00053            SmartPtr<TSrvAddrMgr> AddrMgr,
00054             int iface, 
00055             char* addr, 
00056             int msgType);
00057 };
00058 #endif /* SRVMSGSOLICIT_H*/
00059 

Generated on Wed Mar 16 00:10:29 2005 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1