// Get a result back
$resultInstance = $this->doSelectByCriteria($searchInstance);
- // Set result instance in node instance
- $nodeInstance->setResultInstance($resultInstance);
-
// Is it valid?
$GLOBALS[__METHOD__] = $resultInstance->next();
- } // END - if
+ }
// Return it
return $GLOBALS[__METHOD__];
use Org\Mxchange\CoreFramework\Assertion\AssertionException;
use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
use Org\Mxchange\CoreFramework\Registry\Registerable;
+use Org\Mxchange\CoreFramework\Traits\Crypto\CryptoTrait;
/**
* A Chunk handler
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
class ChunkHandler extends BaseHubHandler implements HandleableChunks, Registerable {
+ // Load traits
+ use CryptoTrait;
+
/**
* Stacker for chunks with final EOP
*/
use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
use Org\Mxchange\CoreFramework\Registry\Registerable;
use Org\Mxchange\CoreFramework\Socket\InvalidSocketException;
+use Org\Mxchange\CoreFramework\Traits\Crypto\CryptoTrait;
use Org\Mxchange\CoreFramework\Visitor\Visitable;
use Org\Mxchange\CoreFramework\Visitor\Visitor;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
class NetworkPackageHandler extends BaseHubHandler implements Deliverable, Receivable, Registerable, Visitable {
+ // Load traits
+ use CryptoTrait;
+
/**
* Package mask for compressing package data:
* 0: Compressor extension
use Org\Mxchange\CoreFramework\Request\Requestable;
use Org\Mxchange\CoreFramework\Response\Responseable;
use Org\Mxchange\CoreFramework\Task\Taskable;
+use Org\Mxchange\CoreFramework\Traits\Crypto\CryptoTrait;
/**
* A general hub node class
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
abstract class BaseHubNode extends BaseHubSystem implements Updateable, AddableCriteria {
+ // Load traits
+ use CryptoTrait;
+
/**
* Node types
*/
use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
use Org\Mxchange\CoreFramework\Registry\Registerable;
+use Org\Mxchange\CoreFramework\Traits\Crypto\CryptoTrait;
use Org\Mxchange\CoreFramework\Utils\String\StringUtils;
/**
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
class PackageFragmenter extends BaseHubSystem implements Fragmentable, Registerable {
+ // Load traits
+ use CryptoTrait;
+
/**
* Cached chunk size in bits
*/
// Import application-specific stuff
use Org\Shipsimu\Hub\Generic\BaseHubSystem;
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Traits\Crypto\CryptoTrait;
+
/**
* A general source class
*
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
abstract class BaseSource extends BaseHubSystem {
+ // Load traits
+ use CryptoTrait;
+
/**
* Protected constructor
*
-Subproject commit 2b0e7f20e7d554a5675c3268db6de3dd3ab3421d
+Subproject commit 977b9bbb804eda74ad2d819d1de082933dd0bb08