dbux v1.0.1 DBux.MessageTemplate
This module contains helper functions that can be used to easily build well-known messages.
Summary
Functions
Builds standard method call to org.freedesktop.DBus.AddMatch
Builds standard method call to org.freedesktop.DBus.Hello
Builds standard method call to org.freedesktop.DBus.RequestName
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.
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.
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.