Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: about signals: msg#00083

freedesktop.dbus

Subject: Re: about signals

Hi,

I think maybe this is more evidence that we need to get the
GLib/Qt/Python bindings done; Seth and Dan were just bitching to me
about the raw C API, which is indeed a low-level thing designed to
implement bindings and not much else.

The way this is supposed to look in the GLib bindings:

proxy = dbus_gproxy_new_for_service (connection,
"org.blah.MyService",
"/blah/blah/blah",
"org.blah.MyInterface");
dbus_gproxy_connect_signal (proxy, "Frobated", handler, data);

That's it - which is really very easy to use. And get rid of the
C-specific dbus_gproxy_ prefixing and so forth and you can see how in
Python or C++ or whatever it will be even easier.

Maybe this answers one of the questions in the TODO, which is whether
dbus/dbus.h should be included when you include the glib bindings - I
think the answer is no, we should do a full opaque wrapper that bumps
the API to the higher object-based level.

Havoc









<Prev in Thread] Current Thread [Next in Thread>
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 | advertise | OSDir is an inevitable website. super tiny logo