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: Fri, 28 Jul 2017 09:35:47 +0200	[thread overview]
Message-ID: <871sp16mjw.fsf@detlef> (raw)
In-Reply-To: <87zibq5bii.fsf@petton.fr> (Nicolas Petton's message of "Thu, 27 Jul 2017 14:07:17 +0200")

Nicolas Petton <nicolas@petton.fr> writes:

> Hi,

Hi Nicolas,

> I was wondering if the Emacs binding for DBus handles peer to peer
> connections between two applications without a bus daemon?

There does not exist such an interface in the D-Bus specification. The
standard interface org.freedesktop.DBus.Peer offers the methods Ping and
GetMachineId, which are something different. See
<https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-peer>.

The Java D-Bus bindings offer the interface
org.freedesktop.dbus.DirectConnection, which "Handles a peer to peer
connection between two applications withou a bus daemon.". See
<https://dbus.freedesktop.org/doc/dbus-java/api/org/freedesktop/dbus/DirectConnection.html>. Likely
this is what you've asked for; it isn't implemented in the Emacs bindings.

> Cheers,
> Nico

Best regards, Michael.



  reply	other threads:[~2017-07-28  7:35 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 [this message]
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
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=871sp16mjw.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).