Distributed Objects Clarification
Distributed Objects Clarification
- Subject: Distributed Objects Clarification
- From: email@hidden
- Date: Sun, 23 Feb 2003 13:08:35 -0800 (PST)
Hi,
I've got a question about Distributed Objects, namely the passing of client-side
objects to the server.
For examply, suppose I have the following protocols:
//Implemented by the server
@protocol fooServer
- canConnect: (id)Client
@end
//Implemented by the Client
@protocol barClient
- (NSString *) whoAmI
@end
Suppose further we have the following somewhere on the client side:
[server canConnect: client]
From my understanding, a proxy for "client" will be sent to "server" for use,
since by default all objects are passed using byRef. I believe this proxy is
created by NSPortCoder prior to message innvocation.
My question is, what is included in this proxy? does it contain all methods
defined by the object?
If so, is that why i must use NSProtocolChecker to restrict the domain of
methods to those to a specific protocol?
hope this wasn't too confusing..
thanks
Zameer
__________________________________________________________
Get your FREE personalized e-mail at
http://www.canada.com
_______________________________________________
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.