// Own namespace
namespace Hub\Factory\Handler\Protocol;
+// Import application-specific stuff
+use Hub\Helper\HubHelper;
+
// Import framework stuff
use CoreFramework\Factory\ObjectFactory;
use CoreFramework\Registry\Registry;
// Call super factory method
return self::createProtocolHandlerByType($protocolType);
}
-}
-// [EOF]
-?>
+}
use Hub\Generic\BaseHubSystem;
use Hub\Helper\Connection\BaseConnectionHelper;
use Hub\Helper\Connection\ConnectionHelper;
+use Hub\Helper\HubHelper;
use Hub\Network\Receive\Receivable;
use Hub\Tools\HubTools;
$this->partialStub('@TODO nodeId=' . $nodeId . ',messageData=' . print_r($messageData, TRUE));
}
-}
-// [EOF]
-?>
+}
// Own namespace
namespace Hub\Helper\Connection;
+// Import application-specific stuff
+use Hub\Helper\HubHelper;
+
/**
* An interface for connection helper classes
*
<?php
+// Own namespace
+namespace Hub\Helper\Dht;
+
+// Import application-specific stuff
+use Hub\Helper\HubHelper;
+
/**
* An interface for hub helper classes
*
* @return void
*/
function sendPackage (Distributable $dhtInstance);
-}
-// [EOF]
-?>
+}
* @return $protocolType Type of protocol to use, usually TCP
*/
function determineProtocolType ();
-}
-// [EOF]
-?>
+}
namespace Hub\Helper\Node;
// Import application-specific stuff
+use Hub\Helper\HubHelper;
use Hub\Helper\Node\NodeHelper;
/**
* @return void
*/
function sendPackage (NodeHelper $nodeInstance);
-}
-// [EOF]
-?>
+}
// Own namespace
namespace Hub\Network\Deliver;
+// Import application-specific stuff
+use Hub\Helper\HubHelper;
+
// Import framework stuff
use CoreFramework\Generic\FrameworkInterface;
* @return void
*/
function clearAllStacks ();
-}
-// [EOF]
-?>
+}