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

SrvMsgRequest.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: SrvMsgRequest.h,v 1.3 2005/01/08 16:52:04 thomson Exp $
00010  *
00011  * $Log: SrvMsgRequest.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 TSrvMsgRequest;
00022 #ifndef SRVMSGREQUEST_H
00023 #define SRVMSGREQUEST_H
00024 
00025 #include "SmartPtr.h"
00026 #include "SrvMsg.h"
00027 #include "SrvAddrMgr.h"
00028 #include "SrvCfgMgr.h"
00029 #include "SrvIfaceMgr.h"
00030 #include "IPv6Addr.h"
00031 
00032 class TSrvMsgRequest : public TSrvMsg
00033 {
00034   public:
00035     TSrvMsgRequest(SmartPtr<TSrvIfaceMgr> IfMgr, 
00036                    SmartPtr<TSrvTransMgr> TransMgr,
00037                    SmartPtr<TSrvCfgMgr>   ConfMgr, 
00038                    SmartPtr<TSrvAddrMgr>  AddrMgr, 
00039                    int iface);
00040 
00041     TSrvMsgRequest(SmartPtr<TSrvIfaceMgr> IfMgr, 
00042                    SmartPtr<TSrvTransMgr> TransMgr,
00043                    SmartPtr<TSrvCfgMgr>   ConfMgr, 
00044                    SmartPtr<TSrvAddrMgr>  AddrMgr, 
00045                    int iface, SmartPtr<TIPv6Addr> addr, char* buf, int bufSize);
00046         
00047     void doDuties();
00048     bool check();
00049     unsigned long getTimeout();
00050     ~TSrvMsgRequest();
00051     string getName();
00052 
00053   private:
00054     SmartPtr<TSrvAddrMgr> AddrMgr;
00055 };
00056 
00057 
00058 #endif /* SRVMSGREQUEST_H */
00059 

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