// Network package reader, needs to be delayed a little
$handlerInstance->registerTask('network_package_reader', $taskInstance);
- // Generate package decoder task
- $taskInstance = ObjectFactory::createObjectByConfiguredName('node_package_decoder_task_class');
-
// Generate socket listener task
$taskInstance = ObjectFactory::createObjectByConfiguredName('node_socket_listener_task_class');
// Network package reader, needs to be delayed a little
$handlerInstance->registerTask('socket_listener', $taskInstance);
+ // Generate package decoder task
+ $taskInstance = ObjectFactory::createObjectByConfiguredName('node_package_decoder_task_class');
+
// Register it as well
$handlerInstance->registerTask('package_decoder', $taskInstance);