Search
Preparing search index...
The search index is not available
NodeOPCUA reference documentation - public API
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
NodeOPCUA reference documentation - public API
node-opcua
ClientMonitoredItem
Class ClientMonitoredItem
  subscribe now with sterfive to access the online-user manual
Hierarchy
ClientMonitoredItemBase
ClientMonitoredItemOrGroupAction
EventEmitter
ClientMonitoredItem
Index
Constructors
constructor
Properties
filter
Result
item
ToMonitor
monitored
Item
Id
monitoring
Mode
monitoring
Parameters
result
status
Code
subscription
Methods
add
Listener
emit
event
Names
get
Max
Listeners
listener
Count
listeners
modify
off
on
once
prepend
Listener
prepend
Once
Listener
raw
Listeners
remove
All
Listeners
remove
Listener
set
Max
Listeners
set
Monitoring
Mode
terminate
create
Constructors
constructor
new
Client
Monitored
Item
(
)
:
ClientMonitoredItem
Returns
ClientMonitoredItem
Properties
Optional
filter
Result
filter
Result
:
ExtensionObject
item
ToMonitor
item
ToMonitor
:
ReadValueId
Optional
monitored
Item
Id
monitored
Item
Id
:
any
monitoring
Mode
monitoring
Mode
:
MonitoringMode
monitoring
Parameters
monitoring
Parameters
:
MonitoringParameters
Optional
result
result
:
MonitoredItemCreateResult
status
Code
status
Code
:
StatusCode
subscription
subscription
:
ClientSubscription
Methods
add
Listener
add
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
ClientMonitoredItem
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
ClientMonitoredItem
emit
emit
(
event
:
string
|
symbol
,
...
args
:
any
[]
)
:
boolean
Parameters
event:
string
|
symbol
Rest
...
args:
any
[]
Returns
boolean
event
Names
event
Names
(
)
:
(
string
|
symbol
)
[]
Returns
(
string
|
symbol
)
[]
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
listener
Count
listener
Count
(
event
:
string
|
symbol
)
:
number
Parameters
event:
string
|
symbol
Returns
number
listeners
listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
modify
modify
(
parameters
:
MonitoringParametersOptions
, timestampsToReturn
?:
TimestampsToReturn
)
:
Promise
<
StatusCode
>
modify
(
parameters
:
MonitoringParametersOptions
, callback
:
Callback
<
StatusCode
>
)
:
void
modify
(
parameters
:
MonitoringParametersOptions
, timestampsToReturn
:
TimestampsToReturn
, callback
:
Callback
<
StatusCode
>
)
:
void
Parameters
parameters:
MonitoringParametersOptions
Optional
timestampsToReturn:
TimestampsToReturn
Returns
Promise
<
StatusCode
>
Parameters
parameters:
MonitoringParametersOptions
callback:
Callback
<
StatusCode
>
Returns
void
Parameters
parameters:
MonitoringParametersOptions
timestampsToReturn:
TimestampsToReturn
callback:
Callback
<
StatusCode
>
Returns
void
off
off
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
ClientMonitoredItem
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
ClientMonitoredItem
on
on
(
event
:
"changed"
, eventHandler
:
(
dataValue
:
DataValue
)
=>
void
)
:
ClientMonitoredItem
on
(
event
:
"changed"
, eventHandler
:
(
values
:
Variant
[]
)
=>
void
)
:
ClientMonitoredItem
on
(
event
:
"terminated"
, eventHandler
:
(
)
=>
void
)
:
ClientMonitoredItem
on
(
event
:
"initialized"
, eventHandler
:
(
)
=>
void
)
:
ClientMonitoredItem
on
(
event
:
"err"
, eventHandler
:
(
message
:
string
)
=>
void
)
:
ClientMonitoredItem
Parameters
event:
"changed"
eventHandler:
(
dataValue
:
DataValue
)
=>
void
(
dataValue
:
DataValue
)
:
void
Parameters
dataValue:
DataValue
Returns
void
Returns
ClientMonitoredItem
Parameters
event:
"changed"
eventHandler:
(
values
:
Variant
[]
)
=>
void
(
values
:
Variant
[]
)
:
void
Parameters
values:
Variant
[]
Returns
void
Returns
ClientMonitoredItem
Parameters
event:
"terminated"
eventHandler:
(
)
=>
void
(
)
:
void
Returns
void
Returns
ClientMonitoredItem
Parameters
event:
"initialized"
eventHandler:
(
)
=>
void
(
)
:
void
Returns
void
Returns
ClientMonitoredItem
Parameters
event:
"err"
eventHandler:
(
message
:
string
)
=>
void
(
message
:
string
)
:
void
Parameters
message:
string
Returns
void
Returns
ClientMonitoredItem
once
once
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
ClientMonitoredItem
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
ClientMonitoredItem
prepend
Listener
prepend
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
ClientMonitoredItem
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
ClientMonitoredItem
prepend
Once
Listener
prepend
Once
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
ClientMonitoredItem
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
ClientMonitoredItem
raw
Listeners
raw
Listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
remove
All
Listeners
remove
All
Listeners
(
event
?:
string
|
symbol
)
:
ClientMonitoredItem
Parameters
Optional
event:
string
|
symbol
Returns
ClientMonitoredItem
remove
Listener
remove
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
ClientMonitoredItem
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
ClientMonitoredItem
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
:
ClientMonitoredItem
Parameters
n:
number
Returns
ClientMonitoredItem
set
Monitoring
Mode
set
Monitoring
Mode
(
monitoringMode
:
MonitoringMode
)
:
Promise
<
StatusCode
>
set
Monitoring
Mode
(
monitoringMode
:
MonitoringMode
, callback
:
Callback
<
StatusCode
>
)
:
void
Parameters
monitoringMode:
MonitoringMode
Returns
Promise
<
StatusCode
>
Parameters
monitoringMode:
MonitoringMode
callback:
Callback
<
StatusCode
>
Returns
void
terminate
terminate
(
)
:
Promise
<
void
>
terminate
(
done
:
ErrorCallback
)
:
void
Returns
Promise
<
void
>
Parameters
done:
ErrorCallback
Returns
void
Static
create
create
(
subscription
:
ClientSubscription
, itemToMonitor
:
ReadValueIdOptions
, monitoringParameters
:
MonitoringParametersOptions
, timestampsToReturn
?:
TimestampsToReturn
)
:
ClientMonitoredItem
Parameters
subscription:
ClientSubscription
itemToMonitor:
ReadValueIdOptions
monitoringParameters:
MonitoringParametersOptions
Optional
timestampsToReturn:
TimestampsToReturn
Returns
ClientMonitoredItem
Modules
node-
opcua
node-
opcua-
address-
space
node-
opcua-
basic-
types
node-
opcua-
certificate-
manager
node-
opcua-
client
node-
opcua-
data-
access
node-
opcua-
data-
model
node-
opcua-
data-
value
node-
opcua-
guid
node-
opcua-
nodeid
node-
opcua-
server
node-
opcua-
status-
codes
node-
opcua-
types
node-
opcua-
variant
Client
Monitored
Item
constructor
filter
Result
item
ToMonitor
monitored
Item
Id
monitoring
Mode
monitoring
Parameters
result
status
Code
subscription
add
Listener
emit
event
Names
get
Max
Listeners
listener
Count
listeners
modify
off
on
once
prepend
Listener
prepend
Once
Listener
raw
Listeners
remove
All
Listeners
remove
Listener
set
Max
Listeners
set
Monitoring
Mode
terminate
create
Generated using
TypeDoc