API Docs for: 0.0.57
Show:

ReadRequest Class

Constructor

ReadRequest

(
  • options
)

Parameters:

  • options Object
    • [requestHeader] RequestHeader optional
    • [maxAge] Duration optional

      Maximum age of the value to be read in milliseconds

    • [timestampsToReturn= -1] TimestampsToReturn optional

      An enumeration that specifies the Timestamps to be returned for each requested Variable Value Attribute.

    • [nodesToRead] ReadValueId[] optional

      List of Nodes and their Attributes to read. For each entry in this list, a StatusCode is returned, and if it indicates success, the Attribute Value is also returned.

Methods

binaryStoreSize

() Number
Calculate the required size to store this object in a binary stream.

Returns:

Number:

decode_debug

()

encode

(
  • stream
)

encode the object into a binary stream

Parameters:

isValid

() Boolean
verify that all object attributes values are valid according to schema

Returns:

Boolean:

toString

() String

Returns:

String:

Properties

maxAge

Duration

Maximum age of the value to be read in milliseconds

nodesToRead

ReadValueId[]

List of Nodes and their Attributes to read. For each entry in this list, a StatusCode is returned, and if it indicates success, the Attribute Value is also returned.

timestampsToReturn

TimestampsToReturn

An enumeration that specifies the Timestamps to be returned for each requested Variable Value Attribute.

Default: -1