From 444b524c3a26d8dd83fae2a074d3d13b10ba17f7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 5 Jan 2004 22:26:34 +0000 Subject: forgot some files preliminary client implementation git-svn-id: file:///home/lennart/svn/public/ivam2/trunk@15 dbf6933d-3bce-0310-9bcc-ed052ba35b35 --- client/ivamApi.py | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 client/ivamApi.py (limited to 'client/ivamApi.py') diff --git a/client/ivamApi.py b/client/ivamApi.py new file mode 100644 index 0000000..3cf5651 --- /dev/null +++ b/client/ivamApi.py @@ -0,0 +1,44 @@ + +class Processor: + + def onConnect(self, c): + 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 softStopPlayback(self): + pass + + def recordClip(self, fname, gzip = 0): + pass + + def stopRecording(self): + pass + + def timeout(self, t): + pass + -- cgit