use of es.bsc.compss.nio.commands.CommandNewTask in project compss by bsc-wdc.
the class NIOWorkerNode method submitTask.
public void submitTask(NIOJob job, List<String> obsolete) throws UnstartedNodeException {
if (node == null) {
throw new UnstartedNodeException();
}
NIOTask t = job.prepareJob();
CommandNewTask cmd = new CommandNewTask(t, obsolete);
Connection c = NIOAgent.getTransferManager().startConnection(node);
c.sendCommand(cmd);
c.finishConnection();
}
Aggregations