xorp

XrlFinderV0p2Client Class Reference

List of all members.

Public Types

typedef XorpCallback2< void,
const XrlError &, const string * >
::RefPtr 
RegisterFinderClientCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
UnregisterFinderClientCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
SetFinderClientEnabledCB
typedef XorpCallback2< void,
const XrlError &, const bool * >
::RefPtr 
FinderClientEnabledCB
typedef XorpCallback2< void,
const XrlError &, const string * >
::RefPtr 
AddXrlCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RemoveXrlCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
ResolveXrlCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
GetXrlTargetsCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
GetXrlsRegisteredByCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
GetIpv4PermittedHostsCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
GetIpv4PermittedNetsCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
GetIpv6PermittedHostsCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
GetIpv6PermittedNetsCB
typedef XorpCallback2< void,
const XrlError &, const string * >
::RefPtr 
RegisterFinderClientCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
UnregisterFinderClientCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
SetFinderClientEnabledCB
typedef XorpCallback2< void,
const XrlError &, const bool * >
::RefPtr 
FinderClientEnabledCB
typedef XorpCallback2< void,
const XrlError &, const string * >
::RefPtr 
AddXrlCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RemoveXrlCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
ResolveXrlCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
GetXrlTargetsCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
GetXrlsRegisteredByCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
GetIpv4PermittedHostsCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
GetIpv4PermittedNetsCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
GetIpv6PermittedHostsCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
GetIpv6PermittedNetsCB

Public Member Functions

 XrlFinderV0p2Client (XrlSender *s)
bool send_register_finder_client (const char *dst_xrl_target_name, const string &instance_name, const string &class_name, const bool &singleton, const string &in_cookie, const RegisterFinderClientCB &cb)
 Send Xrl intended to:
bool send_unregister_finder_client (const char *dst_xrl_target_name, const string &instance_name, const UnregisterFinderClientCB &cb)
bool send_set_finder_client_enabled (const char *dst_xrl_target_name, const string &instance_name, const bool &enabled, const SetFinderClientEnabledCB &cb)
 Send Xrl intended to:
bool send_finder_client_enabled (const char *dst_xrl_target_name, const string &instance_name, const FinderClientEnabledCB &cb)
 Send Xrl intended to:
bool send_add_xrl (const char *dst_xrl_target_name, const string &xrl, const string &protocol_name, const string &protocol_args, const AddXrlCB &cb)
 Send Xrl intended to:
bool send_remove_xrl (const char *dst_xrl_target_name, const string &xrl, const RemoveXrlCB &cb)
 Send Xrl intended to:
bool send_resolve_xrl (const char *dst_xrl_target_name, const string &xrl, const ResolveXrlCB &cb)
 Send Xrl intended to:
bool send_get_xrl_targets (const char *dst_xrl_target_name, const GetXrlTargetsCB &cb)
 Send Xrl intended to:
bool send_get_xrls_registered_by (const char *dst_xrl_target_name, const string &target_name, const GetXrlsRegisteredByCB &cb)
 Send Xrl intended to:
bool send_get_ipv4_permitted_hosts (const char *dst_xrl_target_name, const GetIpv4PermittedHostsCB &cb)
 Send Xrl intended to:
bool send_get_ipv4_permitted_nets (const char *dst_xrl_target_name, const GetIpv4PermittedNetsCB &cb)
 Send Xrl intended to:
bool send_get_ipv6_permitted_hosts (const char *dst_xrl_target_name, const GetIpv6PermittedHostsCB &cb)
 Send Xrl intended to:
bool send_get_ipv6_permitted_nets (const char *dst_xrl_target_name, const GetIpv6PermittedNetsCB &cb)
 Send Xrl intended to:
 XrlFinderV0p2Client (XrlSender *s)
bool send_register_finder_client (const char *dst_xrl_target_name, const string &instance_name, const string &class_name, const bool &singleton, const string &in_cookie, const RegisterFinderClientCB &cb)
 Send Xrl intended to:
bool send_unregister_finder_client (const char *dst_xrl_target_name, const string &instance_name, const UnregisterFinderClientCB &cb)
bool send_set_finder_client_enabled (const char *dst_xrl_target_name, const string &instance_name, const bool &enabled, const SetFinderClientEnabledCB &cb)
 Send Xrl intended to:
bool send_finder_client_enabled (const char *dst_xrl_target_name, const string &instance_name, const FinderClientEnabledCB &cb)
 Send Xrl intended to:
bool send_add_xrl (const char *dst_xrl_target_name, const string &xrl, const string &protocol_name, const string &protocol_args, const AddXrlCB &cb)
 Send Xrl intended to:
bool send_remove_xrl (const char *dst_xrl_target_name, const string &xrl, const RemoveXrlCB &cb)
 Send Xrl intended to:
bool send_resolve_xrl (const char *dst_xrl_target_name, const string &xrl, const ResolveXrlCB &cb)
 Send Xrl intended to:
bool send_get_xrl_targets (const char *dst_xrl_target_name, const GetXrlTargetsCB &cb)
 Send Xrl intended to:
bool send_get_xrls_registered_by (const char *dst_xrl_target_name, const string &target_name, const GetXrlsRegisteredByCB &cb)
 Send Xrl intended to:
bool send_get_ipv4_permitted_hosts (const char *dst_xrl_target_name, const GetIpv4PermittedHostsCB &cb)
 Send Xrl intended to:
bool send_get_ipv4_permitted_nets (const char *dst_xrl_target_name, const GetIpv4PermittedNetsCB &cb)
 Send Xrl intended to:
bool send_get_ipv6_permitted_hosts (const char *dst_xrl_target_name, const GetIpv6PermittedHostsCB &cb)
 Send Xrl intended to:
bool send_get_ipv6_permitted_nets (const char *dst_xrl_target_name, const GetIpv6PermittedNetsCB &cb)
 Send Xrl intended to:

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_register_finder_client (const XrlError &e, XrlArgs *a, RegisterFinderClientCB cb)
static void unmarshall_unregister_finder_client (const XrlError &e, XrlArgs *a, UnregisterFinderClientCB cb)
static void unmarshall_set_finder_client_enabled (const XrlError &e, XrlArgs *a, SetFinderClientEnabledCB cb)
static void unmarshall_finder_client_enabled (const XrlError &e, XrlArgs *a, FinderClientEnabledCB cb)
static void unmarshall_add_xrl (const XrlError &e, XrlArgs *a, AddXrlCB cb)
static void unmarshall_remove_xrl (const XrlError &e, XrlArgs *a, RemoveXrlCB cb)
static void unmarshall_resolve_xrl (const XrlError &e, XrlArgs *a, ResolveXrlCB cb)
static void unmarshall_get_xrl_targets (const XrlError &e, XrlArgs *a, GetXrlTargetsCB cb)
static void unmarshall_get_xrls_registered_by (const XrlError &e, XrlArgs *a, GetXrlsRegisteredByCB cb)
static void unmarshall_get_ipv4_permitted_hosts (const XrlError &e, XrlArgs *a, GetIpv4PermittedHostsCB cb)
static void unmarshall_get_ipv4_permitted_nets (const XrlError &e, XrlArgs *a, GetIpv4PermittedNetsCB cb)
static void unmarshall_get_ipv6_permitted_hosts (const XrlError &e, XrlArgs *a, GetIpv6PermittedHostsCB cb)
static void unmarshall_get_ipv6_permitted_nets (const XrlError &e, XrlArgs *a, GetIpv6PermittedNetsCB cb)
static void unmarshall_register_finder_client (const XrlError &e, XrlArgs *a, RegisterFinderClientCB cb)
static void unmarshall_unregister_finder_client (const XrlError &e, XrlArgs *a, UnregisterFinderClientCB cb)
static void unmarshall_set_finder_client_enabled (const XrlError &e, XrlArgs *a, SetFinderClientEnabledCB cb)
static void unmarshall_finder_client_enabled (const XrlError &e, XrlArgs *a, FinderClientEnabledCB cb)
static void unmarshall_add_xrl (const XrlError &e, XrlArgs *a, AddXrlCB cb)
static void unmarshall_remove_xrl (const XrlError &e, XrlArgs *a, RemoveXrlCB cb)
static void unmarshall_resolve_xrl (const XrlError &e, XrlArgs *a, ResolveXrlCB cb)
static void unmarshall_get_xrl_targets (const XrlError &e, XrlArgs *a, GetXrlTargetsCB cb)
static void unmarshall_get_xrls_registered_by (const XrlError &e, XrlArgs *a, GetXrlsRegisteredByCB cb)
static void unmarshall_get_ipv4_permitted_hosts (const XrlError &e, XrlArgs *a, GetIpv4PermittedHostsCB cb)
static void unmarshall_get_ipv4_permitted_nets (const XrlError &e, XrlArgs *a, GetIpv4PermittedNetsCB cb)
static void unmarshall_get_ipv6_permitted_hosts (const XrlError &e, XrlArgs *a, GetIpv6PermittedHostsCB cb)
static void unmarshall_get_ipv6_permitted_nets (const XrlError &e, XrlArgs *a, GetIpv6PermittedNetsCB cb)

Private Attributes

auto_ptr< Xrlap_xrl_register_finder_client
auto_ptr< Xrlap_xrl_unregister_finder_client
auto_ptr< Xrlap_xrl_set_finder_client_enabled
auto_ptr< Xrlap_xrl_finder_client_enabled
auto_ptr< Xrlap_xrl_add_xrl
auto_ptr< Xrlap_xrl_remove_xrl
auto_ptr< Xrlap_xrl_resolve_xrl
auto_ptr< Xrlap_xrl_get_xrl_targets
auto_ptr< Xrlap_xrl_get_xrls_registered_by
auto_ptr< Xrlap_xrl_get_ipv4_permitted_hosts
auto_ptr< Xrlap_xrl_get_ipv4_permitted_nets
auto_ptr< Xrlap_xrl_get_ipv6_permitted_hosts
auto_ptr< Xrlap_xrl_get_ipv6_permitted_nets

Member Function Documentation

bool XrlFinderV0p2Client::send_add_xrl ( const char *  dst_xrl_target_name,
const string &  xrl,
const string &  protocol_name,
const string &  protocol_args,
const AddXrlCB &  cb 
)

Send Xrl intended to:

Add resolved Xrl into system, fails if xrl is already registered.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_add_xrl ( const char *  dst_xrl_target_name,
const string &  xrl,
const string &  protocol_name,
const string &  protocol_args,
const AddXrlCB &  cb 
)

Send Xrl intended to:

Add resolved Xrl into system, fails if xrl is already registered.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_finder_client_enabled ( const char *  dst_xrl_target_name,
const string &  instance_name,
const FinderClientEnabledCB &  cb 
)

Send Xrl intended to:

Get enabled state information associated with finder client.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_finder_client_enabled ( const char *  dst_xrl_target_name,
const string &  instance_name,
const FinderClientEnabledCB &  cb 
)

Send Xrl intended to:

Get enabled state information associated with finder client.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_get_ipv4_permitted_hosts ( const char *  dst_xrl_target_name,
const GetIpv4PermittedHostsCB &  cb 
)

Send Xrl intended to:

Get list of IPv4 hosts that clients should accept IPC requests from.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_get_ipv4_permitted_hosts ( const char *  dst_xrl_target_name,
const GetIpv4PermittedHostsCB &  cb 
)

Send Xrl intended to:

Get list of IPv4 hosts that clients should accept IPC requests from.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_get_ipv4_permitted_nets ( const char *  dst_xrl_target_name,
const GetIpv4PermittedNetsCB &  cb 
)

Send Xrl intended to:

Get list of IPv4 nets that clients should accept IPC requests from.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_get_ipv4_permitted_nets ( const char *  dst_xrl_target_name,
const GetIpv4PermittedNetsCB &  cb 
)

Send Xrl intended to:

Get list of IPv4 nets that clients should accept IPC requests from.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_get_ipv6_permitted_hosts ( const char *  dst_xrl_target_name,
const GetIpv6PermittedHostsCB &  cb 
)

Send Xrl intended to:

Get list of IPv6 hosts that clients should accept IPC requests from.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_get_ipv6_permitted_hosts ( const char *  dst_xrl_target_name,
const GetIpv6PermittedHostsCB &  cb 
)

Send Xrl intended to:

Get list of IPv6 hosts that clients should accept IPC requests from.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_get_ipv6_permitted_nets ( const char *  dst_xrl_target_name,
const GetIpv6PermittedNetsCB &  cb 
)

Send Xrl intended to:

Get list of IPv6 nets that clients should accept IPC requests from.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_get_ipv6_permitted_nets ( const char *  dst_xrl_target_name,
const GetIpv6PermittedNetsCB &  cb 
)

Send Xrl intended to:

Get list of IPv6 nets that clients should accept IPC requests from.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_get_xrl_targets ( const char *  dst_xrl_target_name,
const GetXrlTargetsCB &  cb 
)

Send Xrl intended to:

Get list of registered Xrl targets

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_get_xrl_targets ( const char *  dst_xrl_target_name,
const GetXrlTargetsCB &  cb 
)

Send Xrl intended to:

Get list of registered Xrl targets

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_get_xrls_registered_by ( const char *  dst_xrl_target_name,
const string &  target_name,
const GetXrlsRegisteredByCB &  cb 
)

Send Xrl intended to:

Get list of Xrls registered by target

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_get_xrls_registered_by ( const char *  dst_xrl_target_name,
const string &  target_name,
const GetXrlsRegisteredByCB &  cb 
)

Send Xrl intended to:

Get list of Xrls registered by target

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_register_finder_client ( const char *  dst_xrl_target_name,
const string &  instance_name,
const string &  class_name,
const bool &  singleton,
const string &  in_cookie,
const RegisterFinderClientCB &  cb 
)

Send Xrl intended to:

Register client with Finder. Once client has been registered Xrl registrations may proceed. Once Xrl registrations have have been completed the client needs to be enabled for the Finder to respond to queries about the client. Fails if instance_name is already registered, or another instance of the same class is registered as a singleton. The client must support the finder_client interface in order to be able to process messages from the finder.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_register_finder_client ( const char *  dst_xrl_target_name,
const string &  instance_name,
const string &  class_name,
const bool &  singleton,
const string &  in_cookie,
const RegisterFinderClientCB &  cb 
)

Send Xrl intended to:

Register client with Finder. Once client has been registered Xrl registrations may proceed. Once Xrl registrations have have been completed the client needs to be enabled for the Finder to respond to queries about the client. Fails if instance_name is already registered, or another instance of the same class is registered as a singleton. The client must support the finder_client interface in order to be able to process messages from the finder.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_remove_xrl ( const char *  dst_xrl_target_name,
const string &  xrl,
const RemoveXrlCB &  cb 
)

Send Xrl intended to:

Remove xrl

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_remove_xrl ( const char *  dst_xrl_target_name,
const string &  xrl,
const RemoveXrlCB &  cb 
)

Send Xrl intended to:

Remove xrl

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_resolve_xrl ( const char *  dst_xrl_target_name,
const string &  xrl,
const ResolveXrlCB &  cb 
)

Send Xrl intended to:

Resolve Xrl

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_resolve_xrl ( const char *  dst_xrl_target_name,
const string &  xrl,
const ResolveXrlCB &  cb 
)

Send Xrl intended to:

Resolve Xrl

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_set_finder_client_enabled ( const char *  dst_xrl_target_name,
const string &  instance_name,
const bool &  enabled,
const SetFinderClientEnabledCB &  cb 
)

Send Xrl intended to:

Enable resolution of Xrls associated with target. Disabling Xrls at present does not cause clients to flush state associated with target so cached entries in clients are unaffected by this Xrl. Caller must be client that registered Xrl.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlFinderV0p2Client::send_set_finder_client_enabled ( const char *  dst_xrl_target_name,
const string &  instance_name,
const bool &  enabled,
const SetFinderClientEnabledCB &  cb 
)

Send Xrl intended to:

Enable resolution of Xrls associated with target. Disabling Xrls at present does not cause clients to flush state associated with target so cached entries in clients are unaffected by this Xrl. Caller must be client that registered Xrl.

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