DO Proxy
DO Proxy
- Subject: DO Proxy
- From: Timothy Ritchey <email@hidden>
- Date: Mon, 13 May 2002 21:25:05 -0500
Okay, here is what my experimentation seems to have found:
1) given two applications/threads/tasks, etc. A and B that have been
connected with NSConnection, if you pass an object, say X, from A to B,
and then back from B to A, the run-time is smart enough to give you back
the original object, and not a proxy.
2) Add a third app C. If C connects to B and asks for X, it will
establish its own connection to A. B can disappear, and C's proxy to X
will keep on trucking.
3) However, if you pass X from C back to A, A gets a proxy to X, and not
the original object back as in (1). The level of indirection that occurs
in (2) does not appear to be handled optimally by the run-time system.
Cheers,
tim
_______________________________________________
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.