📄 finder_event_observer_xif.hh
字号:
/* * Copyright (c) 2001-2007 International Computer Science Institute * See LICENSE file for licensing, conditions, and warranties on use. * * DO NOT EDIT THIS FILE - IT IS PROGRAMMATICALLY GENERATED * * Generated by 'clnt-gen'. * * $XORP: xorp/xrl/interfaces/finder_event_observer_xif.hh,v 1.13 2007/02/16 22:47:38 pavlin Exp $ */#ifndef __XRL_INTERFACES_FINDER_EVENT_OBSERVER_XIF_HH__#define __XRL_INTERFACES_FINDER_EVENT_OBSERVER_XIF_HH__#undef XORP_LIBRARY_NAME#define XORP_LIBRARY_NAME "XifFinderEventObserver"#include "libxorp/xlog.h"#include "libxorp/callback.hh"#include "libxipc/xrl.hh"#include "libxipc/xrl_error.hh"#include "libxipc/xrl_sender.hh"class XrlFinderEventObserverV0p1Client {public: XrlFinderEventObserverV0p1Client(XrlSender* s) : _sender(s) {} virtual ~XrlFinderEventObserverV0p1Client() {} typedef XorpCallback1<void, const XrlError&>::RefPtr XrlTargetBirthCB; /** * Send Xrl intended to: * * Announce target birth to observer. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param target_class the target class name. * * @param target_instance the target instance name. */ bool send_xrl_target_birth( const char* dst_xrl_target_name, const string& target_class, const string& target_instance, const XrlTargetBirthCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr XrlTargetDeathCB; /** * Send Xrl intended to: * * Announce target death to observer. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param target_class the target class name. * * @param target_instance the target instance name. */ bool send_xrl_target_death( const char* dst_xrl_target_name, const string& target_class, const string& target_instance, const XrlTargetDeathCB& cb );protected: XrlSender* _sender;private: void unmarshall_xrl_target_birth( const XrlError& e, XrlArgs* a, XrlTargetBirthCB cb ); void unmarshall_xrl_target_death( const XrlError& e, XrlArgs* a, XrlTargetDeathCB cb );};#endif /* __XRL_INTERFACES_FINDER_EVENT_OBSERVER_XIF_HH__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -