Re: Can varargs be used with distributed objects?
Re: Can varargs be used with distributed objects?
- Subject: Re: Can varargs be used with distributed objects?
- From: "John C. Randolph" <email@hidden>
- Date: Sat, 31 Dec 2005 01:45:05 -0800
On Dec 30, 2005, at 10:07 PM, Derrick Bass wrote:
Is it possible to use varargs methods with distributed objects?
I don't think so, since a proxy needs to be able to marshall the
parameters. In a variadic method, you have to execute the method to
know where the parameters end.
I think in your shoes, I'd use a variadic method to build an array,
and send that across the DO connection.
-jcr
John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden