xorp

FinderXrlTarget Class Reference

Inheritance diagram for FinderXrlTarget:
XrlFinderTargetBase

List of all members.

Public Member Functions

 FinderXrlTarget (Finder &finder)
XrlCmdError common_0_1_get_target_name (string &name)
 Get name of Xrl Target.
XrlCmdError common_0_1_get_version (string &version)
 Get version string from Xrl Target.
XrlCmdError common_0_1_get_status (uint32_t &status, string &reason)
 Get status of Xrl Target.
XrlCmdError common_0_1_shutdown ()
 Request Xrl Target to shutdown.
XrlCmdError common_0_1_startup ()
 Pure-virtual function that needs to be implemented to:
XrlCmdError finder_0_2_register_finder_client (const string &target_name, const string &class_name, const bool &singleton, const string &in_cookie, string &out_cookie)
 Fails if target_name is already registered.
XrlCmdError finder_0_2_unregister_finder_client (const string &target_name)
XrlCmdError finder_0_2_set_finder_client_enabled (const string &target_name, const bool &en)
 Pure-virtual function that needs to be implemented to:
XrlCmdError finder_0_2_finder_client_enabled (const string &target_name, bool &en)
 Pure-virtual function that needs to be implemented to:
XrlCmdError finder_0_2_add_xrl (const string &xrl, const string &protocol_name, const string &protocol_args, string &resolved_xrl_method_name)
 Add resolved Xrl into system, fails if xrl is already registered.
XrlCmdError finder_0_2_remove_xrl (const string &xrl)
 Remove xrl.
XrlCmdError finder_0_2_resolve_xrl (const string &xrl, XrlAtomList &resolutions)
 Resolve Xrl.
XrlCmdError finder_0_2_get_xrl_targets (XrlAtomList &target_names)
 Get list of registered Xrl targets.
XrlCmdError finder_0_2_get_xrls_registered_by (const string &target_name, XrlAtomList &xrls)
 Get list of Xrls registered by target.
XrlCmdError finder_0_2_get_ipv4_permitted_hosts (XrlAtomList &ipv4s)
 Pure-virtual function that needs to be implemented to:
XrlCmdError finder_0_2_get_ipv4_permitted_nets (XrlAtomList &ipv4nets)
 Pure-virtual function that needs to be implemented to:
XrlCmdError finder_0_2_get_ipv6_permitted_hosts (XrlAtomList &ipv6s)
 Pure-virtual function that needs to be implemented to:
XrlCmdError finder_0_2_get_ipv6_permitted_nets (XrlAtomList &ipv6nets)
 Pure-virtual function that needs to be implemented to:
XrlCmdError finder_event_notifier_0_1_register_class_event_interest (const string &who, const string &class_name)
 Event notifier interface.
XrlCmdError finder_event_notifier_0_1_deregister_class_event_interest (const string &who, const string &class_name)
 Pure-virtual function that needs to be implemented to:
XrlCmdError finder_event_notifier_0_1_register_instance_event_interest (const string &who, const string &instance_name)
 Pure-virtual function that needs to be implemented to:
XrlCmdError finder_event_notifier_0_1_deregister_instance_event_interest (const string &who, const string &instance_name)
 Pure-virtual function that needs to be implemented to:

Protected Attributes

Finder_finder

Member Function Documentation

XrlCmdError FinderXrlTarget::common_0_1_startup ( ) [inline, virtual]

Pure-virtual function that needs to be implemented to:

Request a startup of Xrl Target

Implements XrlFinderTargetBase.

XrlCmdError FinderXrlTarget::finder_0_2_finder_client_enabled ( const string &  instance_name,
bool &  enabled 
) [virtual]

Pure-virtual function that needs to be implemented to:

Get enabled state information associated with finder client.

Implements XrlFinderTargetBase.

XrlCmdError FinderXrlTarget::finder_0_2_get_ipv4_permitted_hosts ( XrlAtomList ipv4s) [virtual]

Pure-virtual function that needs to be implemented to:

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

Implements XrlFinderTargetBase.

XrlCmdError FinderXrlTarget::finder_0_2_get_ipv4_permitted_nets ( XrlAtomList ipv4nets) [virtual]

Pure-virtual function that needs to be implemented to:

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

Implements XrlFinderTargetBase.

XrlCmdError FinderXrlTarget::finder_0_2_get_ipv6_permitted_hosts ( XrlAtomList ipv6s) [virtual]

Pure-virtual function that needs to be implemented to:

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

Implements XrlFinderTargetBase.

XrlCmdError FinderXrlTarget::finder_0_2_get_ipv6_permitted_nets ( XrlAtomList ipv6nets) [virtual]

Pure-virtual function that needs to be implemented to:

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

Implements XrlFinderTargetBase.

XrlCmdError FinderXrlTarget::finder_0_2_register_finder_client ( const string &  target_name,
const string &  class_name,
const bool &  singleton,
const string &  in_cookie,
string &  out_cookie 
) [virtual]

Fails if target_name is already registered.

The target_name must support the finder_client interface in order to be able to process messages from the finder.

Implements XrlFinderTargetBase.

XrlCmdError FinderXrlTarget::finder_0_2_set_finder_client_enabled ( const string &  instance_name,
const bool &  enabled 
) [virtual]

Pure-virtual function that needs to be implemented 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.

Implements XrlFinderTargetBase.

XrlCmdError FinderXrlTarget::finder_event_notifier_0_1_deregister_class_event_interest ( const string &  requester_instance,
const string &  class_name 
) [virtual]

Pure-virtual function that needs to be implemented to:

Deregister interest in events relating to a particular class.

Parameters:
requester_instanceinstance name of Xrl Target interested in receiving event notifications.
class_nameclass of Xrl Targets to stop event notifications for.

Implements XrlFinderTargetBase.

XrlCmdError FinderXrlTarget::finder_event_notifier_0_1_deregister_instance_event_interest ( const string &  requester_instance,
const string &  instance_name 
) [virtual]

Pure-virtual function that needs to be implemented to:

Register interest in events relating to a particular instance.

Parameters:
requester_instanceinstance name of Xrl Target interested in receiving event notifications.
instance_namename of Xrl Target instance to stop event notifications for.

Implements XrlFinderTargetBase.

XrlCmdError FinderXrlTarget::finder_event_notifier_0_1_register_instance_event_interest ( const string &  requester_instance,
const string &  instance_name 
) [virtual]

Pure-virtual function that needs to be implemented to:

Register interest in events relating to a particular instance. Following this call the requester will receive a birth event notification for the named instance if it exists. When the named instance dies, the requester will receive a death event notification. This method will fail if the named instance does not exist.

Parameters:
requester_instanceinstance name of Xrl Target interested in receiving event notifications.
instance_namename of Xrl Target instance to receive event notifications for.

Implements XrlFinderTargetBase.


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