Describe callbacks for modules implementing connections.
Copyright (c) 2015 Jean Parpaillon
Authors: Jean Parpaillon (jean.parpaillon@free.fr
).
Actually implemented by:
call/2 | Synchronously send a message. |
cast/2 | Asychronously send a message. |
close/1 | Close the connection. |
call(X1::dbus_connection(), Dbus_message::dbus_message()) -> {ok, term()} | {error, term()}
Synchronously send a message
cast(X1::dbus_connection(), Dbus_message::dbus_message()) -> ok | {error, term()}
Asychronously send a message
close(X1::dbus_connection()) -> ok
Close the connection