proper way to process dynamically created methods

Questions regarding the use of the ANSI C SDK for Server or Client development or integration into customer products ...

Moderator: uasdkc

Post Reply
JeromeBos
Sr. Member
Sr. Member
Posts: 14
Joined: 09 May 2016, 15:31

proper way to process dynamically created methods

Post by JeromeBos »

UaModeler generates code for automatically processing method-calls; more specifically a UaProvider_CustomProvider_CallAsync-method is generated in the 'uaprovider_customprovider_call.c' file. I believe this is the one method that processes all method-calls.

My application creates some method-nodes dynamically. Now I would like to add implementation-code for those methods. Do I have to adjust the UaProvider_Poss_CallAsync-method or is there another more appropriate way?

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re: proper way to process dynamically created methods

Post by Support Team »

Hi,

UaProvider_CustomProvider_CallAsync is the right place to dispatch incoming Call Service requests to your corresponding method implementation.

Best Regards,
Unified Automation Support Team

Post Reply