xorp

XrlFinderClientV0p2Client Class Reference

List of all members.

Public Types

typedef XorpCallback1< void,
const XrlError & >::RefPtr 
HelloCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RemoveXrlFromCacheCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RemoveXrlsForTargetFromCacheCB
typedef XorpCallback3< void,
const XrlError &, const
uint32_t *, const string * >
::RefPtr 
DispatchTunneledXrlCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
HelloCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RemoveXrlFromCacheCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RemoveXrlsForTargetFromCacheCB
typedef XorpCallback3< void,
const XrlError &, const
uint32_t *, const string * >
::RefPtr 
DispatchTunneledXrlCB

Public Member Functions

 XrlFinderClientV0p2Client (XrlSender *s)
bool send_hello (const char *dst_xrl_target_name, const HelloCB &cb)
 Send Xrl intended to:
bool send_remove_xrl_from_cache (const char *dst_xrl_target_name, const string &xrl, const RemoveXrlFromCacheCB &cb)
 Send Xrl intended to:
bool send_remove_xrls_for_target_from_cache (const char *dst_xrl_target_name, const string &target_name, const RemoveXrlsForTargetFromCacheCB &cb)
 Send Xrl intended to:
bool send_dispatch_tunneled_xrl (const char *dst_xrl_target_name, const string &xrl, const DispatchTunneledXrlCB &cb)
 Send Xrl intended to:
 XrlFinderClientV0p2Client (XrlSender *s)
bool send_hello (const char *dst_xrl_target_name, const HelloCB &cb)
 Send Xrl intended to:
bool send_remove_xrl_from_cache (const char *dst_xrl_target_name, const string &xrl, const RemoveXrlFromCacheCB &cb)
 Send Xrl intended to:
bool send_remove_xrls_for_target_from_cache (const char *dst_xrl_target_name, const string &target_name, const RemoveXrlsForTargetFromCacheCB &cb)
 Send Xrl intended to:
bool send_dispatch_tunneled_xrl (const char *dst_xrl_target_name, const string &xrl, const DispatchTunneledXrlCB &cb)
 Send Xrl intended to:

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_hello (const XrlError &e, XrlArgs *a, HelloCB cb)
static void unmarshall_remove_xrl_from_cache (const XrlError &e, XrlArgs *a, RemoveXrlFromCacheCB cb)
static void unmarshall_remove_xrls_for_target_from_cache (const XrlError &e, XrlArgs *a, RemoveXrlsForTargetFromCacheCB cb)
static void unmarshall_dispatch_tunneled_xrl (const XrlError &e, XrlArgs *a, DispatchTunneledXrlCB cb)
static void unmarshall_hello (const XrlError &e, XrlArgs *a, HelloCB cb)
static void unmarshall_remove_xrl_from_cache (const XrlError &e, XrlArgs *a, RemoveXrlFromCacheCB cb)
static void unmarshall_remove_xrls_for_target_from_cache (const XrlError &e, XrlArgs *a, RemoveXrlsForTargetFromCacheCB cb)
static void unmarshall_dispatch_tunneled_xrl (const XrlError &e, XrlArgs *a, DispatchTunneledXrlCB cb)

Private Attributes

auto_ptr< Xrlap_xrl_hello
auto_ptr< Xrlap_xrl_remove_xrl_from_cache
auto_ptr< Xrlap_xrl_remove_xrls_for_target_from_cache
auto_ptr< Xrlap_xrl_dispatch_tunneled_xrl

Member Function Documentation

bool XrlFinderClientV0p2Client::send_dispatch_tunneled_xrl ( const char *  dst_xrl_target_name,
const string &  xrl,
const DispatchTunneledXrlCB &  cb 
)

Send Xrl intended to:

Execute tunneled Xrl. Permits finder to call methods on clients through FinderClient.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderClientV0p2Client::send_dispatch_tunneled_xrl ( const char *  dst_xrl_target_name,
const string &  xrl,
const DispatchTunneledXrlCB &  cb 
)

Send Xrl intended to:

Execute tunneled Xrl. Permits finder to call methods on clients through FinderClient.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderClientV0p2Client::send_hello ( const char *  dst_xrl_target_name,
const HelloCB &  cb 
)

Send Xrl intended to:

No op method used by finder to poll for liveness.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderClientV0p2Client::send_hello ( const char *  dst_xrl_target_name,
const HelloCB &  cb 
)

Send Xrl intended to:

No op method used by finder to poll for liveness.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderClientV0p2Client::send_remove_xrl_from_cache ( const char *  dst_xrl_target_name,
const string &  xrl,
const RemoveXrlFromCacheCB &  cb 
)

Send Xrl intended to:

Remove Xrl from cache. The client should remove currently cached value for Xrl from it's cached. On the next invocation of Xrl, the client will need to consult the Finder for updated information, though implementations may consult the Finder for updated information before.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderClientV0p2Client::send_remove_xrl_from_cache ( const char *  dst_xrl_target_name,
const string &  xrl,
const RemoveXrlFromCacheCB &  cb 
)

Send Xrl intended to:

Remove Xrl from cache. The client should remove currently cached value for Xrl from it's cached. On the next invocation of Xrl, the client will need to consult the Finder for updated information, though implementations may consult the Finder for updated information before.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderClientV0p2Client::send_remove_xrls_for_target_from_cache ( const char *  dst_xrl_target_name,
const string &  target_name,
const RemoveXrlsForTargetFromCacheCB &  cb 
)

Send Xrl intended to:

Remove all Xrls relating to target from cache.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderClientV0p2Client::send_remove_xrls_for_target_from_cache ( const char *  dst_xrl_target_name,
const string &  target_name,
const RemoveXrlsForTargetFromCacheCB &  cb 
)

Send Xrl intended to:

Remove all Xrls relating to target from cache.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations