unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Nicolas Petton <nicolas@petton.fr>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: DBus binding & direct connections (p2p)?
Date: Mon, 31 Jul 2017 16:29:00 +0200	[thread overview]
Message-ID: <87fudche8j.fsf@detlef> (raw)
In-Reply-To: <877eypkmxm.fsf@petton.fr> (Nicolas Petton's message of "Mon, 31 Jul 2017 10:52:53 +0200")

Nicolas Petton <nicolas@petton.fr> writes:

> Michael Albinus <michael.albinus@gmx.de> writes:
>
>>> Yes, I'll give it a shot.  I'll start by looking at the existing usages
>>> in C of direct DBus communications.
>>
>> Could you send me a pointer?
>
> Sure.  One thing I'm interested in is connecting Indium with
> WebKitGTK+.  The remote inspector server starts a p2p dbus connection,
> and the client connects to it, see:
>
> https://trac.webkit.org/browser/webkit/trunk/Source/WebKit/UIProcess/glib/RemoteInspectorClient.cpp#L160

Well, this is g_dbus_connection_new_for_address, see
<https://developer.gnome.org/gio/stable/GDBusConnection.html#g-dbus-connection-new-for-address>.

The gio implementation of D-Bus offers functions, which are not
available in libdbus-1.so, the reference implementation we use in Emacs.

> Cheers,
> Nico

Best regards, Michael.



  reply	other threads:[~2017-07-31 14:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-27 12:07 DBus binding & direct connections (p2p)? Nicolas Petton
2017-07-28  7:35 ` Michael Albinus
2017-07-28  8:28   ` Nicolas Petton
2017-07-28  9:15     ` Michael Albinus
2017-07-28 10:03       ` Nicolas Petton
2017-07-28 10:10         ` Nicolas Petton
2017-07-28 11:21           ` Michael Albinus
2017-07-28 11:26             ` Nicolas Petton
2017-07-28 11:33               ` Michael Albinus
2017-07-28 11:36                 ` Nicolas Petton
2017-07-28 11:47                   ` Michael Albinus
2017-07-31  8:52                     ` Nicolas Petton
2017-07-31 14:29                       ` Michael Albinus [this message]
2017-07-31 19:12                         ` Nicolas Petton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fudche8j.fsf@detlef \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=nicolas@petton.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).