DO and Proxy Indirection
DO and Proxy Indirection
- Subject: DO and Proxy Indirection
- From: Timothy Ritchey <email@hidden>
- Date: Wed, 8 May 2002 22:50:32 -0500
Say I have two objects talking remotely. Let's call the first one
Factory-A, and the second one Repository-B. The factory has registered
with the centralized repository so that the repository can ask it to
create objects on its behalf. Now, a third object, GUI-C, wants to talk
to the repository, and ask for objects. Can the repository simple do
something like:
@implementation repository
- (id)getObjectWithID:(NSString*)identifier
{
return [factory getObjectWithID:identifier];
}
@end
? In the GUI-C address space, do we end up with a
proxy-to-a-proxy-to-an-object, or with simply a proxy-to-an-object?
_______________________________________________
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.