]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/listener/udp/decorators/class_HubUdpListenerDecorator.php
Moved a lot classes, added visitors and methods
[hub.git] / application / hub / main / listener / udp / decorators / class_HubUdpListenerDecorator.php
index b5468fb7ece1c6cb0589cae131d32f4b413ae4a7..dc0630cc0ba20d5153b01b91fb0b256851cd3bf0 100644 (file)
@@ -57,6 +57,19 @@ class HubUdpListenerDecorator extends BaseListenerDecorator implements Listenabl
        public function initListener() {
                $this->partialStub('WARNING: This method should not be called.');
        }
+
+       /**
+        * "Listens" for incoming network packages
+        *
+        * @return      void
+        */
+       public function doListen() {
+               // Handle generic package first
+               $this->getListenerInstance()->doListen();
+
+               // Handle hub UDP package
+               $this->partialStub('Need to handle hub UDP package.');
+       }
 }
 
 // [EOF]