+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
<?php
// Own namespace
-namespace Org\Mxchange\Hub\AptProxy;
+namespace Org\Shipsimu\Hub\AptProxy;
// Import framework stuff
use Org\Mxchange\CoreFramework\Controller\Controller;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Chat;
+namespace Org\Shipsimu\Hub\Chat;
// Import framework stuff
use Org\Mxchange\CoreFramework\Controller\Controller;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Crawler;
+namespace Org\Shipsimu\Hub\Crawler;
// Import framework stuff
use Org\Mxchange\CoreFramework\Response\Responseable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Cruncher;
+namespace Org\Shipsimu\Hub\Cruncher;
// Import framework stuff
use Org\Mxchange\CoreFramework\Registry\Registerable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Decoder\;
+namespace Org\Shipsimu\Hub\Decoder\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Decoder\BaseDecoder;
-use Org\Mxchange\Hub\Decoder\Decodeable;
+use Org\Shipsimu\Hub\Decoder\BaseDecoder;
+use Org\Shipsimu\Hub\Decoder\Decodeable;
/**
* A ??? decoder class
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Dht\;
+namespace Org\Shipsimu\Hub\Dht\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Dht\BaseDht;
-use Org\Mxchange\Hub\Dht\Distributable;
+use Org\Shipsimu\Hub\Dht\BaseDht;
+use Org\Shipsimu\Hub\Dht\Distributable;
/**
* A ??? DHT facade class
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Discovery\;
+namespace Org\Shipsimu\Hub\Discovery\;
/**
* A !!! discovery class
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Discovery\Recipient\;
+namespace Org\Shipsimu\Hub\Discovery\Recipient\;
// Import framework-specific stuff
-use Org\Mxchange\Hub\Discovery\Recipient\BaseRecipientDiscovery;
+use Org\Shipsimu\Hub\Discovery\Recipient\BaseRecipientDiscovery;
/**
* A !!! recipient discovery class
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Factory\;
+namespace Org\Shipsimu\Hub\Factory\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Filter\Activation\Node\;
+namespace Org\Shipsimu\Hub\Filter\Activation\Node\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Factory\Node\NodeObjectFactory;
-use Org\Mxchange\Hub\Filter\Node\BaseNodeFilter;
+use Org\Shipsimu\Hub\Factory\Node\NodeObjectFactory;
+use Org\Shipsimu\Hub\Filter\Node\BaseNodeFilter;
// Import framework stuff
use Org\Mxchange\CoreFramework\Filter\Filterable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Filter\Bootstrap\AptProxy\;
+namespace Org\Shipsimu\Hub\Filter\Bootstrap\AptProxy\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Filter\Filterable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Filter\Bootstrap\Chat\;
+namespace Org\Shipsimu\Hub\Filter\Bootstrap\Chat\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Filter\Filterable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Filter\Bootstrap\Crawler\;
+namespace Org\Shipsimu\Hub\Filter\Bootstrap\Crawler\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Filter\Filterable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Filter\Bootstrap\Cruncher\;
+namespace Org\Shipsimu\Hub\Filter\Bootstrap\Cruncher\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Filter\Filterable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Filter\Bootstrap\Miner\;
+namespace Org\Shipsimu\Hub\Filter\Bootstrap\Miner\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Filter\Filterable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Filter\Bootstrap\Node\;
+namespace Org\Shipsimu\Hub\Filter\Bootstrap\Node\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Factory\Node\NodeObjectFactory;
-use Org\Mxchange\Hub\Filter\Node\BaseNodeFilter;
+use Org\Shipsimu\Hub\Factory\Node\NodeObjectFactory;
+use Org\Shipsimu\Hub\Filter\Node\BaseNodeFilter;
// Import framework stuff
use Org\Mxchange\CoreFramework\Filter\Filterable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Filter\Chat\;
+namespace Org\Shipsimu\Hub\Filter\Chat\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Filter\Filterable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\!!!\Filter\;
+namespace Org\Shipsimu\Hub\!!!\Filter\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Factory\Node\NodeObjectFactory;
-use Org\Mxchange\Hub\Filter\BaseHubFilter;
+use Org\Shipsimu\Hub\Factory\Node\NodeObjectFactory;
+use Org\Shipsimu\Hub\Filter\BaseHubFilter;
// Import framework stuff
use Org\Mxchange\CoreFramework\Filter\Filterable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Filter\Cruncher\;
+namespace Org\Shipsimu\Hub\Filter\Cruncher\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Filter\Filterable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Filter\Miner\;
+namespace Org\Shipsimu\Hub\Filter\Miner\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Filter\Filterable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Filter\Node\;
+namespace Org\Shipsimu\Hub\Filter\Node\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Filter\Node\BaseNodeFilter;
+use Org\Shipsimu\Hub\Filter\Node\BaseNodeFilter;
// Import framework stuff
use Org\Mxchange\CoreFramework\Filter\Filterable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Filter\Shutdown\Node\;
+namespace Org\Shipsimu\Hub\Filter\Shutdown\Node\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Factory\Node\NodeObjectFactory;
-use Org\Mxchange\Hub\Filter\Node\BaseNodeFilter;
+use Org\Shipsimu\Hub\Factory\Node\NodeObjectFactory;
+use Org\Shipsimu\Hub\Filter\Node\BaseNodeFilter;
// Import framework stuff
use Org\Mxchange\CoreFramework\Filter\Filterable;
// Import application-specific stuff
use Org\Shipsimu\Hub\Generic\HubInterface;
-use Org\Shipsimu\Hub\Locator\Node\LocateableNode;
use Org\Shipsimu\Hub\Network\Package\Receiver\Assembler\Assembler;
use Org\Shipsimu\Hub\Node\Node;
use Org\Shipsimu\Hub\Pool\Poolable;
*/
private $listenerPoolInstance = NULL;
- /**
- * An instance of a LocateableNode class
- */
- private $universalNodeLocatorInstance = NULL;
-
/**
* Assembler instance
*/
return $this->listenerPoolInstance;
}
- /**
- * Setter for UNL instance
- *
- * @para $locatorInstance An instance of a LocateableNode class
- * @return void
- */
- protected final function setUniversalNodeLocatorInstance (LocateableNode $locatorInstance) {
- // Set new UNL data array
- $this->universalNodeLocatorInstance = $locatorInstance;
- }
-
- /**
- * Getter for UNL instance
- *
- * @return $unlData An instance of a LocateableNode class
- */
- public final function getUniversalNodeLocatorInstance () {
- // Return UNL data array
- return $this->universalNodeLocatorInstance;
- }
-
/**
* Setter for assembler instance
*
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Handler\Network\;
+namespace Org\Shipsimu\Hub\Handler\Network\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Network\Networkable;
+use Org\Shipsimu\Hub\Network\Networkable;
/**
* A ??? network package handler
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Handler\Message\;
+namespace Org\Shipsimu\Hub\Handler\Message\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Criteria\Storing\StoreableCriteria;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Handler\Protocol\;
+namespace Org\Shipsimu\Hub\Handler\Protocol\;
// Import appplication-specific stuff
-use Org\Mxchange\Hub\Handler\Protocol\BaseProtocolHandler;
-use Org\Mxchange\Hub\Handler\Protocol\HandleableProtocol;
+use Org\Shipsimu\Hub\Handler\Protocol\BaseProtocolHandler;
+use Org\Shipsimu\Hub\Handler\Protocol\HandleableProtocol;
// Import framework stuff
use Org\Mxchange\CoreFramework\Registry\Registerable;
use Org\Shipsimu\Hub\Handler\BaseHubHandler;
use Org\Shipsimu\Hub\Handler\Protocol\HandleableProtocol;
use Org\Shipsimu\Hub\Tools\HubTools;
+use Org\Shipsimu\Hub\Traits\Locator\LocateableNodeTrait;
/**
* A general handler for protocols such as TCP, UDP and others.
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
abstract class BaseProtocolHandler extends BaseHubHandler implements HandleableProtocol {
+ // Load traits
+ use LocateableNodeTrait;
+
/**
* Name of used protocol
*/
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Handler\Protocol\;
+namespace Org\Shipsimu\Hub\Handler\Protocol\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Handler\Protocol\Network\IpV4\BaseIpV4Handler;
+use Org\Shipsimu\Hub\Handler\Protocol\Network\IpV4\BaseIpV4Handler;
// Import framework stuff
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Handler\Network\RawData;
+namespace Org\Shipsimu\Hub\Handler\Network\RawData;
// Import application-specific stuff
-use Org\Mxchange\Hub\Handler\Network\RawData\BaseRawDataHandler;
-use Org\Mxchange\Hub\Network\Networkable;
+use Org\Shipsimu\Hub\Handler\Network\RawData\BaseRawDataHandler;
+use Org\Shipsimu\Hub\Network\Networkable;
/**
* A !!! raw data handler
?>
// Own namespace
-namespace Org\Mxchange\Hub\Listener\;
+namespace Org\Shipsimu\Hub\Listener\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Listener\BaseListener;
-use Org\Mxchange\Hub\Listener\Listenable;
-use Org\Mxchange\Hub\Node\Node;
+use Org\Shipsimu\Hub\Listener\BaseListener;
+use Org\Shipsimu\Hub\Listener\Listenable;
+use Org\Shipsimu\Hub\Node\Node;
// Import framework stuff
use Org\Mxchange\CoreFramework\Visitor\Visitable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Helper\;
+namespace Org\Shipsimu\Hub\Helper\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Factory\Network\NetworkPackageFactory;
-use Org\Mxchange\Hub\Helper\BaseHubSystemHelper;
-use Org\Mxchange\Hub\Network\Package\NetworkPackage;
+use Org\Shipsimu\Hub\Factory\Network\NetworkPackageFactory;
+use Org\Shipsimu\Hub\Helper\BaseHubSystemHelper;
+use Org\Shipsimu\Hub\Network\Package\NetworkPackage;
/**
* A ??? !!! helper class
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Helper\Connection\;
+namespace Org\Shipsimu\Hub\Helper\Connection\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Helper\Connection\BaseConnectionHelper;
-use Org\Mxchange\Hub\Helper\Connection\ConnectionHelper;
+use Org\Shipsimu\Hub\Helper\Connection\BaseConnectionHelper;
+use Org\Shipsimu\Hub\Helper\Connection\ConnectionHelper;
/**
* A ??? connection helper class
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Node\Helper\;
+namespace Org\Shipsimu\Hub\Node\Helper\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Factory\Network\NetworkPackageFactory;
-use Org\Mxchange\Hub\Helper\Node\BaseNode;
-use Org\Mxchange\Hub\Node\Node;
-use Org\Mxchange\Hub\Network\Package\NetworkPackage;
-use Org\Mxchange\Hub\Node\Helper\HelpableNode;
+use Org\Shipsimu\Hub\Factory\Network\NetworkPackageFactory;
+use Org\Shipsimu\Hub\Helper\Node\BaseNode;
+use Org\Shipsimu\Hub\Node\Node;
+use Org\Shipsimu\Hub\Network\Package\NetworkPackage;
+use Org\Shipsimu\Hub\Node\Helper\HelpableNode;
/**
* A ??? hub helper class
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Information\;
+namespace Org\Shipsimu\Hub\Information\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Information\BaseInfo;
-use Org\Mxchange\Hub\Information\ShareableInfo;
+use Org\Shipsimu\Hub\Information\BaseInfo;
+use Org\Shipsimu\Hub\Information\ShareableInfo;
/**
* A ??? information class
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Iterator\Handler\;
+namespace Org\Shipsimu\Hub\Iterator\Handler\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Iterator\BaseIterator;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Iterator\Shutdown\;
+namespace Org\Shipsimu\Hub\Iterator\Shutdown\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Iterator\BaseIterator;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Listener\!!!;
+namespace Org\Shipsimu\Hub\Listener\!!!;
// Import application-specific stuff
-use Org\Mxchange\Hub\Listener\BaseListener;
-use Org\Mxchange\Hub\Listener\Listenable;
+use Org\Shipsimu\Hub\Listener\BaseListener;
+use Org\Shipsimu\Hub\Listener\Listenable;
// Import framework stuff
?>
// Own namespace
-namespace Org\Mxchange\Hub\Listener\Tcp\;
+namespace Org\Shipsimu\Hub\Listener\Tcp\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Node\Node;
-use Org\Mxchange\Hub\Listener\BaseListener;
-use Org\Mxchange\Hub\Listener\Listenable;
+use Org\Shipsimu\Hub\Node\Node;
+use Org\Shipsimu\Hub\Listener\BaseListener;
+use Org\Shipsimu\Hub\Listener\Listenable;
// Import framework stuff
use Org\Mxchange\CoreFramework\Visitor\Visitable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Listener\Udp\;
+namespace Org\Shipsimu\Hub\Listener\Udp\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Node\Node;
-use Org\Mxchange\Hub\Listener\BaseListener;
-use Org\Mxchange\Hub\Listener\Listenable;
+use Org\Shipsimu\Hub\Node\Node;
+use Org\Shipsimu\Hub\Listener\BaseListener;
+use Org\Shipsimu\Hub\Listener\Listenable;
// Import framework stuff
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Miner;
+namespace Org\Shipsimu\Hub\Miner;
// Import framework stuff
use Org\Mxchange\CoreFramework\Registry\Registerable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Node\;
+namespace Org\Shipsimu\Hub\Node\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Node\BaseHubNode;
-use Org\Mxchange\Hub\Node\Node;
+use Org\Shipsimu\Hub\Node\BaseHubNode;
+use Org\Shipsimu\Hub\Node\Node;
// Import framework stuff
use Org\Mxchange\CoreFramework\Registry\Registerable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Pool\;
+namespace Org\Shipsimu\Hub\Pool\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Listener\Listenable;
-use Org\Mxchange\Hub\Pool\BasePool;
-use Org\Mxchange\Hub\Pool\Poolable;
+use Org\Shipsimu\Hub\Listener\Listenable;
+use Org\Shipsimu\Hub\Pool\BasePool;
+use Org\Shipsimu\Hub\Pool\Poolable;
// Import framework stuff
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Network\Recipient\;
+namespace Org\Shipsimu\Hub\Network\Recipient\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Network\Recipient\BaseRecipient;
+use Org\Shipsimu\Hub\Network\Recipient\BaseRecipient;
// Import framework stuff
use Org\Mxchange\CoreFramework\Lists\Listable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Resolver\Protocol\;
+namespace Org\Shipsimu\Hub\Resolver\Protocol\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Node\Node;
-use Org\Mxchange\Hub\Resolver\Protocol\BaseProtocolResolver;
-use Org\Mxchange\Hub\Resolver\Protocol\ProtocolResolver;
+use Org\Shipsimu\Hub\Node\Node;
+use Org\Shipsimu\Hub\Resolver\Protocol\BaseProtocolResolver;
+use Org\Shipsimu\Hub\Resolver\Protocol\ProtocolResolver;
// Import framework stuff
use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\State\Communicator\;
+namespace Org\Shipsimu\Hub\State\Communicator\;
// Import framework stuff
use Org\Mxchange\CoreFramework\State\Stateable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\State\Crawler\;
+namespace Org\Shipsimu\Hub\State\Crawler\;
// Import framework stuff
use Org\Mxchange\CoreFramework\State\Stateable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\State\Cruncher\;
+namespace Org\Shipsimu\Hub\State\Cruncher\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Executor\Executor;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\State\Dht\;
+namespace Org\Shipsimu\Hub\State\Dht\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Dht\Distributable;
+use Org\Shipsimu\Hub\Dht\Distributable;
// Import framework stuff
use Org\Mxchange\CoreFramework\State\Stateable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\State\Miner\;
+namespace Org\Shipsimu\Hub\State\Miner\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Executor\Executor;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\State\Node\;
+namespace Org\Shipsimu\Hub\State\Node\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Node\Node;
+use Org\Shipsimu\Hub\Node\Node;
// Import framework stuff
use Org\Mxchange\CoreFramework\State\Stateable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\State\Peer;
+namespace Org\Shipsimu\Hub\State\Peer;
// Import application-specific stuff
-use Org\Mxchange\Hub\Container\Socket\StorableSocket;
-use Org\Mxchange\Hub\State\Peer\PeerStateable;
+use Org\Shipsimu\Hub\Container\Socket\StorableSocket;
+use Org\Shipsimu\Hub\State\Peer\PeerStateable;
// Import framework stuff
use Org\Mxchange\CoreFramework\State\Stateable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Tag\;
+namespace Org\Shipsimu\Hub\Tag\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Tag\BaseTag;
-use Org\Mxchange\Hub\Tag\Tagable;
+use Org\Shipsimu\Hub\Tag\BaseTag;
+use Org\Shipsimu\Hub\Tag\Tagable;
/**
* A ??? tags class
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Task\AptProxy\;
+namespace Org\Shipsimu\Hub\Task\AptProxy\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Task\BaseTask;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Task\Chat\;
+namespace Org\Shipsimu\Hub\Task\Chat\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Task\BaseTask;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Task\Crawler\;
+namespace Org\Shipsimu\Hub\Task\Crawler\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Task\BaseTask;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Task\Crawler\Source\Url\;
+namespace Org\Shipsimu\Hub\Task\Crawler\Source\Url\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Task\Taskable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Task\Cruncher\;
+namespace Org\Shipsimu\Hub\Task\Cruncher\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Task\BaseTask;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Task\Miner\;
+namespace Org\Shipsimu\Hub\Task\Miner\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Task\BaseTask;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Task\AptProxy\Task\Network\;
+namespace Org\Shipsimu\Hub\Task\AptProxy\Task\Network\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Task\BaseTask;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Node\Task\;
+namespace Org\Shipsimu\Hub\Node\Task\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Task\BaseTask;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Task\Node\Dht\;
+namespace Org\Shipsimu\Hub\Task\Node\Dht\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Task\BaseTask;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Template\Engine\Xml\Network\Answer\;
+namespace Org\Shipsimu\Hub\Template\Engine\Xml\Network\Answer\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
+use Org\Shipsimu\Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
// Import framework stuff
use Org\Mxchange\CoreFramework\Registry\Registerable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Template\Engine\Xml\;
+namespace Org\Shipsimu\Hub\Template\Engine\Xml\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Template\Engine\Xml\BaseXmlTemplateEngine;
+use Org\Shipsimu\Hub\Template\Engine\Xml\BaseXmlTemplateEngine;
// Import framework stuff
use Org\Mxchange\CoreFramework\Registry\Registerable;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Visitor\;
+namespace Org\Shipsimu\Hub\Visitor\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Pool\Poolable;
-use Org\Mxchange\Hub\Visitor\Pool\PoolVisitor;
+use Org\Shipsimu\Hub\Pool\Poolable;
+use Org\Shipsimu\Hub\Visitor\Pool\PoolVisitor;
// Import framework stuff
use Org\Mxchange\CoreFramework\Visitor\BaseVisitor;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Visitor\Handler\;
+namespace Org\Shipsimu\Hub\Visitor\Handler\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Pool\Poolable;
-use Org\Mxchange\Hub\Visitor\Pool\PoolVisitor;
+use Org\Shipsimu\Hub\Pool\Poolable;
+use Org\Shipsimu\Hub\Visitor\Pool\PoolVisitor;
// Import framework stuff
use Org\Mxchange\CoreFramework\Visitor\BaseVisitor;
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Visitor\;
+namespace Org\Shipsimu\Hub\Visitor\;
// Import application-specific stuff
-use Org\Mxchange\Hub\Pool\Poolable;
-use Org\Mxchange\Hub\Visitor\Pool\PoolVisitor;
+use Org\Shipsimu\Hub\Pool\Poolable;
+use Org\Shipsimu\Hub\Visitor\Pool\PoolVisitor;
// Import framework stuff
use Org\Mxchange\CoreFramework\Visitor\BaseVisitor;
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
<?php
// Own namespace
-namespace Org\Mxchange\Hub\Discovery\;
+namespace Org\Shipsimu\Hub\Discovery\;
// Import framework stuff
use Org\Mxchange\CoreFramework\Discovery\Discoverable;
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
--- /dev/null
+<?php
+// Own namespace
+namespace Org\Shipsimu\Hub\Traits\Locator;
+
+// Import appplication-specific stuff
+use Org\Shipsimu\Hub\Locator\Node\LocateableNode;
+
+/**
+ * A trait for node locators
+ *
+ * @author Roland Haeder <webmaster@ship-simu.org>
+ * @version 0.0.0
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2018 Hub Developer Team
+ * @license GNU GPL 3.0 or any newer version
+ * @link http://www.ship-simu.org
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+trait LocateableNodeTrait {
+ /**
+ * An instance of a LocateableNode class
+ */
+ private $universalNodeLocatorInstance = NULL;
+
+ /**
+ * Setter for UNL instance
+ *
+ * @para $locatorInstance An instance of a LocateableNode class
+ * @return void
+ */
+ protected final function setUniversalNodeLocatorInstance (LocateableNode $locatorInstance) {
+ // Set new UNL data array
+ $this->universalNodeLocatorInstance = $locatorInstance;
+ }
+
+ /**
+ * Getter for UNL instance
+ *
+ * @return $unlData An instance of a LocateableNode class
+ */
+ public final function getUniversalNodeLocatorInstance () {
+ // Return UNL data array
+ return $this->universalNodeLocatorInstance;
+ }
+
+}