Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[milo-dev] The question about parameters of createSubscription function.

Hi all,

In class OpcUASubscriptionManager, createSubscription method:
public CompletableFuture<UaSubscription> createSubscription(
double requestedPublishingInterval,
UInteger requestedLifetimeCount,
UInteger requestedMaxKeepAliveCount,
UInteger maxNotificationsPerPublish,
boolean publishingEnabled,
UByte priority)
1. requestedPublishingInterval
    When MonitoringMode is Reporting, is the changed value be published immediately or by requestedPublishingInterval value?
    In my testing, I set the interval 1000ms, and the average delay value of receive data is 1009ms.
2. How to understand parameters: requestedLifetimeCount/requestedMaxkeepAliveCount/maxNofificationsPerPublish?
3. publishingEnabled
    If set false, which one to be disabled? OPC server can't publish changed value to OPC client
4. priority
    I think the subscription with higher level will be published preferred. 

Best regards,
George Ray

Back to the top