// Create the new state instance
NodeStateFactory::createNodeStateInstanceByName('announced', $this->getNodeInstance());
}
+
+ /**
+ * State change for if the node has just connected to itself and
+ * node/session id are both equal. The self-connect means that
+ * the node possibly reachable from outside. This may require
+ * confirmation by other peers.
+ *
+ * @return void
+ * @todo We might want to move some calls to this method to fill it with life
+ */
+ public function nodeHasSelfConnected () {
+ // Create the new state instance
+ NodeStateFactory::createNodeStateInstanceByName('reachable', $this->getNodeInstance());
+ }
}
// [EOF]