• 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
Distributed Objects return values...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Distributed Objects return values...


  • Subject: Distributed Objects return values...
  • From: Kevin Elliott <email@hidden>
  • Date: Thu, 22 Aug 2002 17:44:06 -0700

Greetings all.

I'm about to start work on a project involving using distributed objects
between to different processes (a GUI app and a daemon). I've been doing a
bit of poking around and have started to get a pretty good handle on things
(though if anyone knows of good sample code I'm still looking...).

The question I've got is this- clearly I can return simple stuff (BOOL, int,
etc.) and framework objects (i.e. NSStrings). However, how far does this
extend? What happens if I define my own class and return it? How does that
interaction happen? In particular I'd like to be able to do something along
the lines of:

class MyObject: NSObject
{
NSString* myName;
NSString* myAge;
}
- (NSString*) getName;
- (NSString*) getAge;

Build the object in one process and then pass it to the other and have
everything work. Am I asking to much? Does anyone of know of a good
example that does this sort of complex interaction.

-Kevin Elliott
Software Engineer
CharisMac Engineering
_______________________________________________
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.

  • Follow-Ups:
    • Re: Distributed Objects return values...
      • From: Andrew Zamler-Carhart <email@hidden>
  • Prev by Date: Re: Dialing in Jaguar
  • Next by Date: when a scrollbar is really needed?
  • Previous by thread: Re: NSSize, NSMatrix(es)
  • Next by thread: Re: Distributed Objects return values...
  • Index(es):
    • Date
    • Thread