Search
Preparing search index...
The search index is not available
NodeOPCUA reference documentation - public API
Options
All
Public
Public/Protected
All
Inherited
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
modify
on
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
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
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
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
modify
on
set
Monitoring
Mode
terminate
create
Generated using
TypeDoc