From: pk910 Date: Tue, 26 Jul 2011 10:50:28 +0000 (+0200) Subject: added EventHandler idea (not implemented, yet) X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=commitdiff_plain;h=75006029f289768c0eedf6d324e330df5c06f734 added EventHandler idea (not implemented, yet) --- 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);