From: Nicolas Petton <nicolas@petton.fr>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: DBus binding & direct connections (p2p)?
Date: Fri, 28 Jul 2017 10:28:09 +0200 [thread overview]
Message-ID: <87shhhhso6.fsf@petton.fr> (raw)
In-Reply-To: <871sp16mjw.fsf@detlef>
[-- Attachment #1: Type: text/plain, Size: 918 bytes --]
Michael Albinus <michael.albinus@gmx.de> writes:
Hi Michael,
> 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.
That's exactly what I meant. Some applications communicate through
dbus, using peer-to-peer communications, without using a bus.
The Python binding allows for direct connections to be open like the
following (TCP in this example):
import dbus;
conn = dbus.connection.Connection("tcp:host=localhost,port=1234")
I think that calling `dbus_connection_open' with a dbus address would be
enough to support direct connections in the Emacs binding (but I might
be wrong).
Cheers,
Nico
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2017-07-28 8:28 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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87shhhhso6.fsf@petton.fr \
--to=nicolas@petton.fr \
--cc=emacs-devel@gnu.org \
--cc=michael.albinus@gmx.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.