• 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/Distant Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed/Distant Objects


  • Subject: Re: Distributed/Distant Objects
  • From: Wade Tregaskis <email@hidden>
  • Date: Mon, 23 Feb 2004 13:49:24 +1100

I found some examples of distributed object code and got a server and client to work. (Thanks to Nicola Pero's tutorials)
Now I need to be able to have 2 objects, actually processes, talk to each other. Right now with the tutorial code, Client A can tell Server B to execute a method and B does it. I want to keep that functionality and have B able to tell A to execute a method. But B is in a run loop just listening for requests from Clients.

Have an initialisation method invoked on B pass in an object from A, something that B can use to send messages to A asynchronously.

This is the exact same problem someone else had last week, although I don't recall any other advice being put forward for that case either. As I said then, it'd be nice if Apple updated their DO implementation to remove the client/server assumptions.

Wade Tregaskis
-- Sed quis custodiet ipsos custodes?
_______________________________________________
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.


References: 
 >Distributed/Distant Objects (From: pmcurry <email@hidden>)

  • Prev by Date: Re: Check for 10.2 incompatibilities in XCode
  • Next by Date: Re: ANN: Doxygen for MacOS X with Objective-C support
  • Previous by thread: Distributed/Distant Objects
  • Next by thread: Stealing Font Panel
  • Index(es):
    • Date
    • Thread