API Docs for: 0.0.57
Show:

ClientMonitoredItem Class

Extends EventEmitter
Module: opcua.client

ClientMonitoredItem

Constructor

ClientMonitoredItem

(
  • subscription
  • itemToMonitor
  • monitoringParameters
  • timestampsToReturn
)

Parameters:

Methods

_monitor Creates the monitor item (monitoring mode = Reporting)

(
  • done
)
private

Parameters:

  • done Function

    callback

modify

(
  • parameters
  • [timestampsToReturn=null]
  • callback
)

Parameters:

  • parameters Object
  • [timestampsToReturn=null] TimestampsToReturn optional
  • callback Function

terminate

(
  • done
)
async

remove the MonitoredItem from its subscription

Parameters:

  • done Function

    the done callback

Events

changed

Notify the observers that the MonitoredItem value has changed on the server side.

Event Payload:

  • value Object

err

Notify the observers that the monitored item has failed to initialized.

Event Payload:

initialized

Notify the observers that the monitored item is now fully initialized.

terminated

Notify the observer that this monitored item has been terminated.