How to judge if a call is asynchronous call on the server side?

RCF support and general discussion.
Post Reply
woshishuier
Posts: 4
Joined: Sat Jan 12, 2019 8:35 am

How to judge if a call is asynchronous call on the server side?

Post by woshishuier »

I want the server side to process synchronous calls and asynchronous calls differently, and how can I know? Thank you.

jarl
Posts: 238
Joined: Mon Oct 03, 2011 4:53 am
Contact:

Re: How to judge if a call is asynchronous call on the server side?

Post by jarl »

For an RCF server, synchronous and asynchronous calls look exactly the same. So if your server needs to treat these two situations differently, you'll need to add the information into your remote calls, either as extra parameters in your remote methods, or by setting some custom user data in your remote calls.
Kind Regards

Jarl Lindrud
Delta V Software
http://www.deltavsoft.com

Post Reply