Plasma GitLab Archive
Projects Blog Knowledge

Module Netamqp_transport


module Netamqp_transport: sig .. end
Low-level AMQP transporters

type 'a result = [ `Error of exn | `Ok of 'a ] 
type 'a result_eof = [ `End_of_file | `Error of exn | `Ok of 'a ] 
type sockaddr = [ `Implied | `Sockaddr of Unix.sockaddr ] 
val string_of_sockaddr : sockaddr -> string
Convert to string, for debugging purposes
exception Error of string
Passed back as `Error. Such errors are fatal.
class type amqp_multiplex_controller = object .. end
val tcp_amqp_multiplex_controller : ?close_inactive_descr:bool ->
?preclose:(unit -> unit) ->
Unix.file_descr ->
Unixqueue.event_system -> amqp_multiplex_controller
The multiplex controller for stream encapsulation

  • close_inactive_descr: If true, the descriptor is closed when inactivated
  • preclose: This function is called just before the descriptor is closed.


Debugging


module Debug: sig .. end
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml