*/
private $poolInstance = null;
- /**
- * A network package handler instance
- */
- private $packageInstance = null;
-
/**
* Protected constructor
*
* @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;
}
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