X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Finterfaces%2Fnodes%2Fclass_NodeHelper.php;h=80addaf8144a865b3af0ef82970ee9e410cfd527;hb=837aefc0292c2a37fedd8ce06d3b57b05a112a36;hp=dc96ab30a5d7458c020c394e23a03565fbf298c4;hpb=01c1eee4daca999fb09fb116c19efd589cf0cba8;p=hub.git diff --git a/application/hub/interfaces/nodes/class_NodeHelper.php b/application/hub/interfaces/nodes/class_NodeHelper.php index dc96ab30a..80addaf81 100644 --- a/application/hub/interfaces/nodes/class_NodeHelper.php +++ b/application/hub/interfaces/nodes/class_NodeHelper.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @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]