+ * @return void
+ */
+ function doBootstrapping ();
+
+ /**
+ * Initializes hub-specific queues
+ *
+ * @return void
+ */
+ function initQueues ();
+
+ /**
+ * Outputs the console teaser. This should only be executed on startup or
+ * full restarts. This method generates some space around the teaser.
+ *
+ * @return void
+ */
+ function outputConsoleTeaser ();
+
+ /**
+ * Add some node-specific filters
+ *
+ * @return void
+ */
+ function addExtraNodeFilters ();
+
+ /**
+ * Generic method to acquire a hub-id. On first run this generates a new one
+ * based on many pseudo-random data. On any later run, unless the id
+ * got not removed from database, it will be restored from the database.
+ *
+ * @param $requestInstance A Requestable class
+ * @param $responseInstance A Responseable class
+ * @return void
+ */
+ function bootstrapAcquireNodeId (Requestable $requestInstance, Responseable $responseInstance);
+
+ /**
+ * Activates the hub by doing some final preparation and setting
+ * $hubIsActive to true
+ *
+ * @param $requestInstance A Requestable class
+ * @param $responseInstance A Responseable class
+ * @return void
+ */
+ function activateNode (Requestable $requestInstance, Responseable $responseInstance);
+
+ /**
+ * Generates a session id which will be sent to the other hubs and peers
+ *
+ * @return void
+ */
+ function bootstrapGenerateSessionId ();
+
+ /**
+ * Generates a private key for en-/decryption
+ *
+ * @return void
+ */
+ function bootstrapGeneratePrivateKey ();
+
+ /**
+ * Initializes the listener pool (class)
+ *
+ * @return void
+ */
+ function initializeListenerPool ();
+
+ /**
+ * Restores a previously stored node list from database
+ *
+ * @return void
+ */
+ function bootstrapRestoreNodeList ();
+
+ /**
+ * Announces this hub to the upper (bootstrap or list) hubs. After this is
+ * successfully done the given task is unregistered from the handler.
+ *
+ * @param $taskInstance The task instance running this announcement
+ * @return void
+ * @throws HubAlreadyAnnouncedException If this hub is already announced
+ */
+ function announceSelfToUpperNodes (Taskable $taskInstance);
+
+ /**
+ * Does a self-connect attempt on the public IP address. This should make
+ * it sure, we are reachable from outside world.
+ *
+ * @param $taskInstance The task instance running this announcement
+ * @return void
+ */
+ function doSelfConnection (Taskable $taskInstance);
+
+ /**
+ * "Getter for address:port combination
+ *
+ * @param $handlerInstance An instance of a Networkable class
+ * @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