// Initialize the listener
$listenerInstance->initListener();
+ // Get a decorator class
+ $decoratorInstance = ObjectFactory::createObjectByConfiguredName('socket_file_decorator_listener_class', array($listenerInstance));
+
// Add this listener to the pool
- $this->getListenerPoolInstance()->addListener($listenerInstance);
+ $this->getListenerPoolInstance()->addListener($decoratorInstance);
// Get an instance of the low-level listener
$listenerInstance = ObjectFactory::createObjectByConfiguredName('tcp_listener_class');