]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/listener/tcp/decorators/class_ClientTcpListenerDecorator.php
Moved a lot classes, added visitors and methods
[hub.git] / application / hub / main / listener / tcp / decorators / class_ClientTcpListenerDecorator.php
index e23d00c25d84ccd1a4cf91b4fe96149df761d2f4..7dfb77868c74d23db333232d09f1ca32b352950f 100644 (file)
@@ -57,6 +57,19 @@ class ClientTcpListenerDecorator 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() {
+               // Handle generic TCP package
+               $this->getListenerInstance()->doListen();
+
+               // Handle client TCP package
+               $this->partialStub('Need to handle client TCP package.');
+       }
 }
 
 // [EOF]