diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-07-26 07:49:09 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-07-26 07:49:09 +0200 |
| commit | b618b8360a69ada6b0ca412d5d15d7ec1edb9e82 (patch) | |
| tree | 56f51cc63a62fc106633d7b4bde1ef3e41e80041 /src/callnotifier/CallMonitor.php | |
| parent | e60135e26ab4b374642f6f9293ddcac26adcacc8 (diff) | |
| download | auerswald-callnotifier-b618b8360a69ada6b0ca412d5d15d7ec1edb9e82.tar.gz auerswald-callnotifier-b618b8360a69ada6b0ca412d5d15d7ec1edb9e82.zip | |
introduce separate log object and callmonitor
Diffstat (limited to 'src/callnotifier/CallMonitor.php')
| -rw-r--r-- | src/callnotifier/CallMonitor.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/callnotifier/CallMonitor.php b/src/callnotifier/CallMonitor.php new file mode 100644 index 0000000..a910e9f --- /dev/null +++ b/src/callnotifier/CallMonitor.php @@ -0,0 +1,22 @@ +<?php +namespace callnotifier; + +/** + * Watches EDSS1 messages for calls. Keeps an internal call state + * and notifies loggers of incoming and finished calls. + */ +class CallMonitor +{ + public function __construct($config, $log) + { + $this->config = $config; + $this->log = $log; + } + + public function handle(EDSS1_Message $msg) + { + } + +} + +?> |
