public abstract class DesktopService extends java.lang.Object implements Service
Service
Constructor and Description |
---|
DesktopService(java.lang.String exe_path) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExePath() |
void |
setExePath(java.lang.String exe_path)
set
exe_path to a new path* |
void |
startAsync(Callback callback,
java.util.List<InputProgram> programs,
java.util.List<OptionDescriptor> options)
Start a new process for the
exe_path and starts solving |
Output |
startSync(java.util.List<InputProgram> programs,
java.util.List<OptionDescriptor> options)
Start a new process for the
exe_path and starts solving |
public java.lang.String getExePath()
public void setExePath(java.lang.String exe_path)
exe_path
to a new path*exe_path
- a string representing the path for the new solverpublic void startAsync(Callback callback, java.util.List<InputProgram> programs, java.util.List<OptionDescriptor> options)
exe_path
and starts solvingstartAsync
in interface Service
callback
- interface used to interact with userprograms
- a list of InputProgram
used as data.options
- a list of OptionDescriptor
used as options.Service.startAsync(Callback, List, List)
public Output startSync(java.util.List<InputProgram> programs, java.util.List<OptionDescriptor> options)
exe_path
and starts solvingstartSync
in interface Service
programs
- a list of InputProgram
used as data.options
- a list of OptionDescriptor
used as options.Output
element filled with resultsService.startSync(List, List)