+
+ /**
+ * Checks whether there are entries in "INSERT" node data stack
+ *
+ * @return $isPending Whether there are pending entries
+ */
+ public function ifInsertNodeDataPending () {
+ // Determine it if it is not empty
+ $isPending = ($this->getStackerInstance()->isStackEmpty(self::STACKER_NAME_INSERT_NODE) === FALSE);
+
+ // Return status
+ return $isPending;
+ }
+
+ /**
+ * Inserts a single entry of node data into the DHT
+ *
+ * @return void
+ */
+ public function insertSingleNodeData () {
+ // Get next node data from stack
+ $nodeData = $this->getStackerInstance()->popNamed(self::STACKER_NAME_INSERT_NODE);
+
+ die(__METHOD__ . ':nodeData=' . print_r($nodeData, TRUE));
+ }