Package org.hobbit.core.components
Interface CommandReceivingComponent
- All Superinterfaces:
AutoCloseable,Closeable,Component
- All Known Implementing Classes:
AbstractBenchmarkController,AbstractCommandReceivingComponent,AbstractDataGenerator,AbstractEvaluationModule,AbstractEvaluationStorage,AbstractPlatformConnectorComponent,AbstractSequencingTaskGenerator,AbstractSystemAdapter,AbstractTaskGenerator,InMemoryEvaluationStore
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 TypeMethodDescriptionvoidreceiveCommand(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 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 commanddata- additional data that was sent together with the command
-