obus

Pure Ocaml implementation of the D-Bus protocol
Library obus.network_manager
val interface : OBus_name.interface
val m_ActivateConnection : ( string * OBus_path.t * OBus_path.t * OBus_path.t, OBus_path.t ) OBus_member.Method.t
val m_DeactivateConnection : ( OBus_path.t, unit ) OBus_member.Method.t
val m_GetDevices : ( unit, OBus_path.t list ) OBus_member.Method.t
val m_Sleep : ( bool, unit ) OBus_member.Method.t
val s_DeviceAdded : OBus_path.t OBus_member.Signal.t
val s_DeviceRemoved : OBus_path.t OBus_member.Signal.t
val s_PropertiesChanged : (string * OBus_value.V.single) list OBus_member.Signal.t
val s_StateChanged : int32 OBus_member.Signal.t
val p_ActiveConnections : ( OBus_path.t list, [ `readable ] ) OBus_member.Property.t
val p_State : ( int32, [ `readable ] ) OBus_member.Property.t
val p_WirelessEnabled : ( bool, [ `readable | `writable ] ) OBus_member.Property.t
val p_WirelessHardwareEnabled : ( bool, [ `readable ] ) OBus_member.Property.t
val p_WwanEnabled : ( bool, [ `readable | `writable ] ) OBus_member.Property.t
val p_WwanHardwareEnabled : ( bool, [ `readable ] ) OBus_member.Property.t
type 'a members = {
m_ActivateConnection : 'a OBus_object.t -> (string * OBus_path.t * OBus_path.t * OBus_path.t) -> OBus_path.t Lwt.t;
m_DeactivateConnection : 'a OBus_object.t -> OBus_path.t -> unit Lwt.t;
m_GetDevices : 'a OBus_object.t -> unit -> OBus_path.t list Lwt.t;
m_Sleep : 'a OBus_object.t -> bool -> unit Lwt.t;
p_ActiveConnections : 'a OBus_object.t -> OBus_path.t list React.signal;
p_State : 'a OBus_object.t -> int32 React.signal;
p_WirelessEnabled : ( 'a OBus_object.t -> bool React.signal ) * ( 'a OBus_object.t -> bool -> unit Lwt.t );
p_WirelessHardwareEnabled : 'a OBus_object.t -> bool React.signal;
p_WwanEnabled : ( 'a OBus_object.t -> bool React.signal ) * ( 'a OBus_object.t -> bool -> unit Lwt.t );
p_WwanHardwareEnabled : 'a OBus_object.t -> bool React.signal;
}
val make : 'a members -> 'a OBus_object.interface