]> git.mxchange.org Git - hub.git/blobdiff - application/hub/interfaces/nodes/class_NodeHelper.php
Many classes/interfaces added/continued:
[hub.git] / application / hub / interfaces / nodes / class_NodeHelper.php
index 5ca4ba82b4022b35f30f3baae026e5c7c7ae2003..6b9f7b913e239df6565aec67ed5859d046a1eaca 100644 (file)
@@ -105,6 +105,15 @@ interface NodeHelper extends FrameworkInterface {
         * @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);
 }
 
 // [EOF]