ServerSidePublishEngine Class
Module: opcua.server
Constructor
ServerSidePublishEngine
(
-
options
Parameters:
-
options
Object-
[maxPublishRequestInQueue= 100]
Integer optional
-
Item Index
Methods
Methods
getSubscriptionById
(
Subscription
-
subscriptionId
retrieve a subscription by id.
Parameters:
-
subscriptionId
Integer
Returns:
send_keep_alive_response
(
Boolean
-
subscriptionId
-
future_sequence_number
call by a subscription when no notification message is available after the keep alive delay has expired.
Parameters:
-
subscriptionId
Object -
future_sequence_number
Object
Returns:
Boolean:
true if a publish response has been sent
send_notification_message
(
private
-
param
-
force
Parameters:
-
param
Object-
subscriptionId
Number -
sequenceNumber
Number -
notificationData
Object -
availableSequenceNumbers
Array -
moreNotifications
Boolean
-
-
force
Booleanpush response in queue until next publish Request is received
shutdown
()
Properties
pendingPublishRequestCount
Integer
number of pending PublishRequest available in queue
subscriptionCount
Integer
number of subscriptions