);
}
+ /**
+ * Handle the listeners by asking them for received network packages.
+ * You should not add any debug lines here because they will be executed
+ * in the main loop and may be a performance impact.
+ *
+ * @return void
+ */
+ public function handleListenerPool () {
+ // Get a visitor instance
+ $visitorInstance = ObjectFactory::createObjectByConfiguredName('handler_listener_pool_visitor_class');
+
+ // Start the visit
+ $this->accept($visitorInstance);
+ }
+
/**
* Run the shutdown seqeuence by a Visitor Pattern
*
$this->debugOutput('POOL: Shutting down listener pool - START');
// Get a new visitor
- $visitorInstance = ObjectFactory::createObjectByConfiguredName('listener_pool_visitor_class');
+ $visitorInstance = ObjectFactory::createObjectByConfiguredName('shutdown_listener_pool_visitor_class');
// Start visiting
$this->accept($visitorInstance);