Default server activator for CIAO component servers.
More...
#include <LocalityActivator_Impl.h>
List of all members.
Detailed Description
Default server activator for CIAO component servers.
- Author:
- William R. Otte wotte.nosp@m.@dre.nosp@m..vand.nosp@m.erbi.nosp@m.lt.ed.nosp@m.u Implements the default component server activation strategy which is to spawn new processes. This is not thread-safe, nor is it intended to be. Containers are reated serially, so there will be only one actor modifying data at a particular point in time.
Member Typedef Documentation
Constructor & Destructor Documentation
DAnCE::DAnCE_LocalityActivator_i::~DAnCE_LocalityActivator_i |
( |
void |
| ) |
|
|
virtual |
Member Function Documentation
void DAnCE::DAnCE_LocalityActivator_i::configuration_complete |
( |
const char * |
server_UUID | ) |
|
|
virtual |
Builds command line options based on configuration information. May modify the uuid of the component server.
void DAnCE::DAnCE_LocalityActivator_i::create_properties |
( |
const Server_Info & |
info, |
|
|
Deployment::Properties_out |
config |
|
) |
| |
|
private |
void DAnCE::DAnCE_LocalityActivator_i::locality_manager_callback |
( |
::DAnCE::LocalityManager_ptr |
serverref, |
|
|
const char * |
server_UUID, |
|
|
::Deployment::Properties_out |
config |
|
) |
| |
|
virtual |
This method is only applicable when our program is configured as multiple threaded. Internally it waits on a conditional variable that could be modified by the callback servant which runs in another thread
void DAnCE::DAnCE_LocalityActivator_i::remove_locality_manager |
( |
::DAnCE::LocalityManager_ptr |
server | ) |
|
void DAnCE::DAnCE_LocalityActivator_i::single_threaded_wait_for_callback |
( |
const Server_Info & |
si, |
|
|
ACE_Time_Value & |
timeout |
|
) |
| |
|
private |
This method is only applicable when our program is configured as singled threaded . Internally it uses a perform_work
blocking call to wait for NA object to call back
Spawns the component server process, but does not wait for it to call back.
Member Data Documentation
ACE_CString DAnCE::DAnCE_LocalityActivator_i::default_args_ |
|
private |
Default args to pass to all componentservers.
bool DAnCE::DAnCE_LocalityActivator_i::multithreaded_ |
|
private |
SERVER_INFOS DAnCE::DAnCE_LocalityActivator_i::server_infos_ |
|
private |
The documentation for this class was generated from the following files: