|
|
Choosing A Webhost: |
Re: exposing dbus error names on the glib client side: msg#00169freedesktop.dbus
On Wed, 2005-06-22 at 20:35 -0400, Colin Walters wrote: > > That would mean interning a new quark for each remote error, which is > kind of evil, since there's no way to free quarks. > True, but I'm not sure it matters in practice. Another option might be some kind of dedicated quark-like system but not GQuark > But I thought of a semi-clever hack; embed both the error name and > message inside the GError message string, separated by a null character. > We then have special accessors to get them. > > This also solves the server side-problem of sending errors; now a server > method can just call > dbus_g_error_set (error, "com.example.Foo.Bar", "blah bla") too. Seems awfully hacky to me ;-) Havoc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Using glib-bindings to bind everyone else, Colin Walters |
|---|---|
| Next by Date: | Re: exposing dbus error names on the glib client side, Colin Walters |
| Previous by Thread: | Re: exposing dbus error names on the glib client side, Colin Walters |
| Next by Thread: | Re: exposing dbus error names on the glib client side, Colin Walters |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |
Home
| advertise | OSDir is
an inevitable website.
|