package sonet

  1. Overview
  2. Docs
type error =
  1. | Connection_pending
  2. | Authentication_pending
  3. | Authentication_failed
  4. | Disconnected_send
exception Connection_error of error
type t
type callbacks = {
  1. authenticated_callback : t -> unit;
  2. msg_received_callback : t -> Dbus_message.t -> unit;
  3. shutdown_callback : t -> unit;
  4. error_callback : t -> Eventloop.error -> unit;
  5. send_done_callback : t -> unit;
}
val send : t -> Dbus_message.t -> unit
val attach : Eventloop.t -> Unix.file_descr -> ?connected:bool -> callbacks -> t
val detach : t -> unit
val close : t -> unit
OCaml

Innovation. Community. Security.