class FinderNGClient


Definition#include <finder_ng_client.hh>
InheritsFinderMessengerManager [public ], FinderNGClientXrlCommandInterface [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Protected Methods

Protected Members


Detailed Description

typedef XorpCallback2<void, const XrlError&, const FinderDBEntry*>::RefPtr QueryCallback

QueryCallback

typedef ref_ptr<FinderNGClientOp> Operation

Operation

typedef list<Operation> OperationQueue

OperationQueue

typedef map<string, FinderDBEntry> ResolvedTable

ResolvedTable

typedef map<string, string> LocalResolvedTable

LocalResolvedTable

typedef vector<string> TargetIdList

TargetIdList

 FinderNGClient ()

FinderNGClient

 ~FinderNGClient ()

~FinderNGClient

[virtual]

bool  register_xrl_target (const string& instance_name, const string& class_name, uint32_t& target_id)

register_xrl_target

bool  unregister_xrl_target (uint32_t target_id)

unregister_xrl_target

bool  register_xrl (uint32_t target_id, const string& xrl, const string& pf_name, const string& pf_args)

register_xrl

bool  enable_xrls (uint32_t target_id)

enable_xrls

void  query (const string& key, const QueryCallback& qcb)

query

bool  query_self (const string& incoming_xrl_command, string& local_xrl_command)

query_self

[const]

bool  forward_finder_xrl (const Xrl&, const XrlPFSender::SendCallback&)

forward_finder_xrl

FinderMessengerBase*  messenger ()

messenger

inline OperationQueue&  todo_list ()

todo_list

inline OperationQueue&  done_list ()

done_list

void  notify_done (const FinderNGClientOp* completed)

notify_done

void  notify_failed (const FinderNGClientOp* completed)

notify_failed

inline XrlCmdMap&  commands ()

commands

inline bool  connected ()

connected

[const]

void  messenger_birth_event (FinderMessengerBase*)

messenger_birth_event

[protected]

Reimplemented from FinderMessengerManager.

void  messenger_death_event (FinderMessengerBase*)

messenger_death_event

[protected]

Reimplemented from FinderMessengerManager.

void  messenger_active_event (FinderMessengerBase*)

messenger_active_event

[protected]

Reimplemented from FinderMessengerManager.

void  messenger_inactive_event (FinderMessengerBase*)

messenger_inactive_event

[protected]

Reimplemented from FinderMessengerManager.

void  messenger_stopped_event (FinderMessengerBase*)

messenger_stopped_event

[protected]

Reimplemented from FinderMessengerManager.

bool  manages (const FinderMessengerBase*)

manages

[protected const]

Reimplemented from FinderMessengerManager.

void  uncache_xrl (const string& xrl)

uncache_xrl

[protected]

Reimplemented from FinderNGClientXrlCommandInterface.

void  uncache_xrls_from_target (const string& target)

uncache_xrls_from_target

[protected]

Reimplemented from FinderNGClientXrlCommandInterface.

void  crank ()

crank

[protected]

void  prepare_for_restart ()

prepare_for_restart

[protected]

OperationQueue _todo_list

_todo_list

[protected]

OperationQueue _done_list

_done_list

[protected]

ResolvedTable _rt

_rt

[protected]

LocalResolvedTable _lrt

_lrt

[protected]

TargetIdList _tids

_tids

[protected]

XrlCmdMap _commands

_commands

[protected]

FinderMessengerBase* _messenger

_messenger

[protected]

bool _pending_result

_pending_result

[protected]

bool _xrls_registered

_xrls_registered

[protected]


Generated by: pavlin on possum.icir.org on Mon Mar 10 19:34:49 2003, using kdoc 2.0a54+XORP.