]> git.mxchange.org Git - hub.git/blobdiff - application/hub/interfaces/nodes/class_NodeHelper.php
Hub project continued: (I have now a little more time)
[hub.git] / application / hub / interfaces / nodes / class_NodeHelper.php
index dc96ab30a5d7458c020c394e23a03565fbf298c4..80addaf8144a865b3af0ef82970ee9e410cfd527 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 - 2011 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  * @todo               We need to find a better name for this interface
@@ -82,6 +82,13 @@ interface NodeHelper extends FrameworkInterface {
         */
        function bootstrapGenerateSessionId ();
 
+       /**
+        * Generates a private key for en-/decryption
+        *
+        * @return      void
+        */
+       function bootstrapGeneratePrivateKey ();
+
        /**
         * Initializes the listener pool (class)
         *
@@ -122,6 +129,22 @@ interface NodeHelper extends FrameworkInterface {
         * @return      $addressPort            A address:port combination for this node
         */
        function getAddressPort (Networkable $handlerInstance);
+
+       /**
+        * Adds hub data elements to a given dataset instance
+        *
+        * @param       $criteriaInstance       An instance of a storeable criteria
+        * @param       $requestInstance        An instance of a Requestable class
+        * @return      void
+        */
+       function addElementsToDataSet (StoreableCriteria $criteriaInstance, Requestable $requestInstance);
+
+       /**
+        * Updates/refreshes node data (e.g. state).
+        *
+        * @return      void
+        */
+       function updateNodeData ();
 }
 
 // [EOF]