This commit is contained in:
Maximilian Hils 2015-02-07 16:37:59 +01:00
parent 53fadd05f4
commit 9a32193005
1 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,12 @@ class ScriptContext:
"""
self._master.add_event(message, level)
def kill_flow(self, f):
"""
Kills a flow immediately. No further data will be sent to the client or the server.
"""
f.kill(self._master)
def duplicate_flow(self, f):
"""
Returns a duplicate of the specified flow. The flow is also