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.2 2004/06/20 17:25:07 thomson Exp $
00010  *
00011  * $Log: SrvMsgSolicit.h,v $
00012  * Revision 1.2  2004/06/20 17:25:07  thomson
00013  * getName() method implemented, clean up
00014  *
00015  *                                                                           
00016  */
00017 
00018 class TSrvMsgSolicit;
00019 #ifndef SRVMSGSOLICIT_H
00020 #define SRVMSGSOLICIT_H
00021 #include "SrvMsg.h"
00022 #include "SrvCfgMgr.h"
00023 #include "SrvIfaceMgr.h"
00024 #include "SrvTransMgr.h"
00025 #include "SrvAddrMgr.h"
00026 
00027 #include "SmartPtr.h"
00028 
00029 class TSrvMsgSolicit : public TSrvMsg
00030 {
00031  public:
00032     TSrvMsgSolicit(SmartPtr<TSrvIfaceMgr> ifaceMgr, 
00033                    SmartPtr<TSrvTransMgr> transMgr,
00034                    SmartPtr<TSrvCfgMgr>   cfgMgr,
00035                    SmartPtr<TSrvAddrMgr>  addrMgr,
00036                    int iface, SmartPtr<TIPv6Addr> addr,
00037                    char* buf, int bufSzie);
00038 
00039     void answer(SmartPtr<TMsg> msg);
00040 
00041     void doDuties();
00042     void sortAnswers();
00043     string getName();
00044     unsigned long getTimeout();
00045     bool check();
00046     void send();
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 Mon Dec 27 21:55:23 2004 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1