From 75006029f289768c0eedf6d324e330df5c06f734 Mon Sep 17 00:00:00 2001 From: pk910 Date: Tue, 26 Jul 2011 12:50:28 +0200 Subject: [PATCH] added EventHandler idea (not implemented, yet) --- Uplink/EventHandler.interface.php | 49 +++++++++++++++++++++++++++++++ Uplink/Uplink.class.php | 4 ++- 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 Uplink/EventHandler.interface.php diff --git a/Uplink/EventHandler.interface.php b/Uplink/EventHandler.interface.php new file mode 100644 index 0000000..01eb98a --- /dev/null +++ b/Uplink/EventHandler.interface.php @@ -0,0 +1,49 @@ + \ No newline at end of file diff --git a/Uplink/Uplink.class.php b/Uplink/Uplink.class.php index cd6e49b..b49c3f6 100644 --- a/Uplink/Uplink.class.php +++ b/Uplink/Uplink.class.php @@ -46,6 +46,9 @@ * * void setValidateServer(String $name, String $password) * sets additional security relevant information about the remote server. + * + * void setEventHandler(EventHandler $event_handler) + * sets the EventHandlder */ require_once("Client.class.php"); require_once("Numerics.class.php"); @@ -340,7 +343,6 @@ class Uplink { } private function recv_burst($from, $args) { - //AK B #aide 1292621006 +tn ALAMH:o $name = $args[0]; $create_time = $args[1]; $channel = P10_Channel::getChannelByName($name); -- 2.20.1