X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Fvisitor%2Ftasks%2Fclass_ShutdownTaskVisitor.php;h=1eef929e16841b195b5c01fbeab40ae8b0266ca2;hb=dfa91e1b5e2d0a3f68c133b3bec4fcb34e5e9c96;hp=5ccab26326a541ac444412e8f76a098730533d22;hpb=c13ca7c93ee55b02d1d3320fca5d2d8d6e953768;p=hub.git diff --git a/application/hub/main/visitor/tasks/class_ShutdownTaskVisitor.php b/application/hub/main/visitor/tasks/class_ShutdownTaskVisitor.php index 5ccab2632..1eef929e1 100644 --- a/application/hub/main/visitor/tasks/class_ShutdownTaskVisitor.php +++ b/application/hub/main/visitor/tasks/class_ShutdownTaskVisitor.php @@ -2,11 +2,11 @@ /** * An ShutdownTask visitor * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.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 @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class ShutdownTaskVisitor extends BaseVisitor implements TaskVisitor, QueryConnectorVisitor, QueueConnectorVisitor, PoolVisitor, ListenerVisitor, DecoratorVisitor { +class ShutdownTaskVisitor extends BaseVisitor implements TaskVisitor, PoolVisitor, ListenerVisitor, DecoratorVisitor { /** * Protected constructor * @@ -59,28 +59,6 @@ class ShutdownTaskVisitor extends BaseVisitor implements TaskVisitor, QueryConne $taskInstance->doShutdown(); } - /** - * Connector visitor method for active tasks - * - * @param $connectorInstance A Connectable instance - * @return void - */ - public function visitQueryConnector (Connectable $connectorInstance) { - // Shutdown the connector instance - $connectorInstance->doShutdown(); - } - - /** - * Connector visitor method for active tasks - * - * @param $connectorInstance A Connectable instance - * @return void - */ - public function visitQueueConnector (Connectable $connectorInstance) { - // Shutdown the connector instance - $connectorInstance->doShutdown(); - } - /** * Pool visitor method for active tasks * @@ -92,30 +70,6 @@ class ShutdownTaskVisitor extends BaseVisitor implements TaskVisitor, QueryConne $poolInstance->doShutdown(); } - /** - * Query visitor method for active queries - * - * @param $queryInstance A Queryable instance - * @return void - * @todo Does a query needs to perform some actions as an active task? - */ - public function visitQuery (Queryable $queryInstance) { - // Shutdown the query instance - $queryInstance->doShutdown(); - } - - /** - * Queue visitor method for active queries - * - * @param $queueInstance A Queueable instance - * @return void - * @todo Does a queue needs to perform some actions as an active task? - */ - public function visitQueue (Queueable $queueInstance) { - // Shutdown the queue instance - $queueInstance->doShutdown(); - } - /** * Visits the given listener instance *