|
TAO_Implementation_Repository
2.2.0
|
#include <ImR_Locator_i.h>


Public Member Functions | |
| ImR_Locator_i () | |
| ~ImR_Locator_i (void) | |
| int | init (Options &opts) |
| Initialize the service, creating its own orb, poa, etc. More... | |
| int | init_with_orb (CORBA::ORB_ptr orb, Options &opts) |
| Same as above, but use the given orb. More... | |
| int | fini (void) |
| Cleans up any state created by init*. More... | |
| int | run (void) |
| Run using the orb reference created during init() More... | |
| void | shutdown (bool wait_for_completion) |
| Shutdown the orb. More... | |
| virtual void | register_activator (ImplementationRepository::AMH_LocatorResponseHandler_ptr _tao_rh, const char *name, ImplementationRepository::Activator_ptr admin) |
| virtual void | unregister_activator (ImplementationRepository::AMH_LocatorResponseHandler_ptr _tao_rh, const char *name, CORBA::Long token) |
| virtual void | notify_child_death (ImplementationRepository::AMH_LocatorResponseHandler_ptr _tao_rh, const char *name) |
| virtual void | activate_server (ImplementationRepository::AMH_AdministrationResponseHandler_ptr _tao_rh, const char *name) |
| virtual void | add_or_update_server (ImplementationRepository::AMH_AdministrationResponseHandler_ptr _tao_rh, const char *name, const ImplementationRepository::StartupOptions &options) |
| virtual void | remove_server (ImplementationRepository::AMH_AdministrationResponseHandler_ptr _tao_rh, const char *name) |
| virtual void | shutdown_server (ImplementationRepository::AMH_AdministrationResponseHandler_ptr _tao_rh, const char *name) |
| virtual void | find (ImplementationRepository::AMH_AdministrationResponseHandler_ptr _tao_rh, const char *name) |
| virtual void | list (ImplementationRepository::AMH_AdministrationResponseHandler_ptr _tao_rh, CORBA::ULong how_many, CORBA::Boolean determine_active_status) |
| virtual void | shutdown (ImplementationRepository::AMH_AdministrationResponseHandler_ptr _tao_rh, CORBA::Boolean activators, CORBA::Boolean servers) |
| virtual void | server_is_running (ImplementationRepository::AMH_AdministrationResponseHandler_ptr _tao_rh, const char *name, const char *partial_ior, ImplementationRepository::ServerObject_ptr server_object) |
| virtual void | server_is_shutting_down (ImplementationRepository::AMH_AdministrationResponseHandler_ptr _tao_rh, const char *name) |
| char * | activate_server_by_object (const char *object_name) |
| char * | activate_server_by_name (const char *name, bool manual_start) |
| void | activate_server_by_info (const Server_Info_Ptr &si, ImR_ResponseHandler *rh) |
| void | activate_server_by_name (const char *name, bool manual_start, ImR_ResponseHandler *rh) |
| bool | split_key (ACE_CString &full, ACE_CString &key, Server_Info_Ptr &si) |
| LiveCheck & | pinger (void) |
| PortableServer::POA_ptr | root_poa (void) |
| Activator_Info_Ptr | get_activator (const ACE_CString &name) |
| void | remove_aam (AsyncAccessManager_ptr &aam) |
| void | remove_aam (const char *name) |
| AsyncAccessManager * | find_aam (const char *name) |
Static Public Member Functions | |
| static int | debug (void) |
Private Types | |
| typedef ACE_Unbounded_Set < AsyncAccessManager_ptr > | AAM_Set |
| A collection of asynch activator instances. More... | |
Private Member Functions | |
| bool | get_info_for_name (const char *name, Server_Info_Ptr &si) |
| void | activate_server_i (UpdateableServerInfo &info, bool manual_start, ImR_ResponseHandler *rh) |
| bool | is_alive (UpdateableServerInfo &info) |
| void | unregister_activator_i (const char *activator) |
| void | connect_activator (Activator_Info &info) |
| void | auto_start_servers (void) |
| CORBA::Object_ptr | set_timeout_policy (CORBA::Object_ptr obj, const ACE_Time_Value &to) |
| void | connect_server (UpdateableServerInfo &info) |
| PortableServer::POA_ptr | findPOA (const char *name) |
| void | parse_id (const char *id, ACE_CString &server_id, ACE_CString &name, bool &jacorb_server) |
Private Attributes | |
| ImR_DSI_Forwarder | dsi_forwarder_ |
| ImR_Adapter | adapter_ |
| IORTable::Locator_var | ins_locator_ |
| The locator interface for the IORTable. More... | |
| LiveCheck | pinger_ |
| The asynch server ping adapter. More... | |
| AAM_Set | aam_set_ |
| CORBA::ORB_var | orb_ |
| PortableServer::POA_var | root_poa_ |
| PortableServer::POA_var | imr_poa_ |
| auto_ptr< Locator_Repository > | repository_ |
| bool | read_only_ |
| ACE_Time_Value | startup_timeout_ |
| bool | ping_external_ |
| ACE_Time_Value | ping_interval_ |
| bool | unregister_if_address_reused_ |
Static Private Attributes | |
| static int | debug_ = 0 |
Gets a request from a client and depending on the POA name, requests an activator to take care of activating the corresponding server and raises a forward exception to the client pointing to the correct server.
|
private |
A collection of asynch activator instances.
| ImR_Locator_i::ImR_Locator_i | ( | void | ) |
| ImR_Locator_i::~ImR_Locator_i | ( | void | ) |
|
virtual |
| void ImR_Locator_i::activate_server_by_info | ( | const Server_Info_Ptr & | si, |
| ImR_ResponseHandler * | rh | ||
| ) |
| char * ImR_Locator_i::activate_server_by_name | ( | const char * | name, |
| bool | manual_start | ||
| ) |
| void ImR_Locator_i::activate_server_by_name | ( | const char * | name, |
| bool | manual_start, | ||
| ImR_ResponseHandler * | rh | ||
| ) |
| char * ImR_Locator_i::activate_server_by_object | ( | const char * | object_name | ) |
|
private |
|
virtual |
|
private |
|
private |
|
private |
|
static |
|
virtual |
| AsyncAccessManager * ImR_Locator_i::find_aam | ( | const char * | name | ) |
|
private |
| int ImR_Locator_i::fini | ( | void | ) |
Cleans up any state created by init*.
| Activator_Info_Ptr ImR_Locator_i::get_activator | ( | const ACE_CString & | name | ) |
|
private |
| int ImR_Locator_i::init | ( | Options & | opts | ) |
Initialize the service, creating its own orb, poa, etc.
| int ImR_Locator_i::init_with_orb | ( | CORBA::ORB_ptr | orb, |
| Options & | opts | ||
| ) |
Same as above, but use the given orb.
|
private |
|
virtual |
|
virtual |
|
private |
| LiveCheck & ImR_Locator_i::pinger | ( | void | ) |
|
virtual |
| void ImR_Locator_i::remove_aam | ( | AsyncAccessManager_ptr & | aam | ) |
| void ImR_Locator_i::remove_aam | ( | const char * | name | ) |
|
virtual |
| PortableServer::POA_ptr ImR_Locator_i::root_poa | ( | void | ) |
| int ImR_Locator_i::run | ( | void | ) |
Run using the orb reference created during init()
|
virtual |
|
virtual |
|
private |
| void ImR_Locator_i::shutdown | ( | bool | wait_for_completion | ) |
Shutdown the orb.
|
virtual |
|
virtual |
| bool ImR_Locator_i::split_key | ( | ACE_CString & | full, |
| ACE_CString & | key, | ||
| Server_Info_Ptr & | si | ||
| ) |
|
virtual |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
The locator interface for the IORTable.
|
private |
|
private |
|
private |
|
private |
The asynch server ping adapter.
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.3.1