Added stub method for future usage along with comments related to it

This commit is contained in:
Tristan B. Velloza Kildaire 2022-05-19 16:51:44 +02:00
parent 743744410c
commit 8f8a1e724f
1 changed files with 24 additions and 0 deletions

View File

@ -48,6 +48,22 @@ public final class Engine : Thread
start();
}
/**
* Starts the Tasky engine
*
* FIXME: Pivot to using this
* FIXME: This code should be private and rather called at the beginning
* of `.start()`
*/
public void startTasky()
{
/* Start the event engine */
//evEngine.start();
/* TODO: TManager should not start immediately either I guess */
//tmanager.start();
}
public class TaskyEvent : Event
{
private byte[] payload;
@ -270,12 +286,20 @@ public final class Engine : Thread
Engine e = new Engine(clientSocket);
/**
* Setup the job types that are wanted
*/
e.registerDescriptor(jobType);
e.registerDescriptor(jobType2);
/* TODO: Use this in future */
// e.start();
/**
* Await the expected result, but if this does not complete
* within 4 seconds then expect it failed