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
1
vote
2 answers

Objective-C++: Is there any way to vend a C++ object?

I am making heavy use of Objective-C++. I know that while I can include C++ code in my Objective-C code, the converse is not true. I'd like to vend a custom C++ object I have created, to my Objective-C process through a distributed object. When I…
1
vote
1 answer

Distributed Objects in Cocoa

I am attempting to vend an object across two processes, within my application. However, when I test my code the process that receives the vended object just blocks. I've more or less followed the example code on…
Julio
  • 2,261
  • 4
  • 30
  • 56
0
votes
2 answers

Implementing distributed objects in cocoa

I have two Cocoa applications out of which one is a launchd daemon (Foundation tool). I need to call some of the methods in the main application from the daemon. How do I use Distributed Objects here? Can anybody suggest a complete tutorial (except…
Soorya
  • 21
  • 1
  • 3
0
votes
1 answer

How to authenticate NSConnection requests?

(Let's ignore the fact that NSConnection is now deprecated.) I have a tool that accepts connections to NSConnection over a service port. I have an application that launches the tool and then connects to it. That part works. Now, I like to make sure…
Thomas Tempelmann
  • 11,045
  • 8
  • 74
  • 149
0
votes
1 answer

Objective-C: How to pass a tree of objects to a remote distributed object?

I have a class called Node which contains a set of parameters and an NSMutableArray called subNodes. One process creates one Node object as a root of the tree and uses the subNodes arrays to create a large tree of Nodes. This entire tree should be…
0
votes
0 answers

Synchronization issue in a cluster

I have two programs both of them are running on a cluster. My problem is that there is a problem about synchronization on the shared objects when the two programs are started at the same time. If I start two programs simultaneously, they almost…
0
votes
1 answer

Testing Distributed Object Connections in OSX with Objective C

On Mac OSX with Objective C and Distributed Objects (IPC API), how can a server determine if the client has closed down their application and thus the NSConnection pointer has been broken? I mean, I might be in a while loop, reading a lot of data to…
Volomike
  • 23,743
  • 21
  • 113
  • 209
0
votes
2 answers

Cocoa Distributed Object exception when manually creating remote NSSocketPort

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…
Ben
  • 20,737
  • 12
  • 71
  • 115
0
votes
1 answer

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…
0
votes
1 answer

Send object instead of proxy via Distributed Objects

I can't solve next problem: I have 2 applications which talk to each other using Distributed Objects. Suppose application A call - (void)updateState:(State *)state method from application B. @interface State : NSObject ...…
Lexandr
  • 679
  • 1
  • 6
  • 22
0
votes
1 answer

Implementing Distributed objects programming in CORBA to dowload file

When I run the Client, the following error appears on the console. I am following the example from the following link --> http://www.oracle.com/technetwork/articles/javase/rmi-corba-136641.html Has anyone come across simillar problem. Please…
The Third
  • 785
  • 2
  • 10
  • 30
0
votes
1 answer

NSSocketPortNameServer portForName:host: slow on Mavericks

With Mavericks [NSSocketPortNameServer portForName:host:] now takes around 5 seconds to resolve localhost. It used to be much much faster, around 0.01 seconds. My code is the same as in Apple's Introduction to Distributed Objects. I used to be able…
neoneye
  • 50,398
  • 25
  • 166
  • 151
0
votes
1 answer

Serialization of Singleton Classes during RMI communcation

While I was going through the explanation of readResolve method , lot of references explain that this method will be useful to gurantee the singleton property when singleton class is deserialzied while object of that class is serialized and…
KBR
  • 464
  • 1
  • 7
  • 24
0
votes
1 answer

Distributed Objects and completition block

I need to call completion block on OSX 10.8 but when I pass completion block to Privileged Helper tool through Distributed Object (NSConnection) and then I call it my Privileged Helper tool crashes. Does this operation permitted? Or I need to find…
toohtik
  • 1,892
  • 11
  • 27
0
votes
0 answers

Hadoop vs DDS vs ACE

I am writing a report about distributed systems libraries for Java. But I can't see the difference between them. What is the difference between ACE vs Hadoop vs DDS? Can the three of them be used to develop a distributed application like a simple…