Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

CIAO::NodeApplicationManager_Impl Class Reference

#include <NodeApplicationManager_Impl.h>

Inheritance diagram for CIAO::NodeApplicationManager_Impl:

Inheritance graph
Collaboration diagram for CIAO::NodeApplicationManager_Impl:

Collaboration graph
List of all members.

Public Member Functions

 NodeApplicationManager_Impl (CORBA::ORB_ptr o, PortableServer::POA_ptr p)
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 ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::InvalidProperty)

Protected Member Functions

virtual ~NodeApplicationManager_Impl (void)
virtual Deployment::NodeApplication_ptr create_node_application (const ACE_CString &options ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::ResourceNotAvailable, Deployment::StartError, Deployment::InvalidProperty)

Constructor & Destructor Documentation

CIAO::NodeApplicationManager_Impl::NodeApplicationManager_Impl CORBA::ORB_ptr  o,
PortableServer::POA_ptr  p


CIAO::NodeApplicationManager_Impl::~NodeApplicationManager_Impl void   )  [protected, virtual]


Member Function Documentation

Deployment::NodeApplication_ptr CIAO::NodeApplicationManager_Impl::create_node_application const ACE_CString &options  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, Deployment::ResourceNotAvailable, Deployment::StartError, Deployment::InvalidProperty) [protected, virtual]

Implements CIAO::NodeApplicationManager_Impl_Base.

PortableServer::ObjectId CIAO::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  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, Deployment::InvalidProperty) [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.

The documentation for this class was generated from the following files:
Generated on Wed Dec 21 00:01:04 2005 for DAnCE by  doxygen