|
TAO_Implementation_Repository
2.3.4
|
IMR Activator Interface. More...
#include <ImR_Activator_i.h>


Public Member Functions | |
| ImR_Activator_i (void) | |
| void | start_server (const char *name, const char *cmdline, const char *dir, const ImplementationRepository::EnvironmentList &env) |
| CORBA::Boolean | kill_server (const char *name, CORBA::Long pid, CORBA::Short signum) |
| CORBA::Boolean | still_alive (CORBA::Long pid) |
| void | shutdown (void) |
| int | init (Activator_Options &opts) |
| Initialize the Server state - parsing arguments and waiting. More... | |
| int | fini (void) |
| Cleans up any state created by init*. More... | |
| int | handle_timeout (const ACE_Time_Value &, const void *tok) |
| int | run (void) |
| Runs the orb. More... | |
| void | shutdown (bool signaled) |
| Shutdown the orb. More... | |
Public Member Functions inherited from ACE_Event_Handler | |
| virtual | ~ACE_Event_Handler (void) |
| virtual ACE_HANDLE | get_handle (void) const |
| virtual void | set_handle (ACE_HANDLE) |
| virtual int | priority (void) const |
| virtual void | priority (int priority) |
| virtual int | handle_input (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
| virtual int | handle_output (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
| virtual int | handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
| virtual int | handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask) |
| virtual int | handle_signal (int signum, siginfo_t *=0, ucontext_t *=0) |
| virtual int | resume_handler (void) |
| virtual int | handle_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
| virtual int | handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
| virtual void | reactor (ACE_Reactor *reactor) |
| virtual ACE_Reactor * | reactor (void) const |
| virtual ACE_Reactor_Timer_Interface * | reactor_timer_interface (void) const |
| virtual Reference_Count | add_reference (void) |
| virtual Reference_Count | remove_reference (void) |
| Reference_Counting_Policy & | reference_counting_policy (void) |
Private Types | |
| typedef ACE_Unbounded_Set< ACE_CString > | UniqueServerList |
| typedef ACE_Hash_Map_Manager_Ex< pid_t, ACE_CString, ACE_Hash_pid_t, ACE_Equal_To_pid_t, ACE_Null_Mutex > | ProcessMap |
Private Member Functions | |
| int | init_with_orb (CORBA::ORB_ptr orb, const Activator_Options &opts) |
| void | register_with_imr (ImplementationRepository::Activator_ptr activator) |
| int | handle_exit (ACE_Process *process) |
| int | handle_exit_i (pid_t pid) |
| bool | still_running_i (const char *name, pid_t &pid) |
| bool | in_upcall (void) |
Private Attributes | |
| ACE_Process_Manager | process_mgr_ |
| PortableServer::POA_var | root_poa_ |
| PortableServer::POA_var | imr_poa_ |
| PortableServer::Current_var | current_ |
| ImplementationRepository::Locator_var | locator_ |
| CORBA::Long | registration_token_ |
| CORBA::ORB_var | orb_ |
| unsigned int | debug_ |
| bool | notify_imr_ |
| unsigned int | induce_delay_ |
| ACE_CString | name_ |
| ProcessMap | process_map_ |
| UniqueServerList | running_server_list_ |
| UniqueServerList | dying_server_list_ |
| int | env_buf_len_ |
| The default environment buffer length. More... | |
| int | max_env_vars_ |
| Maximum number of environment variables. More... | |
| bool | detach_child_ |
| pid_t | active_check_pid_ |
Friends | |
| class | Active_Pid_Setter |
IMR Activator Interface.
This class provides the interface for the various activities that can be done by the ImR_Activator.
|
private |
|
private |
| ImR_Activator_i::ImR_Activator_i | ( | void | ) |
| int ImR_Activator_i::fini | ( | void | ) |
Cleans up any state created by init*.
|
privatevirtual |
Reimplemented from ACE_Event_Handler.
|
private |
|
virtual |
Reimplemented from ACE_Event_Handler.
|
private |
| int ImR_Activator_i::init | ( | Activator_Options & | opts | ) |
Initialize the Server state - parsing arguments and waiting.
|
private |
| CORBA::Boolean ImR_Activator_i::kill_server | ( | const char * | name, |
| CORBA::Long | pid, | ||
| CORBA::Short | signum | ||
| ) |
|
private |
| int ImR_Activator_i::run | ( | void | ) |
Runs the orb.
| void ImR_Activator_i::shutdown | ( | void | ) |
| void ImR_Activator_i::shutdown | ( | bool | signaled | ) |
Shutdown the orb.
| void ImR_Activator_i::start_server | ( | const char * | name, |
| const char * | cmdline, | ||
| const char * | dir, | ||
| const ImplementationRepository::EnvironmentList & | env | ||
| ) |
| CORBA::Boolean ImR_Activator_i::still_alive | ( | CORBA::Long | pid | ) |
|
private |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
The default environment buffer length.
|
private |
|
private |
|
private |
|
private |
Maximum number of environment variables.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
We're given a token when registering with the locator, which we must use when unregistering.
|
private |
|
private |
1.8.9.1