]> git.mxchange.org Git - hub.git/blobdiff - application/hub/interfaces/package/class_Receivable.php
'hub' project continued:
[hub.git] / application / hub / interfaces / package / class_Receivable.php
index b6034b048690c812a0427c19b2e02c7204810a8d..869a710bfd2640231e06e400bdc2668c40235dc2 100644 (file)
@@ -68,6 +68,15 @@ interface Receivable extends FrameworkInterface {
         * @return      void
         */
        function addDecodedDataToIncomingStack (Networkable $handlerInstance);
+
+       /**
+        * "Decode" the package content. This method does also verify the attached hash
+        * against the real raw package data (that what the sender has sent).
+        *
+        * @param       $rawPackageContent      The raw package content to be "decoded"
+        * @return      $decodedData            The real package data that the sender has sent
+        */
+       function decodeRawContent ($rawPackageContent);
 }
 
 // [EOF]