Interface CommandReceivingComponent

All Superinterfaces:
AutoCloseable, Closeable, Component
All Known Implementing Classes:
AbstractBenchmarkController, AbstractCommandReceivingComponent, AbstractDataGenerator, AbstractEvaluationModule, AbstractEvaluationStorage, AbstractPlatformConnectorComponent, AbstractSequencingTaskGenerator, AbstractSystemAdapter, AbstractTaskGenerator, InMemoryEvaluationStore

public interface CommandReceivingComponent extends Component
This interface is implemented by components that want to receive and process commands from the hobbit command queue.
Author:
Michael Röder (roeder@informatik.uni-leipzig.de)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    receiveCommand(byte command, byte[] data)
    This method is called if a command is received and might be interesting for this particular component.

    Methods inherited from interface java.io.Closeable

    close

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

    init, run, setConfiguration
  • Method Details

    • receiveCommand

      void receiveCommand(byte command, byte[] data)
      This method is called if a command is received and might be interesting for this particular component.
      Parameters:
      command - the byte encoding the command
      data - additional data that was sent together with the command