Hi,
I am searching for a way to handle method calls asynchronously like the overriding of Read and Write methods in the NodeManager.
I've been searching the documentation and examples the whole day and did not found a possible solution.
Did I miss something?
Or is it just not pssible by design?
Thanks in advance
richmont
asynchronous method calls
Moderator: uasdknet
- Support Team
- Hero Member
- Posts: 3073
- Joined: 18 Mar 2011, 15:09
Re: asynchronous method calls
Hello Richmont,
UA Method are queued to the ApplicationThreadPool. So asynchronous method calls are not needed. This is by design.
However if you want to process the method asynchronously you can override
FinishCallTransaction. You can cast the argument transaction to CallTransactionHandle to get access to the methods. Then you can process the method calls and call the transaction callback.
UA Method are queued to the ApplicationThreadPool. So asynchronous method calls are not needed. This is by design.
However if you want to process the method asynchronously you can override
FinishCallTransaction. You can cast the argument transaction to CallTransactionHandle to get access to the methods. Then you can process the method calls and call the transaction callback.
Best regards
Unified Automation Support Team
Unified Automation Support Team