Package org.openmuc.framework.dataaccess
Interface DataAccessService
-
public interface DataAccessServiceService interface to get access to the measurement and control data of connected communication devices.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>getAllIds()Get the list of all channel IDs.ChannelgetChannel(java.lang.String id)ChannelgetChannel(java.lang.String id, ChannelChangeListener channelChangeListener)java.util.List<LogicalDevice>getLogicalDevices(java.lang.String type)java.util.List<LogicalDevice>getLogicalDevices(java.lang.String type, LogicalDeviceChangeListener logicalDeviceChangeListener)voidread(java.util.List<ReadRecordContainer> values)Execute the read on the read value containers.voidwrite(java.util.List<WriteValueContainer> values)Execute the write on the write value containers.
-
-
-
Method Detail
-
getChannel
Channel getChannel(java.lang.String id)
-
getChannel
Channel getChannel(java.lang.String id, ChannelChangeListener channelChangeListener)
-
getAllIds
java.util.List<java.lang.String> getAllIds()
Get the list of all channel IDs.- Returns:
- the list of all channel IDs.
-
getLogicalDevices
java.util.List<LogicalDevice> getLogicalDevices(java.lang.String type)
-
getLogicalDevices
java.util.List<LogicalDevice> getLogicalDevices(java.lang.String type, LogicalDeviceChangeListener logicalDeviceChangeListener)
-
read
void read(java.util.List<ReadRecordContainer> values)
Execute the read on the read value containers.- Parameters:
values- a list of ReadRecordContainerChannelRuntime.getReadContainer()
-
write
void write(java.util.List<WriteValueContainer> values)
Execute the write on the write value containers.- Parameters:
values- a list of WriteValueContainer.ChannelRuntime.getWriteContainer()
-
-