* @return $protocol Name of used protocol
*/
function getProtocolName ();
+
+ /**
+ * Validates given 'recipient' if it is a valid UNL. This means that the UNL
+ * can be parsed by the protocol handler.
+ *
+ * @param $packageData Valid raw package data
+ * @return $isValid Whether the UNL can be validated
+ */
+ function isValidUniversalNodeLocatorByPackageData (array $packageData);
+
+ /**
+ * If the found UNL (address) matches own external or internal address
+ *
+ * @return $ifMatches Whether the found UNL matches own addresss
+ */
+ function isOwnAddress ();
}
// [EOF]