* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
interface ProtocolResolver extends FrameworkInterface {
+ /**
+ * Returns an command instance for a given NodeHelper instance or null if it
+ * was not found.
+ *
+ * @param $nodeInstance An instance of a NodeHelper class
+ * @return $unlInstance An instance of a LocateableNode class
+ */
+ function resolveUniversalResourceLocatorFromNodeHelper (NodeHelper $nodeInstance);
}
// [EOF]
/**
* Setter for session id
*
- * @param $sessionId The new session id
+ * @param $sessionId The new session id
* @return void
*/
protected final function setSessionId ($sessionId) {
/**
* Getter for session id
*
- * @return $sessionId Current session id
+ * @return $sessionId Current session id
*/
public final function getSessionId () {
return $this->getConfigInstance()->getConfigEntry('session_id');
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-class BaseProtocolResolver extends BaseResolver {
+class BaseProtocolResolver extends BaseHubSystem {
/**
* Protected constructor
*
}
/**
- * Returns an command instance for a given request class or null if
- * it was not found
+ * Returns an command instance for a given NodeHelper instance or null if it
+ * was not found.
*
* @param $nodeInstance An instance of a NodeHelper class
* @return $unlInstance An instance of a LocateableNode class
public function processStack () {
// Does the stack have some entries left?
if (!$this->isUrlStackEmpty()) {
- // Nothing to handle here
+ /*
+ * Handle next entry. This method will be called very often, so need
+ * to process more than one entry at a time.
+ */
$this->processNextEntry();
- } elseif ($this->
+ } // @TODO elseif ($this->
$this->partialStub('Please implement this method.');
}
+++ /dev/null
-http://mxchange.org