|
TAO_Implementation_Repository
2.1.2
|
#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. | |
| int | init_with_orb (CORBA::ORB_ptr orb, Options &opts) |
| Same as above, but use the given orb. | |
| int | fini (void) |
| Cleans up any state created by init*. | |
| int | run (void) |
| Run using the orb reference created during init() | |
| void | shutdown (bool wait_for_completion) |
| Shutdown the orb. | |
| int | debug () const |
| virtual CORBA::Long | register_activator (const char *name, ImplementationRepository::Activator_ptr admin) |
| virtual void | unregister_activator (const char *name, CORBA::Long token) |
| virtual void | notify_child_death (const char *name) |
| virtual void | activate_server (const char *name) |
| virtual void | add_or_update_server (const char *name, const ImplementationRepository::StartupOptions &options) |
| virtual void | remove_server (const char *name) |
| virtual void | shutdown_server (const char *name) |
| virtual void | find (const char *name, ImplementationRepository::ServerInformation_out info) |
| virtual void | list (CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list, ImplementationRepository::ServerInformationIterator_out server_iterator) |
| virtual void | shutdown (CORBA::Boolean activators, CORBA::Boolean servers) |
| virtual void | server_is_running (const char *name, const char *partial_ior, ImplementationRepository::ServerObject_ptr server_object) |
| virtual void | server_is_shutting_down (const char *name) |
| char * | activate_server_by_object (const char *object_name) |
| char * | activate_server_by_name (const char *name, bool manual_start) |
Public Member Functions inherited from POA_ImplementationRepository::Locator | |
| Locator (const Locator &rhs) | |
| virtual | ~Locator (void) |
| virtual ::CORBA::Boolean | _is_a (const char *logical_type_id) |
| virtual void | _dispatch (TAO_ServerRequest &req, TAO::Portable_Server::Servant_Upcall *servant_upcall) |
| ::ImplementationRepository::Locator * | _this (void) |
| virtual const char * | _interface_repository_id (void) const |
| virtual ::CORBA::Long | register_activator (const char *name,::ImplementationRepository::Activator_ptr act)=0 |
| virtual void | unregister_activator (const char *name,::CORBA::Long token)=0 |
Private Member Functions | |
| char * | activate_server_i (Server_Info &info, bool manual_start) |
| char * | activate_perclient_server_i (Server_Info info, bool manual_start) |
| ImplementationRepository::StartupInfo * | start_server (Server_Info &info, bool manual_start, int &waiting_clients) |
| bool | is_alive (Server_Info &info) |
| int | is_alive_i (Server_Info &info) |
| int | setup_multicast (ACE_Reactor *reactor, const char *ior) |
| void | teardown_multicast () |
| void | unregister_activator_i (const char *activator) |
| Activator_Info_Ptr | get_activator (const ACE_CString &name) |
| 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 (Server_Info &info) |
| PortableServer::POA_ptr | findPOA (const char *name) |
Private Attributes | |
| ImR_Forwarder | forwarder_ |
| ImR_Adapter | adapter_ |
| IORTable::Locator_var | ins_locator_ |
| The locator interface for the IORTable. | |
| CORBA::ORB_var | orb_ |
| PortableServer::POA_var | root_poa_ |
| PortableServer::POA_var | imr_poa_ |
| int | debug_ |
| TAO_IOR_Multicast | ior_multicast_ |
| Locator_Repository | repository_ |
| AsyncStartupWaiter_i | waiter_svt_ |
| ImplementationRepository::AsyncStartupWaiter_var | waiter_ |
| bool | read_only_ |
| ACE_Time_Value | startup_timeout_ |
| ACE_Time_Value | ping_interval_ |
| bool | unregister_if_address_reused_ |
Additional Inherited Members | |
Public Types inherited from POA_ImplementationRepository::Locator | |
| typedef ::ImplementationRepository::Locator | _stub_type |
| Useful for template programming. | |
| typedef ::ImplementationRepository::Locator_ptr | _stub_ptr_type |
| typedef ::ImplementationRepository::Locator_var | _stub_var_type |
Static Public Member Functions inherited from POA_ImplementationRepository::Locator | |
| static void | register_activator_skel (TAO_ServerRequest &server_request, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant) |
| static void | unregister_activator_skel (TAO_ServerRequest &server_request, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant) |
| static void | notify_child_death_skel (TAO_ServerRequest &server_request, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant) |
Protected Member Functions inherited from POA_ImplementationRepository::Locator | |
| Locator (void) | |
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.
| ImR_Locator_i::ImR_Locator_i | ( | void | ) |
| ImR_Locator_i::~ImR_Locator_i | ( | void | ) |
|
private |
|
virtual |
| char * ImR_Locator_i::activate_server_by_name | ( | const char * | name, |
| bool | manual_start | ||
| ) |
| char * ImR_Locator_i::activate_server_by_object | ( | const char * | object_name | ) |
|
private |
|
virtual |
|
private |
|
private |
|
private |
| int ImR_Locator_i::debug | ( | ) | const |
|
virtual |
|
private |
| int ImR_Locator_i::fini | ( | void | ) |
Cleans up any state created by init*.
|
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 |
|
private |
|
virtual |
|
virtual |
Implements POA_ImplementationRepository::Locator.
|
virtual |
|
virtual |
| int ImR_Locator_i::run | ( | void | ) |
Run using the orb reference created during init()
|
virtual |
|
virtual |
|
private |
|
private |
| void ImR_Locator_i::shutdown | ( | bool | wait_for_completion | ) |
Shutdown the orb.
|
virtual |
|
virtual |
|
private |
|
private |
|
virtual |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
The locator interface for the IORTable.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.1.1