diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-01-08 21:22:53 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-01-08 21:22:53 +0000 |
commit | 5565b244c983bfbfd8b88077eda690fd630e3f1f (patch) | |
tree | 273049996c7e3b1bc855730fea9b993a9d79c2f7 /clients/ivamApi.py | |
parent | 9f14b1b80e6b09e6b2dc067704fff2034dc0ad23 (diff) |
renaming client -> clients
git-svn-id: file:///home/lennart/svn/public/ivam2/trunk@19 dbf6933d-3bce-0310-9bcc-ed052ba35b35
Diffstat (limited to 'clients/ivamApi.py')
-rw-r--r-- | clients/ivamApi.py | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/clients/ivamApi.py b/clients/ivamApi.py new file mode 100644 index 0000000..8cab6f9 --- /dev/null +++ b/clients/ivamApi.py @@ -0,0 +1,49 @@ + +class Processor: + + def onConnect(self, c, callerNumber, ringNumber): + pass + + def onHangup(self, c): + pass + + def onDtmfEvent(self, c, event): + pass + + def onClipFinish(self, c, fname): + pass + + def onTimeout(self, c): + pass + + def onRecordFinish(self, c, fname): + pass + +class Connector: + + def run(self): + pass + + def playClip(self, fname): + pass + + def stopPlayback(self): + pass + + def stopPlayback2(self): # Same as previous but call onClipFinish + pass + + def recordClip(self, fname, gzip = False): + pass + + def stopRecording(self): + pass + + def setTimeout(self, t): + pass + + def hangup(self, t): + pass + + def flushOutput(self): + pass |