]> git.mxchange.org Git - hub.git/blobdiff - application/hub/interfaces/listener/class_Listenable.php
A lot 'FooClientBar' classes renamed to 'FooPeerBar' for naming convention, added...
[hub.git] / application / hub / interfaces / listener / class_Listenable.php
index ae2aca028962246343b5a41be8111dbcad1723ac..f299712d12f87357e8123a1a785a1edb07f1825f 100644 (file)
@@ -35,6 +35,14 @@ interface Listenable extends ProtocolHandler {
         * @return      void
         */
        function doListen();
+
+       /**
+        * Checks wether the listener would accept the given package data array
+        *
+        * @param       $packageData    Raw package data
+        * @return      $accepts                Wether this listener does accept
+        */
+       function ifListenerAcceptsPackageData (array $packageData);
 }
 
 // [EOF]