Skip to content

Latest commit

 

History

History
158 lines (108 loc) · 4.09 KB

dbus_names.md

File metadata and controls

158 lines (108 loc) · 4.09 KB

Module dbus_names

Transform well-known D-Bus names from binary to atoms.

Copyright (c) 2014 Jean Parpaillon

Authors: Jean Parpaillon (jean.parpaillon@free.fr).

Description

Function Index

bin_to_error/1Well-known error names.
bin_to_iface/1Well-known interface names:.
bin_to_member/1Well-known method OR signal name.
bin_to_method/1Well-known method names.
bin_to_signal/1Well-known signal names.
list_to_iface/1Equivalent to bin_to_iface(list_to_binary(Str)).
list_to_method/1Equivalent to bin_to_method(list_to_binary(Str)).
list_to_signal/1Equivalent to bin_to_signal(list_to_binary(Str)).

Function Details

bin_to_error/1


bin_to_error(Bin::binary()) -> dbus_name()

Well-known error names

  • org.freedesktop.DBus.Error.NameHasNoOwner
  • org.freedesktop.DBus.Error.OOM
  • org.freedesktop.DBus.Error.MatchRuleNotFound

bin_to_iface/1


bin_to_iface(Bin::binary()) -> dbus_name()

Well-known interface names:

  • org.freedesktop.DBus
  • org.freedesktop.DBus.Peer
  • org.freedesktop.DBus.Introspectable
  • org.freedesktop.DBus.Properties
  • org.freedesktop.DBus.ObjectManager

bin_to_member/1


bin_to_member(Bin::binary()) -> dbus_name()

Well-known method OR signal name

bin_to_method/1


bin_to_method(Bin::binary()) -> dbus_name()

Well-known method names

  • AddMatch
  • GetAdtAuditSessionData
  • GetConnectionCredentials
  • GetConnectionProcessID
  • GetConnectionSELinuxSecurityContext
  • GetConnectionUnixUser
  • GetId
  • GetNameOwner
  • Hello
  • ListActivatableNames
  • ListNames
  • NameHasOwner
  • ReleaseName
  • RemoveMatch
  • RequestName
  • StartServiceByName
  • UpdateActivationEnvironment
  • Ping
  • GetmachineId
  • Introspect
  • Get
  • Set
  • GetAll
  • GetManagedObjects

bin_to_signal/1


bin_to_signal(Bin::binary()) -> dbus_name()

Well-known signal names

  • NameAcquired
  • NameLost
  • NameAcquired
  • PropertiesChanged
  • InterfacesAdded
  • InterfacesRemoved

list_to_iface/1


list_to_iface(Str::string()) -> dbus_name()

Equivalent to bin_to_iface(list_to_binary(Str)).

list_to_method/1


list_to_method(Str::string()) -> dbus_name()

Equivalent to bin_to_method(list_to_binary(Str)).

list_to_signal/1


list_to_signal(Str::string()) -> dbus_name()

Equivalent to bin_to_signal(list_to_binary(Str)).