aboutsummaryrefslogtreecommitdiff
path: root/src/callnotifier/CallMonitor.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-07-26 07:49:09 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-07-26 07:49:09 +0200
commitb618b8360a69ada6b0ca412d5d15d7ec1edb9e82 (patch)
tree56f51cc63a62fc106633d7b4bde1ef3e41e80041 /src/callnotifier/CallMonitor.php
parente60135e26ab4b374642f6f9293ddcac26adcacc8 (diff)
downloadauerswald-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.php22
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)
+ {
+ }
+
+}
+
+?>