Mercurial > hg > orthanc
comparison OrthancServer/ServerContext.cpp @ 1009:26642cecd36d lua-scripting
clearer job interface
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Jul 2014 16:11:44 +0200 |
parents | 187ed107a59f |
children | 160dfe770618 |
comparison
equal
deleted
inserted
replaced
1008:187ed107a59f | 1009:26642cecd36d |
---|---|
228 { | 228 { |
229 command.AddInput(parameters["instance"].asString()); | 229 command.AddInput(parameters["instance"].asString()); |
230 } | 230 } |
231 else if (previousCommand != NULL) | 231 else if (previousCommand != NULL) |
232 { | 232 { |
233 previousCommand->ConnectNext(command); | 233 previousCommand->ConnectOutput(command); |
234 } | 234 } |
235 else | 235 else |
236 { | 236 { |
237 throw OrthancException(ErrorCode_InternalError); | 237 throw OrthancException(ErrorCode_InternalError); |
238 } | 238 } |