16 #ifndef OSSOLVERAGENT_H
17 #define OSSOLVERAGENT_H
65 std::string
solve(std::string osil, std::string osol);
75 std::string
getJobID(std::string osol);
86 bool send(std::string osil, std::string osol);
96 std::string
kill(std::string osol);
106 std::string
retrieve(std::string osol);
117 std::string
knock(std::string ospl, std::string osol);
128 std::string
fileUpload(std::string osilFileName, std::string osil);
Used by a client to invoke a remote solver.
std::string retrieve(std::string osol)
implement the retrieve() method which is a virtual function in OShL
bool send(std::string osil, std::string osol)
implement the send() method which is a virtual function in OShL
An interface that specified virtual methods to be implemented by agents.
std::string solve(std::string osil, std::string osol)
implement the solve() method which is a virtual function in OShL, this is synchronous ...
std::string solverAddress
solverAddress is the URI for the solver
OSSolverAgent(std::string solverURI)
Default constructor.
unsigned short solverPortNumber
solverPortNumber is the port number for the solver
std::string fileUpload(std::string osilFileName, std::string osil)
implement the fileUpload() method which is a virtual function in OShL
std::string knock(std::string ospl, std::string osol)
implement the knock() method which is a virtual function in OShL
std::string postURI
postURI is the path to the solver that follows the first '/' in the solverAddress ...
~OSSolverAgent()
Class destructor.
std::string kill(std::string osol)
implement the kill() method which is a virtual function in OShL
std::string getJobID(std::string osol)
implement the getJobID() method which is a virtual function in OShL