sig
exception Not_open
exception Error of string
type connection
type auth_method
type locale_preference =
[ `Pref of string | `Select of string list -> string ]
val create : Netamqp_endpoint.endpoint -> Netamqp_connection.connection
val open_e :
Netamqp_connection.connection ->
Netamqp_connection.auth_method list ->
Netamqp_connection.locale_preference -> string -> unit Uq_engines.engine
val open_s :
Netamqp_connection.connection ->
Netamqp_connection.auth_method list ->
Netamqp_connection.locale_preference -> string -> unit
val close_e : Netamqp_connection.connection -> unit Uq_engines.engine
val close_s : Netamqp_connection.connection -> unit
val is_open : Netamqp_connection.connection -> bool
val plain_auth : string -> string -> Netamqp_connection.auth_method
val endpoint : Netamqp_connection.connection -> Netamqp_endpoint.endpoint
val event_system : Netamqp_connection.connection -> Unixqueue.event_system
end