discuss-gnustep
[Top][All Lists]
Advanced

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

Re: notofications between different users


From: Rogelio M. Serrano Jr.
Subject: Re: notofications between different users
Date: Sun, 30 Oct 2005 20:30:23 +0800

On 2005-10-30 16:02:59 +0800 Richard Frith-Macdonald <richard@brainstorm.co.uk> wrote:

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.




Thanks.

Slightly off topic question. How does the network interface in Mac OS X tell the system programs that the network card is ready? So user apps can be notified that the ethernet card is ready and they can now use the network?

In linux with hotplug i have a set of scripts that start all the network programs after the interface is configured. I was looking for a way to tell the user apps that they can now use the network.





reply via email to

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