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

RelParsIfaceOpt.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: RelParsIfaceOpt.h,v 1.1 2005/01/11 22:53:35 thomson Exp $
00010  *
00011  * $Log: RelParsIfaceOpt.h,v $
00012  * Revision 1.1  2005/01/11 22:53:35  thomson
00013  * Relay skeleton implemented.
00014  *
00015  */
00016 
00017 #ifndef RELPARSIFACEOPT_H_
00018 #define RELPARSIFACEOPT_H_
00019 
00020 #include "SmartPtr.h"
00021 #include "IPv6Addr.h"
00022 
00023 class TRelParsIfaceOpt
00024 {
00025 public:
00026     TRelParsIfaceOpt(void);
00027     ~TRelParsIfaceOpt(void);
00028 
00029     void setClientUnicast(SmartPtr<TIPv6Addr> addr);
00030     void setServerUnicast(SmartPtr<TIPv6Addr> addr);
00031     void setClientMulticast(bool unicast);
00032     void setServerMulticast(bool unicast);
00033 
00034     SmartPtr<TIPv6Addr> getServerUnicast();
00035     SmartPtr<TIPv6Addr> getClientUnicast();
00036     bool getServerMulticast();
00037     bool getClientMulticast();
00038 
00039     void setInterfaceID(int id);
00040     int getInterfaceID();
00041 
00042 private:
00043     SmartPtr<TIPv6Addr> ClientUnicast;
00044     SmartPtr<TIPv6Addr> ServerUnicast;
00045     bool ClientMulticast;
00046     bool ServerMulticast;
00047 
00048     int InterfaceID;
00049 };
00050 
00051 #endif
00052 

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