|
From: | Richard Frith-Macdonald |
Subject: | Re: notofications between different users |
Date: | Sun, 30 Oct 2005 08:02:59 +0000 |
On 30 Oct 2005, at 07:28, Rogelio M. Serrano Jr. wrote:
On 2005-10-30 12:56:07 +0800 Richard Frith-Macdonald <richard@brainstorm.co.uk> wrote:On 30 Oct 2005, at 01:47, Rogelio M. Serrano Jr. wrote:how can notifications between different users propagate? via gdomap?Via gdnc (GNUstep Distributed Notification Center)I see. Im a little confused though.The manual says that each user should have their own gdnc's running. Does the individual gdnc have a way of finding other gdnc's so they can all talk to each other? Or do we actually need only one gdnc in the system?
Ah ... gets complicated.Under MacOS-X you normally can't send notifications between users, and GNUstep now matches that by default, so the standard distributed notifications deliver between processes belonging to the same user, and you need a gdnc instance for each user.
However, you can also use public (ie for all users) and network (for all machines on a lan) distributed notifications in GNUstep. For these to work, you must start up one gdnc per host (for the public notifications) and/or one gdnc on some machine on the network for the network wide notifications.
See the base library NSDistributedNotificationCenter documentation for information on all this.
[Prev in Thread] | Current Thread | [Next in Thread] |