?? finder_event_observer_xif.cc
字號(hào):
/* * Copyright (c) 2001-2003 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'. */#ident "$XORP: xorp/xrl/interfaces/finder_event_observer_xif.cc,v 1.4 2003/08/07 04:52:25 hodson Exp $"#include "finder_event_observer_xif.hh"boolXrlFinderEventObserverV0p1Client::send_xrl_target_birth( const char* the_tgt, const string& target_class, const string& target_instance, const XrlTargetBirthCB& cb){ Xrl x(the_tgt, "finder_event_observer/0.1/xrl_target_birth"); x.args().add("target_class", target_class); x.args().add("target_instance", target_instance); return _sender->send(x, callback(this, &XrlFinderEventObserverV0p1Client::unmarshall_xrl_target_birth, cb));}/* Unmarshall xrl_target_birth */voidXrlFinderEventObserverV0p1Client::unmarshall_xrl_target_birth( const XrlError& e, XrlArgs* a, XrlTargetBirthCB cb){ if (e != XrlError::OKAY()) { cb->dispatch(e); return; } else if (a && a->size() != 0) { XLOG_ERROR("Wrong number of arguments (%u != 0)", (uint32_t)a->size()); cb->dispatch(XrlError::BAD_ARGS()); return; } cb->dispatch(e);}boolXrlFinderEventObserverV0p1Client::send_xrl_target_death( const char* the_tgt, const string& target_class, const string& target_instance, const XrlTargetDeathCB& cb){ Xrl x(the_tgt, "finder_event_observer/0.1/xrl_target_death"); x.args().add("target_class", target_class); x.args().add("target_instance", target_instance); return _sender->send(x, callback(this, &XrlFinderEventObserverV0p1Client::unmarshall_xrl_target_death, cb));}/* Unmarshall xrl_target_death */voidXrlFinderEventObserverV0p1Client::unmarshall_xrl_target_death( const XrlError& e, XrlArgs* a, XrlTargetDeathCB cb){ if (e != XrlError::OKAY()) { cb->dispatch(e); return; } else if (a && a->size() != 0) { XLOG_ERROR("Wrong number of arguments (%u != 0)", (uint32_t)a->size()); cb->dispatch(XrlError::BAD_ARGS()); return; } cb->dispatch(e);}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -