distributed-objects

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 them. This means that even after I don't have references to the objects, they hang around ...

Examples of Cocoa/Objective-C and Distributed Objects?

I am learning Cocoa and Objective-C (well, and C) to make a few Mac apps I've had floating around. I need to use Distributed Objects, but am having trouble finding simple, concise examples. Does anybody know of any? ...

Cocoa Distributed Objects, Long Polling, launchd and "Not Responding" in Activity Monitor

Scenario: I have a Distributed-objects-based IPC between a mac application and a launchd daemon (written with Foundation classes). Since I had issues before regarding asynchronous messaging (e.g. I have a registerClient: on the server's root object and whenever there's an event the server's root object notifies / calls a method in the c...

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 will call back to the main program to get some user credentials. I know it sounds convol...

Cocoa Distributed Objects

Hello, 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 machine. I can do this easy with AppleScript. The Client App seems to Vend it's OpenG...

Obj-C server with multiple clients

Hi, 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 up the appropriate client-server relationship to have one server with multiple clien...

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 simultaneously. I use NSInvocationOperation on a search and parse object I have written to execute thi...

How should I implement bi-directional networking between an iPhone application and an Objective-C server-side application?

I'm looking for advice on the best way to implement some kind of bi-directional communication between a "server-side" application, written in Objective-C and running on a mac, and a client application running on an iPhone. To cut a long story short, I'm adapting an existing library for use in a client-server environment. The library...

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 <Foundation/Foundation.h> @protocol DOServer - (byref id)createTarget; @end Server.m #import <Foundation/Foundation.h> #import ...

Could a Distributed Hash Table (DHT) be used for a dynamic web application? Another P2P design?

Could a Distributed Hash Table be used for a two-way web app with a pub/sub type application? I'm investigating building a forum type application but with a DHT architecture and P2P (although a central lookup server would be OK to improve performance). Think of a Gnutella/Kazaa type application on the client side but, rather than hittin...

Cocoa Distributed Object exception when manually creating remote NSSocketPort

Hi, This is really doing my head in, I hope someone can solve my issue. I'm trying to learn distributed object, bonjour, etc with Cocoa. I can get things up and running but there's just one case that's annoying me, i don't understand why it's happening. I'm trying to setup a DO server that advertise itself with Bonjour. Here's the...

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 "rejected from the AppStore" stuff, I know that pretty well. ...

Distributed Database Communication

Hello, I am a junior software engineer,I like this site and people in it.So,I want to ask my problems to see your answers and suggestions.Then,please don't mad at me for asking without searching. My problem is about Distributed database communication(MSSQL Server 2008).In picture,I need a Main Server in center of star topology and othe...