Re: DO proxy question
Re: DO proxy question
- Subject: Re: DO proxy question
- From: Ovidiu Predescu <email@hidden>
- Date: Sat, 11 May 2002 22:22:27 -0700
On Fri, 10 May 2002 14:44:20 -0500, Brian Webster <email@hidden> wrote:
>
Let's say I have two processes, A and B, that want to
>
communicate using distributed objects, and process B has two
>
objects in it, call them X and Y. Now, A gets a proxy to each
>
of these two objects - we'll call the proxies X' and Y'. If A
>
sends a message to X' and passes in Y' as an argument to the
>
message (assume this is a byref argument), is the DO system
>
smart enough so that the real object X will get the real object
>
Y passed to it since they live in the same address space in
>
process B? Or will X get a proxy to the proxy instead (i.e.
>
Y'')?
Yes, this should work fine. It used to work long ago with OPENSTEP, so
I don't see why this functionality would not work.
An even more interesting scenario is when an object is exported from
application A to application B, and application B exports it to
application C. When application C tries to send a message to this
proxy, will the message be routed to app B, who in turn will send the
message to app A? Or will a new connection be created directly between
C and A? I don't remember how OPENSTEP's DO did this; a similar system
I built long ago worked this way.
Regards,
--
Ovidiu Predescu <email@hidden>
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.