DAnCE ..
Public Types | Public Member Functions | Private Attributes | Friends

DAnCE::DomainApplication_Impl Class Reference

This class implements the DomainApplication interface. More...

#include <Domain_Application_Impl.h>

Collaboration diagram for DAnCE::DomainApplication_Impl:
Collaboration graph
[legend]

List of all members.

Public Types

typedef ACE_Map_Manager
< ::Deployment::NodeApplicationManager_var,::Deployment::NodeManager_var,
ACE_Null_Mutex
TNam2Nm
typedef ACE_Map_Manager
< ::Deployment::NodeManager_var,
ACE_CString, ACE_Null_Mutex
TNm2Id
typedef ACE_Map_Manager
< ::Deployment::Application_var,::Deployment::NodeApplicationManager_var,
ACE_Null_Mutex
TApp2Mgr
typedef ACE_Map_Manager
< ::Deployment::Application_var,
ACE_CString, ACE_Null_Mutex
TApp2Id

Public Member Functions

 DomainApplication_Impl (const char *plan_uuid, PortableServer::POA_ptr poa, TNam2Nm &nams, TNm2Id &node_ids)
virtual ~DomainApplication_Impl ()
void startLaunch (const ::Deployment::Properties &configProperty, DA_CompletionHandler *dam_handler)
void destroyApplication (const DA_CompletionHandler_AutoPtr &_ch_ptr)
void getConnections (::Deployment::Connections &conn)
const char * getPlanUUID (void)
virtual void finishLaunch (::Deployment::AMH_ApplicationResponseHandler_ptr _tao_rh, const ::Deployment::Connections &connections, CORBA::Boolean start)
virtual void start (::Deployment::AMH_ApplicationResponseHandler_ptr _tao_rh)

Private Attributes

PortableServer::POA_var poa_
ACE_CString planUUID_
TApp2Mgr node_applications_
TApp2Id app_node_ids_
::Deployment::Connections connections_
TNam2Nmnams_
TNm2Idnode_ids_

Friends

class DA_NAM_ReplyHandlerImpl
class DA_NA_ReplyHandlerImpl

Detailed Description

This class implements the DomainApplication interface.


Member Typedef Documentation

typedef ACE_Map_Manager< ::Deployment::Application_var, ::Deployment::NodeApplicationManager_var, ACE_Null_Mutex > DAnCE::DomainApplication_Impl::TApp2Mgr
typedef ACE_Map_Manager< ::Deployment::NodeApplicationManager_var, ::Deployment::NodeManager_var, ACE_Null_Mutex > DAnCE::DomainApplication_Impl::TNam2Nm

Constructor & Destructor Documentation

home build doxygen ACE_wrappers TAO DAnCE dance DomainApplication Domain_Application_Impl cpp DAnCE::DomainApplication_Impl::DomainApplication_Impl ( const char *  plan_uuid,
PortableServer::POA_ptr  poa,
TNam2Nm nams,
TNm2Id node_ids 
)
DAnCE::DomainApplication_Impl::~DomainApplication_Impl ( ) [virtual]

Member Function Documentation

void DAnCE::DomainApplication_Impl::destroyApplication ( const DA_CompletionHandler_AutoPtr _ch_ptr)
void DAnCE::DomainApplication_Impl::finishLaunch ( ::Deployment::AMH_ApplicationResponseHandler_ptr  _tao_rh,
const ::Deployment::Connections connections,
CORBA::Boolean  start 
) [virtual]

The second step in launching an application in the domain-level. If the start parameter is true, the application is started as well. Raises the StartError exception if launching or starting the application fails.

void DAnCE::DomainApplication_Impl::getConnections ( ::Deployment::Connections conn)
const char * DAnCE::DomainApplication_Impl::getPlanUUID ( void  )
void DAnCE::DomainApplication_Impl::start ( ::Deployment::AMH_ApplicationResponseHandler_ptr  _tao_rh) [virtual]

Starts the application. Raises the StartError exception if starting the application fails.

void DAnCE::DomainApplication_Impl::startLaunch ( const ::Deployment::Properties configProperty,
DA_CompletionHandler dam_handler 
)

Friends And Related Function Documentation

friend class DA_NA_ReplyHandlerImpl [friend]
friend class DA_NAM_ReplyHandlerImpl [friend]

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines