| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Stdio
Stdio.File

# Method Stdio.File()->query_callbacks()

Method query_callbacks

  `function(mixed:int) query_read_callback()`
  `function(mixed:int) query_write_callback()`
  `function(mixed:int) query_read_oob_callback()`
  `function(mixed:int) query_write_oob_callback()`
  `function(mixed:int) query_close_callback()`
  `array(function(mixed:int)) query_callbacks()`

Description

  These functions return the currently installed callbacks for the respective events.

  query_callbacks returns the callbacks in the same order as set_callbacks and set_nonblocking expect them.

See also

  set_nonblocking() , set_read_callback , set_write_callback , set_read_oob_callback , set_write_oob_callback , set_close_callback , set_callbacks