I call from client [self.remoteObject registerClient:self];

Then in the server in function

- (void) registerClient:(id)objectProxy
{
        self.remoteClient = objectProxy; // remoteClient is defined as retained 
property
}

// somewhere in the code after registration

...
[self.remoteClient foo];
...


// In the client

- (void) foo
{
        NSLog(@"%@", @"foo was called");
}

foo wasn't called. 

On Jun 16, 2011, at 4:20 PM, Ken Thomases wrote:

> On Jun 16, 2011, at 7:26 AM, Nava Carmon wrote:
> 
>> I tried to pass my client object as is but it didn't work for some reason.
> 
> Didn't work in what way?  What exactly did you try?  What results did you 
> expect, what results did you actually get, and how did they differ?
> 
>> Should I wrap it somehow?
> 
> Shouldn't be necessary.
> 
> Regards,
> Ken
> 


Nava Carmon
ncar...@mac.com

"Think good and it will be good!"

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to