00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
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