Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Add Peer to peer dbus support #44

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Dec 2, 2013

  1. Destintion and Sender are optional fields, handle that

    This is not typically the case for bus-uses, but is common when
    using custom peer-to-peer connections.
    alexlarsson committed Dec 2, 2013
    Configuration menu
    Copy the full SHA
    ec159e2 View commit details
    Browse the repository at this point in the history
  2. Add support for acting as a dbus server

    This lets you listen on a dbus address for clients connecting.
    alexlarsson committed Dec 2, 2013
    Configuration menu
    Copy the full SHA
    b5e6bac View commit details
    Browse the repository at this point in the history
  3. Add peer-to-peer example

    This is a server/client pair that shows how to use peer-to-peer
    connections. You can also verify the server with gdbus like:
    
     gdbus call -a unix:path=./socket -o /com/github/guelfey/Demo/PeerServer -m com.github.guelfey.PeerServer.Foo 42
    
     # Please enter the commit message for your changes. Lines starting
    alexlarsson committed Dec 2, 2013
    Configuration menu
    Copy the full SHA
    da593eb View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2013

  1. Always enable unix FDs for unix servers

    Normally this is enabled after negotiation on the client side, but
    we know it is supported in the server.
    Without this we can't return Unix FDs on server connections.
    alexlarsson committed Dec 10, 2013
    Configuration menu
    Copy the full SHA
    0ff62cc View commit details
    Browse the repository at this point in the history
  2. Move ServerAuth out of Server()

    We want to do auth after we've correctly set up the connection (by
    e.g. exporting objects), otherwise there can be races where the
    client starts sending requests before we've yet exported some
    object.
    alexlarsson committed Dec 10, 2013
    Configuration menu
    Copy the full SHA
    73b7662 View commit details
    Browse the repository at this point in the history