obus
Pure Ocaml implementation of the D-Bus protocol
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
back to documentation root
package obus
-
obus
-
obus.hal
-
obus.network_manager
-
obus.notification
-
obus.ppx
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library obus.upower
Module
UPower_policy
Types
type latency_request = {
lr_cookie : cookie; | (* The random cookie that identifies the request. *) |
lr_uid : int; | (* The user ID that issued the request. *) |
lr_pid : int; | (* The process ID of the application. *) |
lr_exec : string; | (* The executable that issued the request. *) |
lr_timespec : int64; | (* The number of seconds since the epoch. *) |
lr_persistent : bool; | (* If the request is persistent and outlives the connection lifetime. *) |
lr_typ : latency; | (* The type of the request. *) |
lr_reserved : string; | |
lr_value : int; | (* The value, in microseconds or kilobits per second. *) |
}
Methods
val get_latency_requests : UPower.t -> latency_request list Lwt.t
Signals
val requests_changed : UPower.t -> unit OBus_signal.t
val latency_changed : UPower.t -> (latency * int) OBus_signal.t