Package org.openmuc.framework.dataaccess
Interface Channel
-
- All Superinterfaces:
ChannelRuntime,ChannelSettings
public interface Channel extends ChannelRuntime, ChannelSettings
TheChannelclass is used to access a single data field of a communication device. A desired channel can be obtained using theDataAccessService. A channel instance can be used to- Access the latest record. That is the latest data record that the framework either sampled or received by
listening or an application set using
setLatestRecord. - Directly read/write data from/to the corresponding communication device.
- Access historical data that was stored by a data logger such as SlotsDB.
- Get configuration information about this channel such as its unit.
Note that only the call of the read or write functions will actually result in a corresponding read or write request being sent to the communication device.
-
-
Method Summary
-
Methods inherited from interface org.openmuc.framework.dataaccess.ChannelRuntime
addListener, getLatestRecord, getLoggedRecord, getLoggedRecords, getLoggedRecords, getReadContainer, getWriteContainer, isConnected, read, removeListener, setLatestRecord, write, writeFuture
-
Methods inherited from interface org.openmuc.framework.dataaccess.ChannelSettings
getChannelAddress, getChannelState, getDescription, getDeviceAddress, getDeviceDescription, getDeviceName, getDeviceState, getDriverName, getId, getLoggingInterval, getLoggingSettings, getLoggingTimeOffset, getSamplingInterval, getSamplingTimeOffset, getSamplingTimeout, getScalingFactor, getSettings, getUnit, getValueType
-
-