Interface GenDeviceApi4Messaging

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable, GenDeviceApi
    All Known Implementing Classes:
    SGrMessagingDevice

    public interface GenDeviceApi4Messaging
    extends GenDeviceApi, java.io.Closeable
    • Method Detail

      • getVal

        Value getVal​(java.lang.String profileName,
                     java.lang.String dataPointName,
                     long timeoutMs)
              throws com.smartgridready.driver.api.common.GenDriverException
        Gets a value from the device by reading
        Parameters:
        profileName - The functional profile name
        dataPointName - The data point name
        timeoutMs - The read timeout in milliseconds
        Returns:
        The value received from the device
        Throws:
        com.smartgridready.driver.api.common.GenDriverException - if an error occurs
      • getVal

        Value getVal​(java.lang.String profileName,
                     java.lang.String dataPointName,
                     java.util.Properties parameters,
                     long timeoutMs)
              throws com.smartgridready.driver.api.common.GenDriverException
        Gets a value from the device by reading
        Parameters:
        profileName - The functional profile name
        dataPointName - The data point name
        parameters - The request-specific parameters
        timeoutMs - The read timeout in milliseconds
        Returns:
        The value received from the device
        Throws:
        com.smartgridready.driver.api.common.GenDriverException - if an error occurs