[erlang-questions] erlang D-Bus implementation ?

Jean Parpaillon jean.parpaillon@REDACTED
Mon Nov 30 10:19:46 CET 2015


Hi,

Le vendredi 27 novembre 2015 à 09:31 -0800, Michael Truog a écrit :
> On 11/27/2015 08:28 AM, Jean Parpaillon wrote:
> > Hi all,
> > There have been several tentative to have a pure erlang
> > implementation
> > of D-Bus RPC system, most of them forks of (unmaintained) http://so
> > urce
> > forge.net/projects/dbus-erlang/
> > 
> > I have also forked it some years ago and use it in another project.
> > I
> > can't say it's perfectly operational but at least for consuming D-
> > Bus
> > services it works. Exposing D-Bus services is not possible. The
> > original erlang-dbus was proposing a gen_dbus behaviour for that
> > but I
> > preferred to focus on robust service consuming first.
> > 
> > My version is there: https://github.com/lizenn/erlang-dbus/
> > 
> > TODO list:
> > - documentation ;)
> > - testing: test infra is operational (with travis-ci) but coverage
> > is
> > really low
> > - gen_dbus coding
> > - well know interfaces coding: Properties (partly coded in
> > dbus_properties_proxy), ObjectManager, ...
> > 
> > In a far future, we could imagine OTP to include it, as DBus is
> > used
> > for many services and as cros-language RPC system. The only problem
> > regarding OTP is most DBus implementations runs on top of UNIX
> > sockets,
> > which requires platform dependant code. OTP version could be
> > operational with TCP sockets (implemented in erlang-dbus), with an
> > option of communicating through UNIX socket with ports.
> > 
> > Is anybody interested in contributing ?
> You can track UNIX socket support at https://github.com/erlang/otp/pu
> ll/612 .
> 

Thanks for the link. BTW, I'm currently using procket + inert for UDS
[0] and would be glad to migrate to anything more standard (OTP) as
soon as available, even if procket + inert works currently fine.


Cheers,

[0] https://github.com/lizenn/erlang-dbus/blob/master/src/dbus_transpor
t_unix.erl
-- 
Jean Parpaillon
--
Open Source Consultant
OW2 Technology Council Chairman
Director @ OW2 Consortium
OCCIware Strategic Orientation Committee Chairman
Research Engineer @ Inria
--
Phone: +33 6 30 10 92 86
im: jean.parpaillon@REDACTED
skype: jean.parpaillon
linkedin: http://www.linkedin.com/in/jeanparpaillon/en




More information about the erlang-questions mailing list