Re: Distributed Objects
Re: Distributed Objects
- Subject: Re: Distributed Objects
- From: Ondra Cada <email@hidden>
- Date: Wed, 22 Aug 2001 22:38:52 +0200
JWizard,
>
>>>>> JWizard (J) wrote at Wed, 22 Aug 2001 10:57:09 -0400:
J> For now, I set up a server class, and make it a distributed object. I
J> can then connect to it with my clients. However, I was wondering how I
J> could broadcast the clients' messages. At first I wanted to use
J> Distributed Notifications, but it seems to be available only for "local"
J> connections, and not for connections over a network. Any ideas ?
I guess you can publish _your_ default NotificationCenter to clients through
DO, and if client registers by sending _it_ the addObserver... (instead to
its defaultCenter), all should work well.
I haven't tried, though -- there might be some problem I'm not aware of.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc