2009-01-09 1.2.0

org.eclipse.soda.dk.measurement.service
Interface MultiplexMeasurementListener

All Superinterfaces:
ErrorListener, MeasurementListener
All Known Implementing Classes:
Adapter, AdapterTest, Command, Commands, ConcreteMeasurementFieldMeasurement, ControlsMeasurement, CountMeasurement, DataCommand, DeviceAdapter, DeviceCommand, DeviceProfile, DeviceTest, MeasurementCommand, MeasurementFieldMeasurement, MeasurementListeners, Measurements, MessageCommand, MethodCommand, NotificationController, ParameterCommand, Profile, SimpleDataCommand, SimpleMeasurementCommand, SimpleMessageCommand, SimpleParameterCommand, SimpleTransformCommand, SleepCommand, StateCommand, TestAdapter, TotalMeasurement, TransformCommand, Wire

public interface MultiplexMeasurementListener
extends MeasurementListener

Since:
1.2
Version:
1.2.0

Method Summary
 void measurementChanged(MeasurementService source, java.lang.Object timestamp, ChannelService channel, java.lang.Object newValue, java.lang.Object oldValue)
          This method is fired to all Listeners each time the value of the measurement changes.
 
Methods inherited from interface org.eclipse.soda.dk.measurement.service.MeasurementListener
measurementChanged
 
Methods inherited from interface org.eclipse.soda.dk.transport.service.ErrorListener
errorOccurred
 

Method Detail

measurementChanged

void measurementChanged(MeasurementService source,
                        java.lang.Object timestamp,
                        ChannelService channel,
                        java.lang.Object newValue,
                        java.lang.Object oldValue)
This method is fired to all Listeners each time the value of the measurement changes. Since other notifications are blocked until this method returns, implementors of this method should:

Parameters:
source - The source (MeasurementService) parameter.
timestamp - The time stamp (Object) parameter.
channel - The channel (ChannelService) parameter.
newValue - The new value (Object) parameter.
oldValue - The old value (Object) parameter.

2009-01-09 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.