Re: Problems with Distributed Objects
Re: Problems with Distributed Objects
- Subject: Re: Problems with Distributed Objects
- From: "Laurent Daudelin" <email@hidden>
- Date: Thu, 26 Feb 2004 11:03:12 -0500
On 26/02/04 10:39, "Andreas Mayer" <email@hidden> wrote:
>
Am 26.02.2004 um 12:46 schrieb Ondra Cada:
>
>
> What about using bycopy? That should work all right... but I've never
>
> tested myself.
>
>
That's what I tried. See my last mail:
I'm stepping a little late so maybe I missed something but is your
AMTickerSign object implements the NSCoding protocol? That might be the
problem. We used DO a lot under OpenStep and had no problem handling
NSImages from a server multiple clients. DO has probably changed under OS X,
but the fundamentals should be the same. You seem to have your protocol
declared properly with the 'bycopy' although I'm not sure I understand your
method and protocol. If your client is calling the server method, then that
method should return the value. I'm not sure it works for parameters.
Why don't you try something like:
(bycopy out)getImage; or something like that? The client calls that method
and the server implements it. In the server's method implementation, it
returns the image.
Also, you need to import the server protocol into the client and it might
help if your server variable is typed properly, so the system knows when
you're sending a message to that object what to expect.
At least, that's what I see after a quick glance. Let me know if you need
clarification on something and I might be able to dig some old code.
-Laurent.
--
========================================================================
Laurent Daudelin Developer, Multifamily, ESO, Fannie Mae
mailto:email@hidden Washington, DC, USA
************************ Usual disclaimers apply ***********************
_______________________________________________
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.