obus

Pure Ocaml implementation of the D-Bus protocol
Library obus
Module OBus_member . Method
type ('a, 'b) t = {
interface : OBus_name.interface;
member : OBus_name.member;
i_args : 'a OBus_value.arguments;(*

Input arguments

*)
o_args : 'b OBus_value.arguments;(*

Output arguments

*)
annotations : OBus_introspect.annotation list;
}

Type of a method description

Creation
val make : interface:OBus_name.interface -> member:OBus_name.member -> i_args:'a OBus_value.arguments -> o_args:'b OBus_value.arguments -> annotations:OBus_introspect.annotation list -> ( 'a, 'b ) t
Projections
val interface : ( 'a, 'b ) t -> OBus_name.interface
val member : ( 'a, 'b ) t -> OBus_name.member
val i_args : ( 'a, 'b ) t -> 'a OBus_value.arguments
val o_args : ( 'a, 'b ) t -> 'b OBus_value.arguments
val annotations : ( 'a, 'b ) t -> OBus_introspect.annotation list
Introspection
val introspect : ( 'a, 'b ) t -> OBus_introspect.member