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