$this->setListenerPoolInstance(ObjectFactory::createObjectByConfiguredName('listener_pool_class', array($this)));
// Get an instance of the low-level listener
- $listenerInstance = ObjectFactory::createObjectByConfiguredName('tcp_listener_class', array($this));
+ $listenerInstance = ObjectFactory::createObjectByConfiguredName('tcp_listener_class');
// Setup address and port
$listenerInstance->setListenAddressByConfiguration('node_listen_addr');
$this->getListenerPoolInstance()->addListener($decoratorInstance);
// Get an instance of the low-level listener
- $listenerInstance = ObjectFactory::createObjectByConfiguredName('udp_listener_class', array($this));
+ $listenerInstance = ObjectFactory::createObjectByConfiguredName('udp_listener_class');
// Setup address and port
$listenerInstance->setListenAddressByConfiguration('node_listen_addr');