#include <NodeApplicationManager_Impl.h>
Inheritance diagram for CIAO::Static_NodeApplicationManager_Impl:
Public Member Functions | |
Static_NodeApplicationManager_Impl (CORBA::ORB_ptr o, PortableServer::POA_ptr p, Static_Config_EntryPoints_Maps *static_config_entrypoints_maps) | |
Constructor. | |
virtual PortableServer::ObjectId | init (const char *nodeapp_location, const char *nodeapp_options, const CORBA::ULong delay, const Deployment::DeploymentPlan &plan, const PortableServer::POA_ptr callback_poa, NodeManager_Impl_Base *nm) |
Protected Member Functions | |
virtual | ~Static_NodeApplicationManager_Impl (void) |
Destructor. | |
virtual Deployment::NodeApplication_ptr | create_node_application (const ACE_CString &options) |
Protected Attributes | |
Static_Config_EntryPoints_Maps * | static_config_entrypoints_maps_ |
CIAO::NodeApp_Configurator | configurator_ |
CIAO::Static_NodeApplicationManager_Impl::Static_NodeApplicationManager_Impl | ( | CORBA::ORB_ptr | o, | |
PortableServer::POA_ptr | p, | |||
Static_Config_EntryPoints_Maps * | static_config_entrypoints_maps | |||
) |
Constructor.
CIAO::Static_NodeApplicationManager_Impl::~Static_NodeApplicationManager_Impl | ( | void | ) | [protected, virtual] |
Destructor.
PortableServer::ObjectId CIAO::Static_NodeApplicationManager_Impl::init | ( | const char * | nodeapp_location, | |
const char * | nodeapp_options, | |||
const CORBA::ULong | delay, | |||
const Deployment::DeploymentPlan & | plan, | |||
const PortableServer::POA_ptr | callback_poa, | |||
NodeManager_Impl_Base * | nm | |||
) | [virtual] |
A factory operation to create NodeApplicationManager interface, and return the object reference. Initialize the NodeApplicationManager. The current implementation of CIAO_NodeApplicationManager can only activate CIAO's own NodeApplication processes. You should specify the location (pathname) of the NodeApplication and the delay. CIAO_NodeApplicationManager should wait (in second) for NodeApplication to call back.
nodeapp_location | A null-termiated char * string pointing to the pathname of a NodeApplication executable. | |
nodeapp_options | A null-terminated char * string containing command line options to be passed to the NodeApplication. | |
delay | instructs how long (in second) a CIAO_NodeApplicationManager should wait for a newly spawned NodeApplication to pass back its IOR. | |
plan | has all the information needed for the NodeAppManager to construct the application locally. Note, this includes the properties of the NodeApplication. For example, ORB config options etc. | |
callback_poa | contains child poa created for the callback interface. |
Implements CIAO::NodeApplicationManager_Impl_Base.
Deployment::NodeApplication_ptr CIAO::Static_NodeApplicationManager_Impl::create_node_application | ( | const ACE_CString & | options | ) | [protected, virtual] |
Internal help function to create new NodeApplicationProcess Here we override it to create an in-process NodeApplication object
Implements CIAO::NodeApplicationManager_Impl_Base.
Static_Config_EntryPoints_Maps* CIAO::Static_NodeApplicationManager_Impl::static_config_entrypoints_maps_ [protected] |