Class MonitoringReceiverTest.MyMonitoringReceiverLifecycle
java.lang.Object
test.de.iip_ecosphere.platform.monitoring.MonitoringReceiverTest.MyMonitoringReceiverLifecycle
- All Implemented Interfaces:
AbstractMonitoringReceiverTest.MonitoringRecieverLifecycle
- Enclosing class:
MonitoringReceiverTest
protected class MonitoringReceiverTest.MyMonitoringReceiverLifecycle
extends Object
implements AbstractMonitoringReceiverTest.MonitoringRecieverLifecycle
Simple internal monitoring receiver lifecycle.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MonitoringReceiverTest.MyReceiverReturns the receiver instance.voidstart(de.iip_ecosphere.platform.transport.connectors.TransportSetup transSetup) Starts the receiver.voidstop()Stops the receiver.
-
Field Details
-
receiver
-
-
Constructor Details
-
MyMonitoringReceiverLifecycle
protected MyMonitoringReceiverLifecycle()
-
-
Method Details
-
start
public void start(de.iip_ecosphere.platform.transport.connectors.TransportSetup transSetup) Description copied from interface:AbstractMonitoringReceiverTest.MonitoringRecieverLifecycleStarts the receiver. May also create it.- Specified by:
startin interfaceAbstractMonitoringReceiverTest.MonitoringRecieverLifecycle- Parameters:
transSetup- the transport setup
-
stop
public void stop()Description copied from interface:AbstractMonitoringReceiverTest.MonitoringRecieverLifecycleStops the receiver.- Specified by:
stopin interfaceAbstractMonitoringReceiverTest.MonitoringRecieverLifecycle
-
getInstance
Returns the receiver instance.- Returns:
- the instance
-