dbus-java binding / microsoft windows

Matthew Johnson dbus at matthew.ath.cx
Sat Dec 24 02:59:42 PST 2011


On Fri Dec 23 21:18, bartolome moreno wrote:
>  Hi Matt, thx for your answers.I´ve a little/last/basic question(s):) In Microsoft windows:-What is the TCP transport you mention below for?-Does it have some relation with tmp-session.conf?-How dbus-java communicate with dbus lib? Thx againBart > Date: Fri, 23 Dec 2011 10:28:27 +0000

As Serkan said, it's a complete reimplementation. If you set
DBUS_SESSION_BUS_ADDRESS to a tcp address, it'll connect to TCP. Making a TCP
bus is left as an exercise for the reader. All the details of bus addresses can
be found in the spec.

Matt

> > From: dbus at matthew.ath.cx
> > To: bartolome_34_680 at hotmail.com; dbus at lists.freedesktop.org
> > Subject: Re: dbus-java binding / microsoft windows
> > 
> > On Fri Dec 23 08:09, bartolome moreno wrote:
> > > Hello List, 1- does anybody know, if the dbus-java bindind can be compiled
> > > (used) in microsoft windows?2- I´ve seen the dbus-java-2.7, and it seems it
> > > is only for linux. Am I right? Thanks a lotBart 		 	   		  
> > 
> > Hi, 
> > 
> > It's primarily aimed at Linux (since that's where DBus is primarily used), but
> > there's no reason it can't work under Windows, with a few caveats. The main
> > issues are that the build is controlled by Makefiles. If you compile it by
> > hand, or take the jars from compiling on Linux you should be fine. At one point
> > I think I put a batch file in there - but I never test it, so it probably won't
> > work!
> > 
> > Note, however, that the default mode is 'Unix sockets' - which obviously won't
> > work on Windows, since it doesn't have any. The TCP transport will work fine,
> > however.  At build-time you will need the libunixsocket-java library jars (but
> > not the native library), but that won't be used if you ask for a TCP transport.
> > 
> > Matt
> > 
>  		 	   		  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20111224/71c9bbc6/attachment.pgp>


More information about the dbus mailing list