public abstract class AbstractMonitoringReceiverTest extends Object
MonitoringReceiver with a simple mocked reusable example scenario.| Modifier and Type | Class and Description |
|---|---|
protected static interface |
AbstractMonitoringReceiverTest.MonitoringRecieverLifecycle
Encapsulates the monitoring receiver.
|
| Constructor and Description |
|---|
AbstractMonitoringReceiverTest() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract de.iip_ecosphere.platform.support.Server |
createBroker(de.iip_ecosphere.platform.support.ServerAddress broker)
Creates the broker instance.
|
protected int |
getSleepTime()
The sleep time in
runScenario(MonitoringRecieverLifecycle). |
protected void |
runScenario(AbstractMonitoringReceiverTest.MonitoringRecieverLifecycle mrl)
Runs a platform-like monitoring scenario with an ECS-runtime and a service manager on the same device.
|
protected abstract de.iip_ecosphere.platform.support.Server createBroker(de.iip_ecosphere.platform.support.ServerAddress broker)
broker - the broker addressprotected void runScenario(AbstractMonitoringReceiverTest.MonitoringRecieverLifecycle mrl)
mrl - the lifecycle.protected int getSleepTime()
runScenario(MonitoringRecieverLifecycle).Copyright © 2022. All rights reserved.