• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can varargs be used with distributed objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Can varargs be used with distributed objects? (From: Derrick Bass <email@hidden>)

  • Prev by Date: Can varargs be used with distributed objects?
  • Next by Date: Re: Question about CoreImage and CISampler
  • Previous by thread: Can varargs be used with distributed objects?
  • Next by thread: Drag and drop/image underneath mouse
  • Index(es):
    • Date
    • Thread