dbux v1.0.0 DBux.MessageTemplate

This module contains helper functions that can be used to easily build well-known messages.

Summary

Functions

add_match(type \\ nil, sender \\ nil, interface \\ nil, member \\ nil, path \\ nil, path_namespace \\ nil, destination \\ nil, string_matches \\ [], path_matches \\ [], arg0namespace \\ nil, eavesdrop \\ nil, serial \\ 0)

Specs

add_match(DBux.Message.message_type, String.t, String.t, String.t, String.t, String.t, String.t, [] | [String.t], [] | [String.t], String.t, boolean, DBux.Serial.t) :: %DBux.Message{body: term, destination: term, error_name: term, flags: term, interface: term, member: term, message_type: term, path: term, reply_serial: term, sender: term, serial: term, signature: term, unix_fds: term}

Builds standard method call to org.freedesktop.DBus.AddMatch.

hello(serial \\ 0)

Specs

hello(DBux.Serial.t) :: %DBux.Message{body: term, destination: term, error_name: term, flags: term, interface: term, member: term, message_type: term, path: term, reply_serial: term, sender: term, serial: term, signature: term, unix_fds: term}

Builds standard method call to org.freedesktop.DBus.Hello.

request_name(name, flags \\ 0, serial \\ 0)

Specs

request_name(String.t, number, DBux.Serial.t) :: %DBux.Message{body: term, destination: term, error_name: term, flags: term, interface: term, member: term, message_type: term, path: term, reply_serial: term, sender: term, serial: term, signature: term, unix_fds: term}

Builds standard method call to org.freedesktop.DBus.RequestName.