blob: 3afb773e9287b820789e86027baede69bb2c8388 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
/**
* @file Plan_Launcher_Base.h
* @author William R. Otte <wotte@dre.vanderbilt.edu>
*
* $Id$
*
* ABC for the EM/NM bridges.
*/
#ifndef DANCE_PLAN_LAUNCHER_BASE
#define DANCE_PLAN_LAUNCHER_BASE
#include "Deployment/Deployment_DeploymentPlanC.h"
#include "Deployment/Deployment_ConnectionC.h"
namespace DAnCE
{
class Plan_Launcher_Base
{
public:
virtual const char * launch_plan (const ::Deployment::DeploymentPlan &plan,
CORBA::Object_out am,
CORBA::Object_out app) = 0;
virtual CORBA::Object_ptr prepare_plan (const ::Deployment::DeploymentPlan &plan) = 0;
virtual CORBA::Object_ptr start_launch (CORBA::Object_ptr app_mgr,
const ::Deployment::Properties &properties,
::Deployment::Connections_out connections) = 0;
virtual void finish_launch (CORBA::Object_ptr application,
const ::Deployment::Connections &provided_connections,
bool start) = 0;
virtual void start (CORBA::Object_ptr application) = 0;
/// Tears down a plan given the UUID
virtual void teardown_application (CORBA::Object_ptr app_mgr,
CORBA::Object_ptr app) = 0;
virtual void destroy_app_manager (CORBA::Object_ptr app_mgr) = 0;
virtual void create_external_connections(const ::Deployment::DeploymentPlan &plan,
Deployment::Connections &conn) = 0;
};
}
#endif
|