discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DO broadcast


From: Dirk Theisen
Subject: Re: DO broadcast
Date: Sun, 13 Jul 2003 16:31:39 +0000
User-agent: Ginko/0.2.0-alpha-N (See <http://www.objectpark.org>)

Hi!

On 2003-07-10 15:12:05 +0200 niviaud@mail-etu.sp2mi.univ-poitiers.fr
wrote:

Using DO, we'd like to have multiple servers sharing the same
register name. How could we cleanly get a list of these servers
using broadcast ? or do you have any other methods to broadcast and
list servers on the local network serving the same "service" ?


Well, you cannot have more objects with same name, at least, not by
using default gnustep DO name server. You can create your own name
server, if you like. However, what can you do, is to register all
objects with NameXXX where XXX is a number. If you want to get a list
of them, just post a distributed notification. See
NSDistributedNotificationCenter. Make servers be observers of some
notification that will be posted by an object which wants to know all
servers. Then each server can post notification with their
identification.

This all sounds like a task for Rendezvous aka ZeroConf to me!?

It offers dynamic service recovery and is very flexible. Can anybody with more knowledge of this topic please comment?

Greetings,
  Dirk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]