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

RelMsg.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: RelMsg.h,v 1.3 2005/01/13 22:45:55 thomson Exp $
00010  *
00011  * $Log: RelMsg.h,v $
00012  * Revision 1.3  2005/01/13 22:45:55  thomson
00013  * Relays implemented.
00014  *
00015  * Revision 1.2  2005/01/11 23:35:22  thomson
00016  * *** empty log message ***
00017  *
00018  * Revision 1.1  2005/01/11 22:53:35  thomson
00019  * Relay skeleton implemented.
00020  *
00021  */
00022 
00023 class TRelMsg;
00024 #ifndef RELMSG_H
00025 #define RELMSG_H
00026 
00027 #include "RelCommon.h"
00028 #include "Msg.h"
00029 #include "Iface.h"
00030 
00031 class TRelMsg : public TMsg
00032 {
00033 public:
00034     TRelMsg(TCtx * ctx, int iface,  SmartPtr<TIPv6Addr> addr, char* data,  int dataLen);
00035     virtual bool check() = 0;
00036     void setDestination(int ifindex, SmartPtr<TIPv6Addr> dest);
00037     int getDestIface();
00038     SmartPtr<TIPv6Addr> getDestAddr();
00039     
00040  protected:
00041     TCtx * Ctx;
00042     int DestIface;
00043     SmartPtr<TIPv6Addr>   DestAddr;
00044 };
00045 
00046 #endif
00047 

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