ClientSidePublishEngine Class
Module: opcua.client
A client side implementation to deal with publish service.
The ClientSidePublishEngine encapsulates the mechanism to deal with a OPCUA Server and constantly sending PublishRequest The ClientSidePublishEngine also performs notification acknowledgements. Finally, ClientSidePublishEngine dispatch PublishResponse to the correct Subscription id callback
Constructor
Item Index
Methods
Properties
Methods
acknowledge_notification
(
-
subscriptionId
-
sequenceNumber
Parameters:
-
subscriptionId
Numberthe subscription id
-
sequenceNumber
Numberthe sequence number
getSubscription
(
Subscription | Null
-
subscriptionId
get the client subscription from Id
Parameters:
-
subscriptionId
Numberthe subscription Id
Returns:
Subscription | Null:
registerSubscription
(
-
subscription.subscriptionId
-
subscription.timeoutHint
-
subscription.onNotificationMessage
Parameters:
-
subscription.subscriptionId
Object -
subscription.timeoutHint
Object -
subscription.onNotificationMessage
Functioncallback
send_publish_request
()
unregisterSubscription
(
-
subscriptionId
Parameters:
-
subscriptionId
Object
Properties
subscriptionCount
Number
the number of active subscriptions managed by this publish engine.