Package | Description |
---|---|
de.hawhamburg.reachability.tools.feeder |
Tool: Generates simulated sensor informations on the ActiveMQ for test and simulation purpose.
|
de.hawhamburg.reachability.ui.frame.simulation |
Main package in common with the simulation user interfaces of the reachability project.
|
Modifier and Type | Field and Description |
---|---|
private java.util.SortedMap<SensorDataFeederItem,java.lang.String> |
SensorDataFeeder.log
The actual list of sent
SensorDataFeederItem . |
private java.util.Map<java.lang.Integer,SensorDataFeederItem> |
SensorDataFeeder.story
|
Modifier and Type | Method and Description |
---|---|
SensorDataFeederItem |
SensorDataFeederItem.clone()
Clones this object and returns a new object value but not object identically to this object.
|
static SensorDataFeederItem |
SensorDataFeederItem.fromString(java.lang.String storyLine)
Create a new
SensorDataFeederItem from a given string by parsing it using DATA_SEPARATOR_CHAR
and NumericalConstants.DECIMAL_BASE . |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.Integer,SensorDataFeederItem> |
SensorDataFeederItem.fromFile(java.lang.String filePath)
Creates all
SensorDataFeederItem defined within a story file by parsing its content using
LINE_SEPARATOR_CHAR and fromString(String) for each line. |
java.util.SortedMap<SensorDataFeederItem,java.lang.String> |
SensorDataFeeder.getLog()
Returns the log of sent simulation events as list of
SensorDataFeederItem . |
java.util.Map<java.lang.Integer,SensorDataFeederItem> |
SensorDataFeeder.getStory()
Returns the whole actual simulation story as list of
SensorDataFeederItem . |
private java.util.Map<java.lang.Integer,SensorDataFeederItem> |
SensorDataFeeder.loadStory(java.lang.String storyFilePath)
Loads and returns a story from a defined story file by using
fromFile(String) . |
Modifier and Type | Method and Description |
---|---|
int |
SensorDataFeederItem.compareTo(SensorDataFeederItem other)
The method compares the current object with another
SensorDataFeederItem object. |
private void |
SensorDataFeeder.sendData(SensorDataFeederItem item)
Sends a new
SensorDataFeederItem as JSON-object via the ActiveMQ. |
Modifier and Type | Method and Description |
---|---|
private void |
ReachabilitySimulationStoryUI.addStoryRow(java.util.SortedMap<SensorDataFeederItem,java.lang.String> storyMap)
Refreshes the content of the
ReachabilitySimulationStoryUI.story by the actual storyMap and handles correct scroll position of
this panel afterwards. |