Properties
$subscription
$subscription: any
Optional _samplingId
_samplingId: TimerKey | string
Optional clientHandle
clientHandle: number
discardOldest
discardOldest: boolean = true
filter
filter: MonitoringFilter | null
itemToMonitor
itemToMonitor: any
monitoredItemId
monitoredItemId: number
monitoringMode
monitoringMode: MonitoringMode
Optional oldDataValue
oldDataValue: DataValue
overflow
overflow: boolean
queueSize
queueSize: number = 0
samplingFunc
samplingFunc: function | null = null
samplingInterval
samplingInterval: number = -1
timestampsToReturn
timestampsToReturn: TimestampsToReturn
Static defaultMaxListeners
defaultMaxListeners: number
Static defaultSamplingInterval
defaultSamplingInterval: number = 1500
Static maximumSamplingInterval
maximumSamplingInterval: number = 1000 * 60 * 60
Static minimumSamplingInterval
minimumSamplingInterval: number = 50
Static registry
registry: ObjectRegistry = new ObjectRegistry()
a server side monitored item
Once created, the MonitoredItem will raised an "samplingEvent" event every "samplingInterval" millisecond until {{#crossLink "MonitoredItem/terminate:method"}}{{/crossLink}} is called.
It is up to the event receiver to call {{#crossLink "MonitoredItem/recordValue:method"}}{{/crossLink}}.