Questions tagged [distributed-objects]

Distributed objects architecture enables objects in different threads or tasks, perhaps on different machines, to transparently send messages to each other

Distributed objects architecture enables objects in different threads or tasks, perhaps on different machines, to transparently send messages to each other. While there are many ways for threads and tasks to communicate with one another, distributed objects hides the mechanism behind the standard Objective-C messaging mechanism.
Distributed Objects Programming Topics

51 questions
2
votes
1 answer

Cocoa Distributed Objects, GC client, non-GC server

I have a setup where there are two Cocoa processes, communicating with Distributed Objects (DO). The client is using garbage collection, the server is not. It seems that the client hangs on to the distant objects outside of my direct references to…
Petteri Kamppuri
2
votes
2 answers

Obj-C server with multiple clients

I'm a fairly novice obj-c developer and have a question on how to set up a client-server relationship. I'm designing (mostly as a hobby) a board game to be played over the internet with friends and family (think monopoly). My problem: how do I set…
2
votes
1 answer

What Objective-C IPC mechanism to use?

I have an application that maintains a group of nested objects, of custom classes. This application needs to be able to share it's data, as it changes, with multiple Quartz Composer compositions with very similar custom Provider Patches. The QC…
Adam
  • 913
  • 1
  • 9
  • 26
1
vote
2 answers

Communication issue in Mac OS

I am developing an application on MAC OS . It has 2 parts -- a UI element and a daemon (which needs to run continuously and must restart on being killed). Currently I am using launchctl to restart the daemon. But there is another issue. I need the…
ping localhost
  • 479
  • 3
  • 22
1
vote
1 answer

Is Distributed RMI Possible without a HTTP server if classes are distributed with client?

I've been doing some research on using RMI and in pretty much every case they say you are expected to use a web, http, or ftp server to allow the class loader to load the classes needed. In this article jGuru: Remote Method Invocation (RMI) it…
JRSofty
  • 1,216
  • 1
  • 24
  • 49
1
vote
1 answer

Make NSConnection stall until connection for registered name is found

Is there any way to have NSConnection search for a connection with a registered name on, say a separate thread, or scheduled in the run loop, with a callback when a connection is made? Currently I am using [NSConnection…
Jared Pochtar
  • 4,925
  • 2
  • 29
  • 39
1
vote
0 answers

Distributed Object on the iPhone?

Is there a way to use distributed objects on the iPhone? I think you need the NSConnection object which is absent in iPhone's version of Foundation. I know that it is not in a public framework but I don't mind. Please don't go on about that…
Kristina
  • 15,859
  • 29
  • 111
  • 181
1
vote
1 answer

CORBA example uses a different JDK

Current CORBA example from http://www.oracle.com/technetwork/articles/javase/rmi-corba-136641.html uses a differet JDK version. I am using JDK 1.7 SO the problem is I have extended the class with extends FileInterfacePOA instead of extends…
The Third
  • 785
  • 2
  • 10
  • 30
1
vote
2 answers

Memory management with Objective-C Distributed Objects: my temporary instances live forever!

I'm playing with Objective-C Distributed Objects and I'm having some problems understanding how memory management works under the system. The example given below illustrates my problem: Protocol.h #import @protocol…
jkp
  • 78,960
  • 28
  • 103
  • 104
1
vote
1 answer

Synchronous Distributed Objects Over NSConnection Issue

I have an application that pulls data from the web, parses them, and compiles the results in a search interface. Since the data are not co-dependant, it made sense to multi-thread the application to execute multiple fetches and parses…
user229564
1
vote
1 answer

Cocoa Distributed Objects

I've given myself a headache trying to figure out how to run this Distributed Objects demo. I can run it just fine locally on the same machine. Here's the situation. I have a Server App that spawns a Client App [with OpenGLView] on a remote…
1
vote
2 answers

Calling rootProxy on NSConnections does not return

I have two Cocoa-GUI-Applications (compiled with ARC, no sandboxing). Application one has the following function: - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { // Insert code here to initialize your application …
1
vote
2 answers

Local, low-volume message passing for massively distributed cellular automata

I'm working on developing a simulation using massively distributed cellular automata. Cell simulations are distributed across nodes and coordinated using ZooKeeper. Persistent data is stored in Riak. The cellular automata themselves are written in…
1
vote
1 answer

Vending an Object with Distributed Objects and Synchronizing access

I'm using Distributed Objects in my application to provide communication between a tiny authentication agent program and the main application. The main application spawns NSTask's, which in turn will invoke the authentication program, which in turn…
Ira Cooke
  • 1,325
  • 12
  • 20
1
vote
1 answer

Communication between process using Distributed Object

I can't manage to vend proxy object, it just stuck on client side when try to get connection NSConnection *conn = [NSConnection connectionWithRegisteredName:@"server" host:nil]; Here is how I register connection and vend…
Andrew
  • 885
  • 1
  • 10
  • 15