class type object_adapter_t =The class type of object adapters. Note that this is a subtype ofobject
..end
Hydro_types.object_dispatcher
, and can be used in server
interfaces like Hydro_endpoint.Master.bind_adapter
.method add : Hydro_types.identity -> Hydro_lm.interface_base -> unit
add id obj
: Adds the object obj
under the identity id
to the
adapter. It is an error if the identity is already member of the
adapter, or if the object is already member. In the first case
Identity_exists
will be raised, and in the latter case
Object_exists
.
The object implementation is registered as the default facet.
method mem_id : Hydro_types.identity -> bool
method mem_obj : Hydro_lm.interface_base -> bool
method remove_id : Hydro_types.identity -> unit
method remove_obj : Hydro_lm.interface_base -> unit
method invoke_object : Hydro_types.identity -> Hydro_types.facet_dispatcher
Not_found
will be raised. This method is called by the
Hydro runtime when an operation of an object is invoked.method get_identity : Hydro_lm.interface_base -> Hydro_types.identity
Not_found
method adapter_id : string option
method set_adapter_id : string option -> unit
method replica_group_id : string option
method set_replica_group_id : string option -> unit