00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef SRVMSGADVERTISE_H
00019 #define SRVMSGADVERTISE_H
00020
00021 #include "ClntMsg.h"
00022
00023 class TClntMsgAdvertise : public TClntMsg
00024 {
00025 public:
00026 TClntMsgAdvertise(SmartPtr<TClntIfaceMgr> IfaceMgr,
00027 SmartPtr<TClntTransMgr> TransMgr,
00028 SmartPtr<TClntCfgMgr> CfgMgr,
00029 SmartPtr<TClntAddrMgr> AddrMgr,
00030 int iface, SmartPtr<TIPv6Addr> addr);
00031
00032 TClntMsgAdvertise(SmartPtr<TClntIfaceMgr> IfaceMgr,
00033 SmartPtr<TClntTransMgr> TransMgr,
00034 SmartPtr<TClntCfgMgr> CfgMgr,
00035 SmartPtr<TClntAddrMgr> AddrMgr,
00036 int iface, SmartPtr<TIPv6Addr> addr,
00037 char* buf, int bufSize);
00038
00039
00040 int getPreference();
00041 bool check();
00042 void answer(SmartPtr<TMsg> Rep);
00043 void doDuties();
00044 string getName();
00045 ~TClntMsgAdvertise();
00046 };
00047
00048 #endif
00049