Public Member Functions | Private Member Functions | Private Attributes

TestAcsDaemonAsyncStopRequest Class Reference

#include <acsdaemonTestAsyncStopRequest.h>

Collaboration diagram for TestAcsDaemonAsyncStopRequest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TestAcsDaemonAsyncStopRequest (const std::string &container, const std::string &host)
 ~TestAcsDaemonAsyncStopRequest ()
void run ()
int wait ()
std::string & exceptionString ()
bool commandOK ()

Private Member Functions

int svc ()
int stopContainerOnHost (std::string &host, std::string &container) throw (CORBA::SystemException,acsdaemonErrType::FailedToStopContainerEx, ACSErrTypeCommon::BadParameterEx)
acsdaemon::ContainerDaemon_ptr getContainerDaemonRef_ (const std::string &host)
std::string getManagerCorbaloc_ ()

Private Attributes

bool commandOK_m
bool completed_m
std::string host_m
std::string container_m
acsdaemon::ContainerDaemon_var m_containerDaemon
int m_acsInstance
std::string m_managerCorbaloc
std::string m_additionalCmdLine
std::string exceptionString_m

Detailed Description

Class allowing a CORBA method to be invoked in a seperate thread trapping any exceptions thrown


Constructor & Destructor Documentation

TestAcsDaemonAsyncStopRequest::TestAcsDaemonAsyncStopRequest ( const std::string &  container,
const std::string &  host 
)
TestAcsDaemonAsyncStopRequest::~TestAcsDaemonAsyncStopRequest (  ) 

Member Function Documentation

bool TestAcsDaemonAsyncStopRequest::commandOK (  )  [inline]

References commandOK_m.

std::string& TestAcsDaemonAsyncStopRequest::exceptionString (  )  [inline]

References exceptionString_m.

acsdaemon::ContainerDaemon_ptr TestAcsDaemonAsyncStopRequest::getContainerDaemonRef_ ( const std::string &  host  )  [private]
std::string TestAcsDaemonAsyncStopRequest::getManagerCorbaloc_ (  )  [private]

Get the corbaloc URL of the ACS manager

Ex: "corbaloc::134.171.24.124:3000/Manager"

Returns:
the corbaloc URL of the ACS manager
void TestAcsDaemonAsyncStopRequest::run (  ) 
int TestAcsDaemonAsyncStopRequest::stopContainerOnHost ( std::string &  host,
std::string &  container 
) throw (CORBA::SystemException,acsdaemonErrType::FailedToStopContainerEx, ACSErrTypeCommon::BadParameterEx) [private]
int TestAcsDaemonAsyncStopRequest::svc (  )  [private]
int TestAcsDaemonAsyncStopRequest::wait (  ) 

Member Data Documentation

Referenced by commandOK().

Referenced by exceptionString().

ACS instance to be handled by this DEPL object

Additional command used to give the manager reference to the acscontainerdaemon when start_container() or stop_container() is invoked

acsdaemon::ContainerDaemon_var TestAcsDaemonAsyncStopRequest::m_containerDaemon [private]

ACS Manager corbaloc URL


The documentation for this class was generated from the following file: