From: Roland Haeder Date: Sat, 12 Sep 2015 06:03:28 +0000 (+0200) Subject: Setting a listener type is needed for later pooling. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1277bc312f5e5fe20eb9d4e5320cde4fadeadb5c;p=core.git Setting a listener type is needed for later pooling. Signed-off-by: Roland Häder --- diff --git a/inc/main/classes/listener/class_ b/inc/main/classes/listener/class_ index 9c600653..f4ac2cb0 100644 --- a/inc/main/classes/listener/class_ +++ b/inc/main/classes/listener/class_ @@ -30,6 +30,9 @@ class ???Listener extends BaseListener implements Listenable { protected function __construct () { // Call parent constructor parent::__construct(__CLASS__); + + // Set the protocol to !!! + $this->setProtocolName('!!!'); } /** diff --git a/inc/main/classes/listener/socket/class_SocketFileListener.php b/inc/main/classes/listener/socket/class_SocketFileListener.php index fcb8dc8d..4dea353c 100644 --- a/inc/main/classes/listener/socket/class_SocketFileListener.php +++ b/inc/main/classes/listener/socket/class_SocketFileListener.php @@ -30,6 +30,9 @@ class SocketFileListener extends BaseListener implements Listenable { protected function __construct () { // Call parent constructor parent::__construct(__CLASS__); + + // Set the protocol to file + $this->setProtocolName('file'); } /**