Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi...

 

1- I have a global class (Manager) that is accessed as a Remoting singleton.

2- I also have a clients that can access the "Manager" and make requests for data.

 

The problem is on this requesting process.

I want to have a 'Request' function on the 'Client' that will place the request and retrieve the result.

 

Everything works fine using Sync delegate... but this way, a 2nd request from another client won't be finished until the 1st one is processed.

Using an Async delegate, I loose the ability to retrieve the result thru the same caller function!, the result will allway be null (nothing) because it will not wait for the response as the Sync does...

 

So, I want to retrieve the request response thru the same caller function and still let the manager free to process other requests.

 

Can this be donne?

 

Thanks, Alex :p

Software bugs are impossible to detect by anybody except the end user.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...