OShL.h
Go to the documentation of this file.
1 /* $Id: OShL.h 5284 2017-12-08 13:52:50Z stefan $ */
17 #ifndef OSHL_H
18 #define OSHL_H
19 
20 #include <string>
21 
22 
32 class OShL
33 {
34 public:
35 
40  OShL();
41 
46  virtual ~OShL() = 0;
47 
57  virtual std::string solve(std::string osil, std::string osol) = 0;
58 
67  virtual std::string getJobID(std::string osol) = 0;
68 
78  virtual bool send(std::string osil, std::string osol) = 0;
79 
88  virtual std::string kill(std::string osol) = 0;
89 
98  virtual std::string retrieve(std::string osol) = 0;
99 
109  virtual std::string knock(std::string ospl, std::string osol) = 0;
110 };
111 
112 #endif
113 
virtual std::string retrieve(std::string osol)=0
retrieve an instance result that ran in asynchronous mode
An interface that specified virtual methods to be implemented by agents.
Definition: OShL.h:32
virtual std::string getJobID(std::string osol)=0
get a jobID for use in the send method
OShL()
Default constructor.
Definition: OShL.cpp:19
virtual std::string solve(std::string osil, std::string osol)=0
submit an instance with its options for a synchronous solution
virtual std::string kill(std::string osol)=0
kill an instance that is running
virtual std::string knock(std::string ospl, std::string osol)=0
knock to get information on the current status of a job
virtual ~OShL()=0
Class destructor.
Definition: OShL.cpp:22
virtual bool send(std::string osil, std::string osol)=0
submit an instance with its options for an asynchronous solution