Interface TaskReceivingComponent

All Superinterfaces:
AutoCloseable, Closeable, Component
All Known Implementing Classes:
AbstractSystemAdapter

public interface TaskReceivingComponent extends Component
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 Type
    Method
    Description
    void
    receiveGeneratedTask(String taskId, byte[] data)
    This method is called if a task is received from a task generator.

    Methods inherited from interface java.io.Closeable

    close

    Methods inherited from interface org.hobbit.core.components.Component

    init, run, setConfiguration
  • Method Details

    • receiveGeneratedTask

      void receiveGeneratedTask(String taskId, byte[] data)
      This method is called if a task is received from a task generator.
      Parameters:
      taskId - the id of the received task
      data - the data received from a data generator