package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception Abort of group * exn
type wait_id = Unixqueue_util.wait_id
type operation = Unixqueue_util.operation =
  1. | Wait_in of Unix.file_descr
  2. | Wait_out of Unix.file_descr
  3. | Wait_oob of Unix.file_descr
  4. | Wait of wait_id
type event = Unixqueue_util.event =
  1. | Input_arrived of group * Unix.file_descr
  2. | Output_readiness of group * Unix.file_descr
  3. | Out_of_band of group * Unix.file_descr
  4. | Timeout of group * operation
  5. | Signal
  6. | Extra of exn
  7. | Immediate of group * (unit -> unit)
class type event_system = object ... end
val standard_event_system : unit -> event_system
val create_unix_event_system : unit -> event_system
val performance_event_system : unit -> event_system
val new_group : event_system -> group
val new_wait_id : event_system -> wait_id
val exists_resource : event_system -> operation -> bool
val add_resource : event_system -> group -> (operation * float) -> unit
val add_weak_resource : event_system -> group -> (operation * float) -> unit
val add_close_action : event_system -> group -> (Unix.file_descr * (Unix.file_descr -> unit)) -> unit
val add_abort_action : event_system -> group -> (group -> exn -> unit) -> unit
val remove_resource : event_system -> group -> operation -> unit
val add_handler : event_system -> group -> (event_system -> event Equeue.t -> event -> unit) -> unit
val add_event : event_system -> event -> unit
val clear : event_system -> group -> unit
val run : event_system -> unit
val is_running : event_system -> bool
val once : event_system -> group -> float -> (unit -> unit) -> unit
val weak_once : event_system -> group -> float -> (unit -> unit) -> unit
val epsilon : event_system -> (unit -> unit) -> unit
module Debug : sig ... end
OCaml

Innovation. Community. Security.