This symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error'
listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
the cumulated number of sessions that have been opened since this object exists
the cumulated number of subscriptions that have been created since this object exists
the number of active sessions
the number of active subscriptions.
the name of the server
the server urn
the urn of the server namespace
create a new subscription
: the nodeid of the element to browse
the browse result
: true if sessions's subscription shall be deleted
create a new server session object.
retrieve a session by its authenticationToken.
increment rejected session count (also increment rejected requests count)
increment rejected session count (also increment rejected requests count)
Maximum age of the value to be read in milliseconds. The age of the value is based on the difference between the ServerTimestamp and the time when the Server starts processing the request. For example if the Client specifies a maxAge of 500 milliseconds and it takes 100 milliseconds until the Server starts processing the request, the age of the returned value could be 600 milliseconds prior to the time it was requested. If the Server has one or more values of an Attribute that are within the maximum age, it can return any one of the values or it can read a new value from the data source. The number of values of an Attribute that a Server has depends on the number of MonitoredItems that are defined for the Attribute. In any case, the Client can make no assumption about which copy of the data will be returned. If the Server does not have a value that is within the maximum age, it shall attempt to read a new value from the data source. If the Server cannot meet the requested maxAge, it returns its 'best effort' value rather than rejecting the request. This may occur when the time it takes the Server to process and return the new data value after it has been accessed is greater than the specified maximum age. If maxAge is set to 0, the Server shall attempt to read a new value from the data source. If maxAge is set to the max Int32 value or greater, the Server shall attempt to get a cached value. Negative values are invalid for maxAge.
an array of DataValue
DataValue
performs a call to asyncRefresh
on all variable nodes that provide an async refresh func.
an array containing the node to consider
Each element of the array shall be of the form { nodeId:
register a function that will be called when the server will perform its shut down.
the approximate number of seconds until the server will be shut down. The value is only relevant once the state changes into SHUTDOWN.
the new session that will own the subscription
the subscription Id to transfer
true if initial values will be resent.
write a collection of nodes
Generated using TypeDoc
Sets or gets the default captureRejection value for all emitters.