|
Public Member Functions |
| | ImR_Activator_i (void) |
| void | start_server (ImplementationRepository::AMH_ActivatorResponseHandler_ptr rh, const char *name, const char *cmdline, const char *dir, const ImplementationRepository::EnvironmentList &env ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
| void | server_status_changed (ImplementationRepository::AMH_ActivatorResponseHandler_ptr rh, const char *name ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
| int | init (Options &opts ACE_ENV_ARG_DECL_WITH_DEFAULTS) |
| | Initialize the Server state - parsing arguments and waiting.
|
| int | fini (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) |
| | Cleans up any state created by init*.
|
| int | run (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) |
| | Runs the orb.
|
Private Types |
| typedef ACE_Vector< ImplementationRepository::AMH_ActivatorResponseHandler_var > | RHList |
typedef ACE_Strong_Bound_Ptr<
RHList, ACE_Null_Mutex > | RHListPtr |
typedef ACE_Hash_Map_Manager_Ex<
ACE_CString, RHListPtr, ACE_Hash<
ACE_CString >, ACE_Equal_To<
ACE_CString >, ACE_Null_Mutex > | ServerMap |
Private Member Functions |
| int | init_with_orb (CORBA::ORB_ptr orb, const Options &opts ACE_ENV_ARG_DECL_WITH_DEFAULTS) |
| void | unblock_all_servers () |
| void | unblock_server (RHListPtr server) |
Private Attributes |
| ACE_Process_Manager | process_mgr_ |
| PortableServer::POA_var | root_poa_ |
| PortableServer::POA_var | imr_poa_ |
| ImplementationRepository::Locator_var | locator_ |
| | IMR Locator Object.
|
| CORBA::Long | registration_token_ |
| CORBA::ORB_var | orb_ |
| unsigned int | debug_ |
| ACE_CString | name_ |
| ServerMap | waiting_servers_ |
This class provides the interface for the various activities that can be done by the ImR_Activator.