Remoting - Callback

  • Thread starter Thread starter Mike Peretz
  • Start date Start date
M

Mike Peretz

I am trying to use callbacks within my remote object. I was able to do it,
however I had to publish the client as well known server and a singleton. So
I am not sure how the server will callback multiple clients. So is there a
way to have callbacks work without publishing the client as a wellknown
service?
 
Mike,

Callbacks in a remoting scenario are in turn remoting calls going in the
reverse direction. So you *do* need to publish the client as well as the
server.
If your multiple clients are on different machines, this should probably
work (hopefully the remote object IP and port number are stored somewhere
inside the remoting support classes) - I'd recommend that you repost this
question to the remoting newsgroup.

I also remember there was a very good website on .NET remoting where I saw
an article on remoting callbacks. The address was
http://www.dotnetremoting.* (can't remember the top-level domain, it was
most likely not something well-known such as .com or .org).
 
I also remember there was a very good website on .NET remoting where I saw
an article on remoting callbacks. The address was
http://www.dotnetremoting.* (can't remember the top-level domain, it was
most likely not something well-known such as .com or .org).

Could you be thinking of http://www.dotnetremoting.cc ? It is where Ingo
Rammer puts all of his remoting articles. Great site. It redirects to
thinktecture.com now, which is Ingo's new company, but the content is the
same.

Regards,

Brian Graf
http://briangraf.com/weblog
 
Brian,

Yes, this is exactly the website I was referring to! Thanks a lot for
posting the full URL!
 
Thanks guys, I got it all to work. As it truns out, you must publish the
client, there is no other way. (as you said in your response).

Dmitriy Lapshin said:
Brian,

Yes, this is exactly the website I was referring to! Thanks a lot for
posting the full URL!

--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx

 
Back
Top