]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/handler/protocol/class_HandleableProtocol.php
Added isValidUnlByPackageData()
[core.git] / inc / classes / interfaces / handler / protocol / class_HandleableProtocol.php
index 8cfe6d60c8fd634efe0005ad7f8fe145c56cc208..aa22a72b63fcf82f1e53a934d02b7ef4ece3b005 100644 (file)
@@ -35,6 +35,15 @@ interface HandleableProtocol extends Handleable {
         * @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 isValidUnlByPackageData (array $packageData);
 }
 
 // [EOF]