]> git.mxchange.org Git - hub.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Tue, 24 Nov 2020 03:23:26 +0000 (04:23 +0100)
committerRoland Häder <roland@mxchange.org>
Tue, 24 Nov 2020 03:23:26 +0000 (04:23 +0100)
- added missing getter/setter for $searchInstance and local class field
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
application/hub/classes/nodes/class_BaseHubNode.php
application/hub/interfaces/nodes/class_Node.php
core

index dbb1adb9fb7913a0cca9b0809b7def90768e33a9..b1d9e0541c47a517793926ee1deb76c0f08b58ed 100644 (file)
@@ -99,6 +99,11 @@ abstract class BaseHubNode extends BaseHubSystem implements Updateable, AddableC
         */
        private $listenerPoolInstance = NULL;
 
+       /**
+        * Search criteria instance
+        */
+       private $searchInstance = NULL;
+
        /**
         * Protected constructor
         *
@@ -914,4 +919,23 @@ abstract class BaseHubNode extends BaseHubSystem implements Updateable, AddableC
                return $this->listenerPoolInstance;
        }
 
+       /**
+        * Setter for search instance
+        *
+        * @param       $searchInstance         Searchable criteria instance
+        * @return      void
+        */
+       public final function setSearchInstance (LocalSearchCriteria $searchInstance) {
+               $this->searchInstance = $searchInstance;
+       }
+
+       /**
+        * Getter for search instance
+        *
+        * @return      $searchInstance         Searchable criteria instance
+        */
+       public final function getSearchInstance () {
+               return $this->searchInstance;
+       }
+
 }
index 807f122e99c2e1fc1473c9e2037b174218856653..ae1a1210c0cc6b8edc3fdff9fa0323e99adbb0d2 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Network\Message\DeliverableMessage;
 use Org\Shipsimu\Hub\Network\Receive\Receivable;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Criteria\Local\LocalSearchCriteria;
 use Org\Mxchange\CoreFramework\Handler\Task\HandleableTask;
 use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
 use Org\Mxchange\CoreFramework\Request\Requestable;
@@ -202,4 +203,19 @@ interface Node extends FrameworkInterface {
         */
        function createNodeDataArray ();
 
+       /**
+        * Setter for search instance
+        *
+        * @param       $searchInstance         Searchable criteria instance
+        * @return      void
+        */
+       function setSearchInstance (LocalSearchCriteria $searchInstance);
+
+       /**
+        * Getter for search instance
+        *
+        * @return      $searchInstance         Searchable criteria instance
+        */
+       function getSearchInstance ();
+
 }
diff --git a/core b/core
index 8c96c0cfa128e4d536788feec87d60719db198fa..8a70226bd287a3f13b27932e2ec88d16c51c7e39 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 8c96c0cfa128e4d536788feec87d60719db198fa
+Subproject commit 8a70226bd287a3f13b27932e2ec88d16c51c7e39