Class DockerBasedMimickingAlg

java.lang.Object
org.hobbit.core.mimic.DockerBasedMimickingAlg
All Implemented Interfaces:
ContainerStateObserver, MimickingAlgorithmManager

public class DockerBasedMimickingAlg extends Object implements MimickingAlgorithmManager, ContainerStateObserver
This implementation of a MimickingAlgorithmManager creates a Docker container for executing the mimicking algorithm and assumes that the algorithm will send its data via a RabbitMQ queue. The name of the queue is given as environment variable with the key Constants.DATA_QUEUE_NAME_KEY. The generated data is written to a file with the given file name.
Author:
Michael Röder (roeder@informatik.uni-leipzig.de)