• 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: Distributed Objects or NSFileHandle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed Objects or NSFileHandle?


  • Subject: Re: Distributed Objects or NSFileHandle?
  • From: Kam Dahlin <email@hidden>
  • Date: Fri, 22 Jun 2007 12:22:05 -0700

Hi Adam,

Thanks!

I haven't been able to find any Bonjour/Distributed Objects examples out there to work from so I would love to check out your code.
I don't think I am looking for interoperability and I want to take advantage of the DO system so I am pretty set on trying to make it work.


Regards,


Kam Dahlin

On Jun 21, 2007, at 5:41 PM, Adam R. Maxwell wrote:


On Jun 21, 2007, at 11:30, Kam Dahlin wrote:

[...snip question of DO vs NSFileHandle...]

> I haven't seen any example code out there using DO like this, so I
> am guessing that NSFileHandles are the way to go, but DO is really
> powerful and it would be great if I could share my data to the
> clients using this system.  I have looked at the PictureSharing/
> PictureSharingBrowser examples and Apple doesn't use DO to send the
> picture data between the clients - they use NSFileHandles.

As Uli indicated, some of the motivation for using NSFileHandle is
interoperability with other platforms.  If that isn't a concern, I
think DO has some definite advantages, and the remote messaging is
pretty cool.  We implemented file sharing in BibDesk using DO, with
Bonjour to advertise the service.  There are some aspects of our
design that could definitely be improved, but the code is all
available under a BSD license; I can tell you what classes to look at
if you're interested.

regards,
Adam


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Distributed Objects or NSFileHandle?
      • From: "Adam R. Maxwell" <email@hidden>
References: 
 >Distributed Objects or NSFileHandle? (From: Kam Dahlin <email@hidden>)
 >Re: Distributed Objects or NSFileHandle? (From: "Adam R. Maxwell" <email@hidden>)

  • Prev by Date: NSEvent mouseDown & [NSEvent type] NSRightMouseDown
  • Next by Date: Re: Distributed Objects or NSFileHandle?
  • Previous by thread: Re: Distributed Objects or NSFileHandle?
  • Next by thread: Re: Distributed Objects or NSFileHandle?
  • Index(es):
    • Date
    • Thread