module OBus_proxy:sig
..end
type
t = {
|
peer : |
(* |
Peer owning the object
| *) |
|
path : |
(* |
Path of the object on the peer
| *) |
val compare : t -> t -> int
Pervasives.compare
. It allows this module to be used
as argument to the functors Set.Make
and Map.Make
.val make : peer:OBus_peer.t -> path:OBus_path.t -> t
val peer : t -> OBus_peer.t
val path : t -> OBus_path.t
val connection : t -> OBus_connection.t
connection proxy = OBus_peer.connection (peer proxy)
val name : t -> OBus_name.bus
connection proxy = OBus_peer.name (peer proxy)
val introspect : t -> OBus_introspect.document Lwt.t
introspect proxy
introspects the given proxyval call : t ->
interface:OBus_name.interface ->
member:OBus_name.member ->
i_args:'a OBus_value.C.sequence ->
o_args:'b OBus_value.C.sequence -> 'a -> 'b Lwt.t
call proxy ~interface ~member ~i_args ~o_args args
calls the
given method on the given proxy and wait for the reply.val call_with_context : t ->
interface:OBus_name.interface ->
member:OBus_name.member ->
i_args:'a OBus_value.C.sequence ->
o_args:'b OBus_value.C.sequence -> 'a -> (OBus_context.t * 'b) Lwt.t
call_with_context
is like OBus_proxy.call
except that is also returns
the context of the method returnval call_no_reply : t ->
interface:OBus_name.interface ->
member:OBus_name.member ->
i_args:'a OBus_value.C.sequence -> 'a -> unit Lwt.t
typeproxy =
t
module type Private =sig
..end
module Private:sig
..end