]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/listener/class_BaseListener.php
Many classes/interfaces added/continued:
[hub.git] / application / hub / main / listener / class_BaseListener.php
index 1a767f9cb16a6eddfe596e1d32d54232b6c7aece..5270a83d4a333ff7358c31a1e721e074057cf43d 100644 (file)
@@ -51,11 +51,6 @@ class BaseListener extends BaseHubSystem implements Visitable {
         */
        private $poolInstance = null;
 
-       /**
-        * A network package handler instance
-        */
-       private $packageInstance = null;
-
        /**
         * Protected constructor
         *
@@ -202,7 +197,7 @@ class BaseListener extends BaseHubSystem implements Visitable {
         * @param       $poolInstance   The peer pool instance we shall set
         * @return      void
         */
-       protected final function setPoolInstance (Poolablepeer $poolInstance) {
+       protected final function setPoolInstance (PoolablePeer $poolInstance) {
                $this->poolInstance = $poolInstance;
        }
 
@@ -215,25 +210,6 @@ class BaseListener extends BaseHubSystem implements Visitable {
                return $this->poolInstance;
        }
 
-       /**
-        * Setter for network package handler instance
-        *
-        * @param       $packageInstance        The network package handler instance we shall set
-        * @return      void
-        */
-       protected final function setPackageInstance (Networkable $packageInstance) {
-               $this->packageInstance = $packageInstance;
-       }
-
-       /**
-        * Getter for network package handler instance
-        *
-        * @return      $packageInstance        The network package handler instance we shall set
-        */
-       protected final function getPackageInstance () {
-               return $this->packageInstance;
-       }
-
        /**
         * Registeres the given socket resource for "this" listener instance. This
         * will be done in a seperate class to allow package writers to use it