private $parserInstance = NULL;
/**
- * A ProtocolHandler instance
+ * A HandleableProtocol instance
*/
private $protocolInstance = NULL;
private $minableInstance = NULL;
/**
- * A Directory instance
+ * A FrameworkDirectory instance
*/
private $directoryInstance = NULL;
+ /**
+ * Listener instance
+ */
+ private $listenerInstance = NULL;
+
/**
* Thousands separator
*/
}
/**
- * Setter for ProtocolHandler instance
+ * Setter for HandleableProtocol instance
*
- * @param $protocolInstance An instance of an ProtocolHandler
+ * @param $protocolInstance An instance of an HandleableProtocol
* @return void
*/
- public final function setProtocolInstance (ProtocolHandler $protocolInstance = NULL) {
+ public final function setProtocolInstance (HandleableProtocol $protocolInstance = NULL) {
$this->protocolInstance = $protocolInstance;
}
/**
- * Getter for ProtocolHandler instance
+ * Getter for HandleableProtocol instance
*
- * @return $protocolInstance An instance of an ProtocolHandler
+ * @return $protocolInstance An instance of an HandleableProtocol
*/
public final function getProtocolInstance () {
return $this->protocolInstance;
}
/**
- * Setter for Directory instance
+ * Setter for FrameworkDirectory instance
*
* @param $directoryInstance A FrameworkDirectoryPointer instance
* @return void
*/
- protected final function setDirectoryInstance (Directory $directoryInstance) {
+ protected final function setDirectoryInstance (FrameworkDirectory $directoryInstance) {
$this->directoryInstance = $directoryInstance;
}
/**
- * Getter for directory instance
+ * Getter for FrameworkDirectory instance
*
- * @return $directoryInstance A Directory instance
+ * @return $directoryInstance A FrameworkDirectory instance
*/
protected final function getDirectoryInstance () {
return $this->directoryInstance;
}
+ /**
+ * Setter for listener instance
+ *
+ * @param $listenerInstance A Listenable instance
+ * @return void
+ */
+ protected final function setListenerInstance (Listenable $listenerInstance) {
+ $this->listenerInstance = $listenerInstance;
+ }
+
+ /**
+ * Getter for listener instance
+ *
+ * @return $listenerInstance A Listenable instance
+ */
+ protected final function getListenerInstance () {
+ return $this->listenerInstance;
+ }
+
/**
* Checks whether an object equals this object. You should overwrite this
* method to implement own equality checks