Online Mind Mapping and Brainstorming

Create your own awesome maps

Online Mind Mapping and Brainstorming

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account? Log In

DBUS by Mind Map: DBUS
0.0 stars - 0 reviews range from 0 to 5

DBUS

Transaction Types

Point-to-Point

"Request-Response"

Point-to-Multipoint

"Signal"

Definitions

Interface

Interface: collection of Methods

Type

Collection of Interfaces (supported by an Object)

Method

Addressing

Bus address, e.g. unix: path=/var/run/dbus/system_bus_socket

Connection, (unique) e.g. :34-907, (well-known) e.g. com.mycompany.myconnection

Object, e.g. /com/mycompany/myobject

Interface, e.g. com.mycompany.myinterface

Member, e.g. list...

'Member'

For an Object, it is the Collection of:, Supported Methods, Emitted Signals

Concepts

An Object supports particular Methods

An Object emits particular Signals

An Object subscribes to a Signal of a particular Object (?)

Catch-All signal Handler

Subscribe to: (i.e. add signal handler)

Interface: 'dbus_interface'

Member: 'member'

Socket Protocol

"line based" i.e. each line terminates with \r\n

Each line begins with all-caps ASCII command name

Client --> Server, AUTH, CANCEL, BEGIN, DATA, ERROR, EXTENSION_ (future)

Server --> Client, REJECTED, OK, DATA, ERROR

On connection, first send 1 NUL byte

Standard Interfaces

org.freedesktop.DBus.Peer

Ping()

GetMachineId()

org.freedesktop.DBus.Introspectable

Introspect()

org.freedesktop.DBus.Properties

Get()

Set()

GetAll()

Message Bus

name=org.freedesktop.DBus

methods

org.freedesktop.DBus.Hello()

org.freedesktop.DBus.RequestName()

org.freedesktop.DBus.ReleaseName()

org.freedesktop.DBus.ListNames()

org.freedesktop.DBus.ListActivatableNames()

org.freedesktop.DBus.NameHasOwner()

org.freedesktop.DBus.StartServiceByName()

org.freedesktop.DBus.GetNameOwner()

org.freedesktop.DBus.GetConnectionUnixUser()

org.freedesktop.DBus.AddMatch()

org.freedesktop.DBus.RemoveMatch()

org.freedesktop.DBus.GetId()

signals

org.freedesktop.DBus.NameOwnerChanged()

org.freedesktop.DBus.NameLost()

org.freedesktop.DBus.NameAcquired()