// Register it
$handlerInstance->registerTask('package_tags_init', $taskInstance);
- // Generate socket listener task
- $taskInstance = ObjectFactory::createObjectByConfiguredName('node_socket_listener_task_class');
+ // Generate package writer task
+ $taskInstance = ObjectFactory::createObjectByConfiguredName('node_package_writer_task_class');
- // Network package reader, needs to be delayed a little
- $handlerInstance->registerTask('socket_listener', $taskInstance);
+ // Register it as well
+ $handlerInstance->registerTask('network_package_writer', $taskInstance);
// Generate package reader task
$taskInstance = ObjectFactory::createObjectByConfiguredName('node_package_reader_task_class', array($nodeInstance->getListenerPoolInstance()));
// Network package reader, needs to be delayed a little
$handlerInstance->registerTask('network_package_reader', $taskInstance);
- // Generate package writer task
- $taskInstance = ObjectFactory::createObjectByConfiguredName('node_package_writer_task_class');
-
- // Register it as well
- $handlerInstance->registerTask('network_package_writer', $taskInstance);
-
// Generate chunk assembler task
$taskInstance = ObjectFactory::createObjectByConfiguredName('node_chunk_assembler_task_class');
// Register it as well
$handlerInstance->registerTask('package_decoder', $taskInstance);
+ // 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 DHT initialization task
$taskInstance = ObjectFactory::createObjectByConfiguredName('node_dht_init_task_class');