-OS<?php
+<?php
/**
* An interface for ProtocolResolvers
*
*/
interface ProtocolResolver extends FrameworkInterface {
/**
- * Returns an command instance for a given NodeHelper instance or null if it
- * was not found.
+ * Returns an instance of a LocateableNode class 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);
+ function resolveUniversalNodeLocatorFromNodeHelper (NodeHelper $nodeInstance);
+
+ /**
+ * Returns the UNL as string from given configuration key.
+ *
+ * @param $configKey Configuration key for UNL address (valid: internal,external)
+ * @return $unl Universal node locator
+ */
+ function resolveUniversalNodeLocatorFromConfigKey ($configKey);
}
// [EOF]