Replies: 1 comment
-
Client and server both may use an You can also use them in your application if needed. Neither need to be configured. Some applications prefer to provide their own, even if just to control the thread names.
In the |
Beta Was this translation helpful? Give feedback.
-
The client has two possible executor services set:
What is the purpose of these executors? Are they only used by the internal FSMs?
These can be found in https://github.com/eclipse/milo/blob/master/opc-ua-stack/stack-client/src/main/java/org/eclipse/milo/opcua/stack/client/UaStackClientConfigBuilder.java#L39
Regarding #1300 , what is the expected thread safety regarding to the client?
Shall every client operation (like client.getSession(), ManagedSubscripotion.create() etc.) be executed on these executors, or it can be issued on any thread?
The milo-examples client projects do not set these executors, and the example codes do not execute client operations on them, but on a different thread.
What is the policy here?
Shall client cconfiguration set the ExecutorService and ScheduledExecutorService ot let the client create them?
What about the client operations? Are they safe to be called on any thread?
Beta Was this translation helpful? Give feedback.
All reactions