]> git.mxchange.org Git - hub.git/blobdiff - application/hub/interfaces/handler/network/class_Networkable.php
New singleton-factories introduced:
[hub.git] / application / hub / interfaces / handler / network / class_Networkable.php
index bb4ce5028218489dd395b949a32fc5dc38f7e4e8..12b1ad2ada159cd6c3a945b380b9998aa1022fdb 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Networkable extends Handleable {
+       /**
+        * Processes raw data from given resource. This is mostly useful for TCP
+        * package handling and is implemented in the TcpListener class
+        *
+        * @param       $resource       A valid resource identifier
+        * @return      void
+        * @throws      InvalidResourceException        If the given resource is invalid
+        */
+       function processResourceRawData ($resource);
 }
 
-//
+// [EOF]
 ?>