class Finder


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Methods

Protected Members


Detailed Description

typedef list<FinderMessengerBase*> FinderMessengerList

FinderMessengerList

typedef map<FinderMessengerBase*, FinderXrlCommandQueue> OutQueueTable

OutQueueTable

typedef map<string, FinderTarget> TargetTable

TargetTable

typedef map<string, FinderClass> ClassTable

ClassTable

typedef list<string> Resolveables

Resolveables

typedef list<FinderEvent> EventQueue

EventQueue

 Finder (EventLoop& e)

Finder

 ~Finder ()

~Finder

[virtual]

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.

void  messenger_birth_event (FinderMessengerBase*)

messenger_birth_event

[protected]

Reimplemented from FinderMessengerManager.

void  messenger_death_event (FinderMessengerBase*)

messenger_death_event

[protected]

Reimplemented from FinderMessengerManager.

bool  manages (const FinderMessengerBase*)

manages

[protected const]

Reimplemented from FinderMessengerManager.

XrlCmdMap&  commands ()

commands

bool  add_target (const string& class_name, const string& instance_name, bool singleton, const string& cookie)

add_target

bool  active_messenger_represents_target (const string& target_name)

active_messenger_represents_target

[const]

bool  remove_target (const string& target_name)

remove_target

bool  remove_target_with_cookie (const string& cookie)

remove_target_with_cookie

bool  set_target_enabled (const string& target_name, bool en)

set_target_enabled

bool  target_enabled (const string& target_name, bool& is_enabled)

target_enabled

[const]

bool  add_resolution (const string& target, const string& key, const string& value)

add_resolution

bool  remove_resolutions (const string& target, const string& key)

remove_resolutions

bool  add_class_watch (const string& target, const string& class_to_watch)

add_class_watch

bool  remove_class_watch (const string& target, const string& class_to_watch)

remove_class_watch

bool  add_instance_watch (const string& target, const string& instance_to_watch)

add_instance_watch

bool  remove_instance_watch (const string& target, const string& instance_to_watch)

remove_instance_watch

const string&  primary_instance (const string& instance_or_class)

primary_instance

[const]

const Resolveables*  resolve (const string& target, const string& key)

resolve

size_t  messengers ()

messengers

[const]

bool  fill_target_list (list<string>& target_list)

fill_target_list

[const]

bool  fill_targets_xrl_list (const string& target, list<string>& xrl_list)

fill_targets_xrl_list

[const]

void  log_arrival_event (const string& class_name, const string& instance_name)

log_arrival_event

[protected]

Buffer event of instance becoming externally visible.

void  log_departure_event (const string& class_name, const string& instance_name)

log_departure_event

[protected]

Buffer event of instance ceasing to be externally visible.

void  announce_xrl_departure (const string& target, const string& key)

announce_xrl_departure

[protected]

void  announce_events_externally ()

announce_events_externally

[protected]

void  announce_class_instances (const string& recv_instance_name, const string& class_name)

announce_class_instances

[protected]

void  announce_new_instance (const string& recv_instance_name, FinderXrlCommandQueue& out_queue, const string& class_name, const string& instance_name)

announce_new_instance

[protected]

bool  hello_timer_running ()

hello_timer_running

[protected const]

void  start_hello_timer ()

start_hello_timer

[protected]

bool  send_hello ()

send_hello

[protected]

void  remove_target (TargetTable::iterator& i)

remove_target

[protected]

bool  add_class_instance (const string& class_name, const string& instance, bool singleton)

add_class_instance

[protected]

bool  remove_class_instance (const string& class_name, const string& instance)

remove_class_instance

[protected]

bool  class_default_instance (const string& class_name, string& instance)

class_default_instance

[protected const]

bool  class_exists (const string& class_name)

class_exists

[protected const]

EventLoop&  eventloop ()

eventloop

[protected const]

 Finder (const Finder&)

Finder

[protected]

Finder&  operator= (const Finder&)

operator=

[protected]

EventLoop& _e

_e

[protected]

XrlCmdMap _cmds

_cmds

[protected]

FinderMessengerBase* _active_messenger

_active_messenger

[protected]

FinderMessengerList _messengers

_messengers

[protected]

TargetTable _targets

_targets

[protected]

ClassTable _classes

_classes

[protected]

OutQueueTable _out_queues

_out_queues

[protected]

EventQueue _event_queue

_event_queue

[protected]

XorpTimer _hello

_hello

[protected]


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:10:45 2009, using kdoc 2.0a54+XORP.