Package org.openmuc.framework.dataaccess
Interface DataAccessService
-
public interface DataAccessService
Service 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.Channel
getChannel(java.lang.String id)
Channel
getChannel(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)
void
read(java.util.List<ReadRecordContainer> values)
Execute the read on the read value containers.void
write(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 ReadRecordContainer- See Also:
Channel.getReadContainer()
-
write
void write(java.util.List<WriteValueContainer> values)
Execute the write on the write value containers.- Parameters:
values
- a list of WriteValueContainer.- See Also:
Channel.getWriteContainer()
-
-