logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: Emitting signals: msg#00182

freedesktop.dbus

Subject: Re: Emitting signals

On Wed, 2005-07-27 at 14:21 +0200, Lennart Poettering wrote:
> > Yes, signals are broadcast to all clients. I'd suggest either sending
> > the signals and make the client filter the signals itself. My app
> > solves this by sending normal messages to the client, but I can do this
> > as I've got a client library which handles the incoming messages and
> > transforms them into GObject signals for the applications.
>
> Isn't this a waste of resources? You're spamming all DBUS clients
> with signals only one client might be interested in, arent' you? If
> hundreds of clients are connected to the bus (which is easily
> possible, since avahi uses the system bus), you'll wake up all clients
> for nothing.

Clients have to register a filter to receive signals, so you'll only
send it to all Avahi clients.

Ross
--
Ross Burton mail:
ross-FgEBh4Rqq8WtG0bUXCXiUA@xxxxxxxxxxxxxxxx
jabber:
ross-FgEBh4Rqq8WtG0bUXCXiUA@xxxxxxxxxxxxxxxx
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF








Only community members can participate in forum threads. You must Register or log in to contribute.

<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo