I tried to pass my client object as is but it didn't work for some reason. Should I wrap it somehow?
Thanks On Jun 16, 2011, at 3:20 PM, Ken Thomases wrote: > On Jun 16, 2011, at 3:40 AM, Nava Carmon wrote: > >> I'd like to establish connection between two processes. I'm using >> NSConnection from the server side: > >> And it works ok. My question is how do I establish the connection to both >> ways, so I can get the distributed object of the client in server, like both >> processes will serve as server and client for each other? > > You don't need to do that. One connection is enough. Once the client has > the proxy for the server's root object, it can invoke a method on that object > to give the server a proxy to an object of its own. Then, the server can > invoke methods on that proxy of the client's object to message the client. > > Cheers, > Ken > Nava Carmon [email protected] "Think good and it will be good!" _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
