diff options
Diffstat (limited to 'js/codeq/comms.js')
-rw-r--r-- | js/codeq/comms.js | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/js/codeq/comms.js b/js/codeq/comms.js index 9e69526..b04a2fc 100644 --- a/js/codeq/comms.js +++ b/js/codeq/comms.js @@ -250,13 +250,18 @@ return this.send(query); }, - sendPush: function commsSendPush (json) { + sendPythonExec: function commsSendPythonExec (json) { + json['action'] = 'python_exec'; + return this.send(json); + }, + + sendPythonPush: function commsSendPythonPush (json) { json['action'] = 'python_push'; return this.send(json); }, - sendPull: function commsSendPull (json) { - json['action'] = 'python_pull'; + sendPythonStop: function commsSendPythonStop (json) { + json['action'] = 'python_stop'; return this.send(json); }, |