Page 1 of 1

proper way to process dynamically created methods

Posted: 01 Jul 2016, 10:07
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?

Re: proper way to process dynamically created methods

Posted: 01 Jul 2016, 13:24
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