Package org.hobbit.core.components
Interface TaskReceivingComponent
- All Superinterfaces:
AutoCloseable,Closeable,Component
- All Known Implementing Classes:
AbstractSystemAdapter
This interface is implemented by components that want to receive task data
that is sent by a task generator component.
- Author:
- Michael Röder (roeder@informatik.uni-leipzig.de)
-
Method Summary
Modifier and TypeMethodDescriptionvoidreceiveGeneratedTask(String taskId, byte[] data) This method is called if a task is received from a task generator.Methods inherited from interface org.hobbit.core.components.Component
init, run, setConfiguration
-
Method Details
-
receiveGeneratedTask
This method is called if a task is received from a task generator.- Parameters:
taskId- the id of the received taskdata- the data received from a data generator
-