$listenerInstance->getListenPort() . ' added to listener pool.'
);
}
+
+ /**
+ * Run the shutdown seqeuence by a Visitor Pattern
+ *
+ * @return void
+ */
+ public function doShutdown () {
+ // Debug message
+ $this->debugOutput('POOL: Shutting down listener pool - START');
+
+ // Get a new visitor
+ $visitorInstance = ObjectFactory::createObjectByConfiguredName('listener_pool_visitor_class');
+
+ // Start visiting
+ $this->accept($visitorInstance);
+
+ // Debug message
+ $this->debugOutput('POOL: Shutting down listener pool - FINISHED');
+ }
}
// [EOF]