class type amqp_multiplex_controller =object
..end
method alive : bool
method event_system : Unixqueue.event_system
method getsockname : sockaddr
method getpeername : sockaddr
method transport_type : Netamqp_types.transport_type
method set_max_frame_size : int -> unit
Sys.max_string_length
on 32 bit platforms.
The defaults are also the maximum possible values - larger
configurations are automatically clipped to the maximummethod eff_max_frame_size : int
method reading : bool
method read_eof : bool
method start_reading : when_done:(Netamqp_types.frame result_eof -> unit) ->
unit -> unit
when_done
callback is invoked with the
received frame
as argument.
This starts one-time read job only, i.e. it is not restarted
after when_done
has been invoked.
It is an error to start reading several times at once.
method writing : bool
method start_writing : when_done:(unit result -> unit) ->
Netamqp_types.frame -> unit
when_done
when it is written,
or an error condition is reached.
This starts one-time write job only, i.e. it is not restarted
after when_done
has been invoked.
It is an error to start writing several times at once.
method cancel_rd_polling : unit -> unit
before_record
callback function. Polling can be
resumed by calling start_reading
again.method abort_rw : unit -> unit
method start_shutting_down : when_done:(unit result -> unit) -> unit -> unit
when_done
callback is invoked reporting the success
or failure.
The underlying file descriptor (if any) is not closed. A shutdown
is only a protocol handshake. After a shutdown,read_eof
is true. Call inactivate
to close the descriptor.
method cancel_shutting_down : unit -> unit
when_done
callback is invoked with
the `Cancelled
.
It is no error if no shutdown is in progress.
method set_timeout : notify:(unit -> unit) -> float -> unit
notify
callback is invoked.method inactivate : unit -> unit
method tls_session_props : Nettls_support.tls_session_props option