From 5565b244c983bfbfd8b88077eda690fd630e3f1f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 8 Jan 2004 21:22:53 +0000 Subject: renaming client -> clients git-svn-id: file:///home/lennart/svn/public/ivam2/trunk@19 dbf6933d-3bce-0310-9bcc-ed052ba35b35 --- clients/ivamApi.py | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 clients/ivamApi.py (limited to 'clients/ivamApi.py') 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 -- cgit