Search
Preparing search index...
The search index is not available
node-opcua-client
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
ClientMonitoredItem
Class ClientMonitoredItem
Hierarchy
ClientMonitoredItemBase
ClientMonitoredItemOrGroupAction
EventEmitter
ClientMonitoredItem
Implemented by
ClientMonitoredItemImpl
Index
Properties
filter
Result
item
ToMonitor
monitored
Item
Id
monitoring
Mode
monitoring
Parameters
result
status
Code
subscription
default
Max
Listeners
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
listener
Count
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
Static
default
Max
Listeners
default
Max
Listeners
:
number
Methods
add
Listener
add
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
emit
emit
(
event
:
string
|
symbol
,
...
args
:
any
[]
)
:
boolean
Parameters
event:
string
|
symbol
Rest
...
args:
any
[]
Returns
boolean
event
Names
event
Names
(
)
:
Array
<
string
|
symbol
>
Returns
Array
<
string
|
symbol
>
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
listener
Count
listener
Count
(
type
:
string
|
symbol
)
:
number
Parameters
type:
string
|
symbol
Returns
number
listeners
listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
modify
modify
(
parameters
:
MonitoringParametersOptions
)
:
Promise
<
StatusCode
>
modify
(
parameters
:
MonitoringParametersOptions
, timestampsToReturn
:
TimestampsToReturn
)
:
Promise
<
StatusCode
>
modify
(
parameters
:
MonitoringParametersOptions
, callback
:
Callback
<
StatusCode
>
)
:
void
modify
(
parameters
:
MonitoringParametersOptions
, timestampsToReturn
:
TimestampsToReturn
|
null
, callback
:
Callback
<
StatusCode
>
)
:
void
modify
(
...
args
:
any
[]
)
:
any
Parameters
parameters:
MonitoringParametersOptions
Returns
Promise
<
StatusCode
>
Parameters
parameters:
MonitoringParametersOptions
timestampsToReturn:
TimestampsToReturn
Returns
Promise
<
StatusCode
>
Parameters
parameters:
MonitoringParametersOptions
callback:
Callback
<
StatusCode
>
Returns
void
Parameters
parameters:
MonitoringParametersOptions
timestampsToReturn:
TimestampsToReturn
|
null
callback:
Callback
<
StatusCode
>
Returns
void
Parameters
Rest
...
args:
any
[]
Returns
any
off
off
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
on
on
(
event
:
"changed"
, eventHandler
:
function
)
:
this
on
(
event
:
"changed"
, eventHandler
:
function
)
:
this
on
(
event
:
"terminated"
, eventHandler
:
function
)
:
this
on
(
event
:
"initialized"
, eventHandler
:
function
)
:
this
on
(
event
:
"err"
, eventHandler
:
function
)
:
this
Parameters
event:
"changed"
eventHandler:
function
(
dataValue
:
DataValue
)
:
void
Parameters
dataValue:
DataValue
Returns
void
Returns
this
Parameters
event:
"changed"
eventHandler:
function
(
values
:
Variant
[]
)
:
void
Parameters
values:
Variant
[]
Returns
void
Returns
this
Parameters
event:
"terminated"
eventHandler:
function
(
)
:
void
Returns
void
Returns
this
Parameters
event:
"initialized"
eventHandler:
function
(
)
:
void
Returns
void
Returns
this
Parameters
event:
"err"
eventHandler:
function
(
message
:
string
)
:
void
Parameters
message:
string
Returns
void
Returns
this
once
once
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
prepend
Listener
prepend
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
prepend
Once
Listener
prepend
Once
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
raw
Listeners
raw
Listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
remove
All
Listeners
remove
All
Listeners
(
event
?:
string
|
symbol
)
:
this
Parameters
Optional
event:
string
|
symbol
Returns
this
remove
Listener
remove
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
:
this
Parameters
n:
number
Returns
this
set
Monitoring
Mode
set
Monitoring
Mode
(
monitoringMode
:
MonitoringMode
)
:
Promise
<
StatusCode
>
set
Monitoring
Mode
(
monitoringMode
:
MonitoringMode
, callback
:
Callback
<
StatusCode
>
)
:
void
set
Monitoring
Mode
(
...
args
:
any
[]
)
:
any
Parameters
monitoringMode:
MonitoringMode
Returns
Promise
<
StatusCode
>
Parameters
monitoringMode:
MonitoringMode
callback:
Callback
<
StatusCode
>
Returns
void
Parameters
Rest
...
args:
any
[]
Returns
any
terminate
terminate
(
)
:
Promise
<
void
>
terminate
(
done
:
ErrorCallback
)
:
void
terminate
(
...
args
:
any
[]
)
:
any
Returns
Promise
<
void
>
Parameters
done:
ErrorCallback
Returns
void
Parameters
Rest
...
args:
any
[]
Returns
any
Static
create
create
(
subscription
:
ClientSubscription
, itemToMonitor
:
ReadValueIdOptions
, monitoringParameters
:
MonitoringParametersOptions
, timestampsToReturn
?:
TimestampsToReturn
)
:
ClientMonitoredItem
Parameters
subscription:
ClientSubscription
itemToMonitor:
ReadValueIdOptions
monitoringParameters:
MonitoringParametersOptions
Default value
timestampsToReturn:
TimestampsToReturn
= TimestampsToReturn.Neither
Returns
ClientMonitoredItem
Static
listener
Count
listener
Count
(
emitter
:
EventEmitter
, event
:
string
|
symbol
)
:
number
deprecated
since v4.0.0
Parameters
emitter:
EventEmitter
event:
string
|
symbol
Returns
number
Globals
Client
Monitored
Item
filter
Result
item
ToMonitor
monitored
Item
Id
monitoring
Mode
monitoring
Parameters
result
status
Code
subscription
default
Max
Listeners
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
listener
Count
Generated using
TypeDoc
since v4.0.0