Distributed/Distant Objects
Distributed/Distant Objects
- Subject: Distributed/Distant Objects
- From: pmcurry <email@hidden>
- Date: Sun, 22 Feb 2004 11:47:27 -0800
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.
I'm not an experienced enough programmer to know which way to turn.
Would having two threads on each machine, one to listen and one to
talk, be the best route to take? Or can you have more than one run
loop, or can you divide up run loop? I guess I'm looking for a
recommendation of what direction to go off in. The ultimate goal is to
have multiple machines running multiple applications on a cluster and
all giving data and results back and forth to each other. Sort of an
MPI or OMP implemented in Obj-C/Cocoa. I realize its a big task but I
might be able to get a MS thesis out of it.
Thanks.
-Phil
_______________________________________________
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.