| 
		| Source: ../../xrl/interfaces/rtrmgr_client_xif.hh |  
		|  |  
 |  | 
 
/*
 * Copyright (c) 2001-2004 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/rtrmgr_client_xif.hh,v 1.10 2004/06/10 22:42:04 hodson Exp $
 */
#ifndef __XRL_INTERFACES_RTRMGR_CLIENT_XIF_HH__
#define __XRL_INTERFACES_RTRMGR_CLIENT_XIF_HH__
#undef XORP_LIBRARY_NAME
#define XORP_LIBRARY_NAME "XifRtrmgrClient"
#include "libxorp/xlog.h"
#include "libxorp/callback.hh"
#include "libxipc/xrl.hh"
#include "libxipc/xrl_error.hh"
#include "libxipc/xrl_sender.hh"
class XrlRtrmgrClientV0p1Client {
public:
    XrlRtrmgrClientV0p1Client(XrlSender* s) : _sender(s) {}
    virtual ~XrlRtrmgrClientV0p1Client() {}
    typedef XorpCallback1<void, const XrlError&>::RefPtr NewConfigUserCB;
    bool send_new_config_user(
	const char*	target_name,
	const uint32_t&	userid,
	const NewConfigUserCB&	cb
    );
    typedef XorpCallback1<void, const XrlError&>::RefPtr ConfigChangeDoneCB;
    bool send_config_change_done(
	const char*	target_name,
	const bool&	success,
	const string&	errmsg,
	const ConfigChangeDoneCB&	cb
    );
    typedef XorpCallback1<void, const XrlError&>::RefPtr ConfigChangedCB;
    bool send_config_changed(
	const char*	target_name,
	const uint32_t&	userid,
	const string&	deltas,
	const string&	deletions,
	const ConfigChangedCB&	cb
    );
protected:
    XrlSender* _sender;
private:
    void unmarshall_new_config_user(
	const XrlError&	e,
	XrlArgs*	a,
	NewConfigUserCB		cb
    );
    void unmarshall_config_change_done(
	const XrlError&	e,
	XrlArgs*	a,
	ConfigChangeDoneCB		cb
    );
    void unmarshall_config_changed(
	const XrlError&	e,
	XrlArgs*	a,
	ConfigChangedCB		cb
    );
};
#endif /* __XRL_INTERFACES_RTRMGR_CLIENT_XIF_HH__ */
	
Generated by: pavlin on possum.icir.org on Thu Jul  8 23:48:16 2004, using kdoc $.