]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/lookup/peer/class_PeerStateLookupTable.php
New exception and interface added, continued development:
[hub.git] / application / hub / main / lookup / peer / class_PeerStateLookupTable.php
index fcf78f64758c455d46a5f35728b7e2343d18b293..60b452196eee61659a1a187cd286338586647f61 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class PeerStateLookupTable extends BaseLookupTable implements Lookupable {
+class PeerStateLookupTable extends BaseLookupTable implements LookupablePeerState {
        /**
         * Protected constructor
         *
@@ -64,6 +64,17 @@ class PeerStateLookupTable extends BaseLookupTable implements Lookupable {
                // Return it
                return $isNewPeer;
        }
+
+       /**
+        * Registers the given peer state and raw package data
+        *
+        * @param       $stateInstance  A PeerStateable class instance
+        * @param       $packageData    Valid package data array
+        * @return      void
+        */
+       public function registerPeerState (PeerStateable $stateInstance, array $packageData) {
+               die(__METHOD__."\n");
+       }
 }
 
 // [EOF]