Skip to content

Latest commit

 

History

History
64 lines (38 loc) · 1.57 KB

dbus_connection.md

File metadata and controls

64 lines (38 loc) · 1.57 KB

Module dbus_connection

Describe callbacks for modules implementing connections.

Copyright (c) 2015 Jean Parpaillon

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

Description

Actually implemented by:

  • @see dbus_peer_connection
  • @see dbus_bus_connection

Function Index

call/2Synchronously send a message.
cast/2Asychronously send a message.
close/1Close the connection.

Function Details

call/2


call(X1::dbus_connection(), Dbus_message::dbus_message()) -> {ok, term()} | {error, term()}

Synchronously send a message

cast/2


cast(X1::dbus_connection(), Dbus_message::dbus_message()) -> ok | {error, term()}

Asychronously send a message

close/1


close(X1::dbus_connection()) -> ok

Close the connection