The cl-async Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-async Reference Manual

This is the cl-async Reference Manual, version 0.6.1, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 10:58:12 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

cl-async - Asynchronous operations for Common Lisp

Cl-async is a library for general purpose, non-blocking programming in Common Lisp. Cl-async uses libuv as the backend, which is a fast, stable, portable library for asynchronous IO (used as the backend library in Node.js).

The main goal is to provide an experience that makes general asynchronous programming in lisp natural, and to also provide a number of drivers on top of cl-async.

NOTE: cl-async uses the v1.x branch of libuv, so make sure to grab that version of it (not the v0.10.x branch).

Documentation

Please see the cl-async website for full documentation, examples, etc.

Quick links:

Install

(ql:quickload :cl-async)

Please be aware that until cl-async v0.6.x is in quicklisp, you might want to git clone the master branch into quicklisp/local-projects/.

Tests

There is a fairly complete suite of tests in the cl-async-test package:

(ql:quickload :cl-async-test)
(cl-async-test:run-tests)
(cl-async-test:run-tests :ssl t)
(cl-async-test:run-tests :threading t)

License

As always, my code is MIT licensed. Do whatever the hell you want with it. Enjoy!


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Next: , Previous: , Up: Systems   [Contents][Index]

2.1 cl-async

Author

Andrew Danger Lyon <orthecreedence@gmail.com>

License

MIT

Description

Asynchronous operations for Common Lisp.

Version

0.6.1

Dependencies
Source

cl-async.asd (file)

Component

src (module)


Next: , Previous: , Up: Systems   [Contents][Index]

2.2 cl-async-util

Author

Andrew Danger Lyon <orthecreedence@gmail.com>

License

MIT

Description

Internal utilities for cl-async.

Version

0.6.1

Dependencies
Source

cl-async.asd (file)

Components

Previous: , Up: Systems   [Contents][Index]

2.3 cl-async-base

Author

Andrew Danger Lyon <orthecreedence@gmail.com>

License

MIT

Description

Base system for cl-async.

Version

0.6.1

Dependencies
Source

cl-async.asd (file)

Component

src/base.lisp (file)


Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Previous: , Up: Modules   [Contents][Index]

3.1 cl-async/src

Parent

cl-async (system)

Location

src/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 cl-async.asd

Location

cl-async.asd

Systems

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 cl-async/src/package.lisp

Parent

src (module)

Location

src/package.lisp

Packages

cl-async


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 cl-async/src/event-loop.lisp

Dependencies
Parent

src (module)

Location

src/event-loop.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 cl-async/src/event.lisp

Dependencies
Parent

src (module)

Location

src/event.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 cl-async/src/dns.lisp

Dependencies
Parent

src (module)

Location

src/dns.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 cl-async/src/streamish.lisp

Dependencies
Parent

src (module)

Location

src/streamish.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.7 cl-async/src/async-stream.lisp

Dependencies
Parent

src (module)

Location

src/async-stream.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.8 cl-async/src/socket.lisp

Dependencies
Parent

src (module)

Location

src/socket.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.9 cl-async/src/tcp.lisp

Dependencies
Parent

src (module)

Location

src/tcp.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.10 cl-async/src/filesystem.lisp

Dependencies
Parent

src (module)

Location

src/filesystem.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.11 cl-async/src/pipe.lisp

Dependencies
Parent

src (module)

Location

src/pipe.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.12 cl-async/src/signal.lisp

Dependencies
Parent

src (module)

Location

src/signal.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.13 cl-async/src/notify.lisp

Dependencies
Parent

src (module)

Location

src/notify.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.14 cl-async/src/poll.lisp

Dependencies
Parent

src (module)

Location

src/poll.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.15 cl-async/src/idle.lisp

Dependencies
Parent

src (module)

Location

src/idle.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.16 cl-async/src/process.lisp

Dependencies
Parent

src (module)

Location

src/process.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.17 cl-async/src/fsevent.lisp

Dependencies
Parent

src (module)

Location

src/fsevent.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.18 cl-async-util/src/util/package.lisp

Parent

cl-async-util (system)

Location

src/util/package.lisp

Packages

cl-async-util


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.19 cl-async-util/src/util/helpers.lisp

Dependency

src/util/package.lisp (file)

Parent

cl-async-util (system)

Location

src/util/helpers.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.20 cl-async-util/src/util/foreign.lisp

Dependency

src/util/helpers.lisp (file)

Parent

cl-async-util (system)

Location

src/util/foreign.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.21 cl-async-util/src/util/error.lisp

Dependency

src/util/foreign.lisp (file)

Parent

cl-async-util (system)

Location

src/util/error.lisp

Exported Definitions
Internal Definitions

*evcb-err* (special variable)


Previous: , Up: Lisp files   [Contents][Index]

4.1.22 cl-async-base/src/base.lisp

Parent

cl-async-base (system)

Location

src/base.lisp

Packages

cl-async-base

Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 cl-async

Source

package.lisp (file)

Nickname

as

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.2 cl-async-util

Source

src/util/package.lisp (file)

Use List
Used By List

cl-async

Exported Definitions
Internal Definitions

*evcb-err* (special variable)


Previous: , Up: Packages   [Contents][Index]

5.3 cl-async-base

Source

src/base.lisp (file)

Use List

common-lisp

Used By List
Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Constants

Constant: +af-inet+
Package

cl-async-util

Source

src/util/foreign.lisp (file)

Constant: +af-inet6+
Package

cl-async-util

Source

src/util/foreign.lisp (file)

Constant: +af-unix+
Package

cl-async-util

Source

src/util/foreign.lisp (file)

Constant: +af-unspec+
Package

cl-async-util

Source

src/util/foreign.lisp (file)

Constant: +sigabrt+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigalrm+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigbus+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigchld+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigcont+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigemt+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigfpe+
Package

cl-async

Source

signal.lisp (file)

Constant: +sighup+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigill+
Package

cl-async

Source

signal.lisp (file)

Constant: +siginfo+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigint+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigio+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigkill+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigpipe+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigprof+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigquit+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigsegv+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigstop+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigsys+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigterm+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigtrap+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigtstp+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigttin+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigttou+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigurg+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigusr1+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigusr2+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigvtalrm+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigwinch+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigxcpu+
Package

cl-async

Source

signal.lisp (file)

Constant: +sigxfsz+
Package

cl-async

Source

signal.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Special variables

Special Variable: *buffer-size*

The amount of data we’ll pull from the evbuffers when doing reading/writing.

Package

cl-async-base

Source

src/base.lisp (file)

Special Variable: *buffer-writes*

If T, will buffer writes on the socket until the next loop. This is mainly to cut down on calls to uv_write, which is fairly slow.

Package

cl-async-base

Source

src/base.lisp (file)

Special Variable: *data-registry*

A hash table holding C pointer -> lisp data mappings.

Package

cl-async-base

Source

src/base.lisp (file)

Special Variable: *enable-threading*

If true, various pieces of the cl-async internals will lock their restecpive structures before operating to ensure thread safety.

Package

cl-async-base

Source

src/base.lisp (file)

Special Variable: *event-base*

THE event base object used to process all async operations.

Package

cl-async-base

Source

src/base.lisp (file)

Special Variable: *event-base-next-id*

The numeric identifier assigned to each new event base.

Package

cl-async-base

Source

src/base.lisp (file)

Special Variable: *function-registry*

A hash table holding C pointer -> lisp function(s) mappings.

Package

cl-async-base

Source

src/base.lisp (file)

Special Variable: *input-buffer*

A buffer that lives in both C and lisp worlds (static-vector) that lets us read from sockets.

Package

cl-async-base

Source

src/base.lisp (file)

Special Variable: *ipv4-scanner*

Scanner that detects if a string is an IPV4 address.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Special Variable: *ipv6-scanner*

Scanner that detects if a string is an IPV6 address.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Special Variable: *output-buffer*

A buffer that lives in both C and lisp worlds (static-vector) that lets us write to sockets.

Package

cl-async-base

Source

src/base.lisp (file)

Special Variable: *passthrough-errors*
Package

cl-async-util

Source

src/util/error.lisp (file)

Special Variable: *safe-sldb-quit-restart*

If true, provides a safe default for SLIME debugger quit restart (ABORT-CALLBACK). This restart causes the callback to be aborted without quitting the event loop. If false, the default restart is set to EXIT-EVENT-LOOP.

Package

cl-async-base

Source

src/base.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Macros

Macro: catch-app-errors EVENT-CB &body BODY

Handle error conditions by directing them to the specified event callback or default event handler of the current event loop, if catching app errors is enabled for the current event loop via EVENT-BASE-CATCH-APP-ERRORS, otherwise just evaluate the BODY.

If event-cbs are called via run-event-cb, make sure the event-cb is NOT double-called with the same condition twice.

Package

cl-async-util

Source

src/util/error.lisp (file)

Macro: define-c-callback NAME RETURN-VAL (&rest ARGS) &body BODY

Define a top-level function with the given and also define a C callback that calls the function directly. The idea is that CFFI callbacks aren’t directly callable/debuggable, but it’s obnoxious to have to define and callback *and* a function right next to each other.

Package

cl-async-util

Source

src/util/foreign.lisp (file)

Macro: define-condition-alias ALIAS NAME

Define an alias for the specified condition.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Macro: with-delay (&optional SECONDS) &body BODY

Nicer syntax for delay function.

Package

cl-async

Source

event.lisp (file)

Macro: with-event-loop (&key CATCH-APP-ERRORS SEND-ERRORS-TO-EVENTCB) &body BODY

Makes starting an event loop a tad less annoying. I really couldn’t take typing out ‘(start-event-loop (lambda () ...) ...) every time. Example:

(with-event-loop (:catch-app-errors t) (do-something-one-does-when-an-event-loop-is-running))

See how nice that is?

Package

cl-async

Source

event-loop.lisp (file)

Macro: with-foreign-object* (VAR TYPE &key ZERO INITIAL) BINDINGS &body BODY

Convenience macro, makes creation and initialization of CFFI types easier. Emphasis on initialization.

Package

cl-async-util

Source

src/util/foreign.lisp (file)

Macro: with-interval (SECONDS) &body BODY

Nicer syntax for interval function.

Package

cl-async

Source

event.lisp (file)

Macro: with-ip-to-sockaddr ((BIND) ADDRESS PORT) &body BODY

Wraps around ipv4-str-to-sockaddr. Converts a string address and port and creates a sockaddr-in object, runs the body with it bound, and frees it.

Package

cl-async-util

Source

src/util/foreign.lisp (file)

Macro: with-lock &body BODY

If threading is enabled, locks the current event loop before processing body and releases the lock after body is finished.

Package

cl-async-util

Source

src/util/helpers.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Functions

Function: add-event EVENT &key TIMEOUT ACTIVATE

Add an event to its specified event loop (make it pending). If given a :timeout (in seconds) the event will fire after that amount of time, unless it’s removed or freed.

Package

cl-async

Source

event.lisp (file)

Function: add-event-loop-exit-callback FN

Add a function to be run when the event loop exits.

Package

cl-async

Source

event-loop.lisp (file)

Function: addrinfo-to-string ADDRINFO

Given a (horrible) addrinfo C object pointer, grab either an IP4 or IP6 address and return is as a string.

Package

cl-async-util

Source

src/util/foreign.lisp (file)

Function: append-array ARR1 ARR2

Create an array, made up of arr1 followed by arr2.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: attach-data-to-pointer POINTER DATA

Attach a lisp object to a foreign pointer.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: buffer-output BUFFER

Grab the output from a buffer created with (make-buffer).

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: bytes VECTOR

Convert any vector/string into a byte array. Useful for sending direct byte data into write-socket-data.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: call-with-callback-restarts THUNK &key CONTINUE-FN ABORT-RESTART-DESCRIPTION

Call thunk with restarts that make it possible to ignore the callback in case of an error or safely terminate the event loop.

If SWANK is active, set SLDB’s quit restart to ABORT-CALLBACK restart if *safe-sldb-quit-restart* is true or EXIT-EVENT-LOOP otherwise.

Package

cl-async-util

Source

src/util/error.lisp (file)

Function: check-streamish-open STREAMISH

Throw a streamish-closed condition if given a streamish that’s closed.

Package

cl-async

Source

streamish.lisp (file)

Function: clear-callbacks POINTER

Clear out all callbacks for the given pointer.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: clear-pointer-data POINTER

Clear the data attached to a CFFI pointer.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: clear-signal-handlers ()

Clear all bound signal handlers. Great for cleaning up when exiting an app.

Package

cl-async

Source

signal.lisp (file)

Function: close-socket SOCKET &key FORCE

Free a socket (uvstream) and clear out all associated data. Same as close-streamish.

Package

cl-async

Source

socket.lisp (file)

Function: close-tcp-server SERVER
Package

cl-async

Source

tcp.lisp (file)

Function: connect-tcp-socket SOCKET/STREAM HOST PORT &key EVENT-CB

Connect a tcp socket initialized with init-client-socket.

Package

cl-async

Source

tcp.lisp (file)

Function: create-data-pointer ()

Creates a pointer in C land that can be used to attach data/callbacks to. Note that this must be freed via clear-pointer-data.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: delay CALLBACK &key TIME EVENT-CB

Run a function, asynchronously, after the specified amount of seconds. An event loop must be running for this to work.

If time is nil, callback is still called asynchronously, but is queued in the event loop with no delay.

Package

cl-async

Source

event.lisp (file)

Function: deref-data-from-pointer POINTER

Grab data attached to a CFFI pointer.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: disable-socket SOCKET &key READ WRITE

Disable read/write monitoring on a socket. If :read or :write are nil, they are not enabled, but rather just not disabled.

Package

cl-async

Source

socket.lisp (file)

Function: dns-lookup HOST RESOLVE-CB &key EVENT-CB FAMILY

Asynchronously lookup a DNS address. Note that if an IP address is passed, the lookup happens synchronously. If a lookup is synchronous (and instant) this returns T, otherwise nil (lookup happening in background). Either way the resolve-cb is called with the lookup info (so always assume this is async).

Package

cl-async

Source

dns.lisp (file)

Function: do-chunk-data DATA BUFFER WRITE-CB &key START END NEW-BUFFER

Util function that splits data into the (length buffer) chunks and calls write-cb for each chunk.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: dump-event-loop-status ()

Return the status of the event loop. Really a debug function more than anything else.

Package

cl-async

Source

event-loop.lisp (file)

Function: enable-socket SOCKET &key READ WRITE

Enable read/write monitoring on a socket. If :read or :write are nil, they are not disabled, but rather just not enabled.

Package

cl-async

Source

socket.lisp (file)

Function: error-str UV-ERRNO

Given a libuv error number, return the error string.

Package

cl-async-util

Source

src/util/foreign.lisp (file)

Function: exit-event-loop ()

Exit the event loop if running.

Package

cl-async

Source

event-loop.lisp (file)

Function: fd-connected-p FD

Check if an FD is connected.

Package

cl-async-util

Source

src/util/foreign.lisp (file)

Function: free-event EVENT

Free a cl-async event object and any resources it uses.

Package

cl-async

Source

event.lisp (file)

Function: free-idler IDLER

Stop and free an idler.

Package

cl-async

Source

idle.lisp (file)

Function: free-notifier NOTIFIER

Free a cl-async notifier object and any resources it uses.

Package

cl-async

Source

notify.lisp (file)

Function: free-pointer-data POINTER &key PRESERVE-POINTER

Clears out all data attached to a foreign pointer, and frees the pointer (unless :preserve-pointer is t).

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: free-poller POLLER

Stop and free a poller.

Package

cl-async

Source

poll.lisp (file)

Function: free-signal-handler SIGNO

Clear a signal handler and unbind it.

Package

cl-async

Source

signal.lisp (file)

Function: fs-monitor-close FS-MONITOR
Package

cl-async

Source

fsevent.lisp (file)

Function: fs-unwatch FS-MONITOR
Package

cl-async

Source

fsevent.lisp (file)

Function: fs-watch PATH CALLBACK &key EVENT-CB
Package

cl-async

Source

fsevent.lisp (file)

Function: get-callbacks POINTER

Get all callbacks for the given pointer.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: idle CALLBACK &key EVENT-CB

Calls ‘callback‘ once per event loop.

Package

cl-async

Source

idle.lisp (file)

Function: interval CALLBACK &key TIME EVENT-CB

Run a function, asynchronously, every ‘time‘ seconds. This function returns a function which, when called, cancels the interval.

Package

cl-async

Source

event.lisp (file)

Function: ip-address-p ADDR

Determine if the given host is an IP or a hostname.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: ip-str-to-sockaddr ADDRESS PORT

Convert a string IP address and port into a sockaddr-in struct. Must be freed by the app!

Package

cl-async-util

Source

src/util/foreign.lisp (file)

Function: ipv4-address-p ADDR

Determine if the given host is an IPV4 addr or a hostname.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: ipv6-address-p ADDR

Determine if the given host is an IPV6 addr or a hostname.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: make-buffer &optional DATA

Create an octet buffer, optoinally filled with the given data.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: make-event CALLBACK &key EVENT-CB

Make an arbitrary event, and add it to the event loop. It *must* be triggered by (add-event <the event> :activate t) or it will sit, idle, for 100 years. Or you can remove/free it instead.

This is useful for triggering arbitrary events, and can even be triggered from a thread outside the libuv loop.

Package

cl-async

Source

event.lisp (file)

Function: make-notifier CALLBACK &key EVENT-CB SINGLE-SHOT

Makes a notifier, an object that can trigger a callback from a thread other than the event loop thread. If single-shot is true (the default), free the notifier after it’s triggered.

Package

cl-async

Source

notify.lisp (file)

Function: make-pointer-eql-able POINTER

Abstraction to make a CFFI pointer #’eql to itself. Does its best to be the most performant for the current implementation.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: mkdtemp TEMPLATE CB &key EVENT-CB
Package

cl-async

Source

filesystem.lisp (file)

Function: passthrough-error-p E

Return true if the specified error condition should not be intercepted by cl-async error handling mechanism.

Package

cl-async-util

Source

src/util/error.lisp (file)

Function: pipe-connect NAME READ-CB &key DATA STREAM EVENT-CB CONNECT-CB WRITE-CB READ-TIMEOUT WRITE-TIMEOUT DONT-DRAIN-READ-BUFFER

Open a pipe connection asynchronously. Optionally send data out once connected via the :data keyword (can be a string or byte array).

Package

cl-async

Source

pipe.lisp (file)

Function: pipe-server NAME READ-CB &key EVENT-CB CONNECT-CB BACKLOG STREAM FD

Start a pipe listener on the current event loop. Returns a tcp-server class which can be closed with close-tcp-server

Package

cl-async

Source

pipe.lisp (file)

Function: poll FD POLL-CB &key EVENT-CB POLL-FOR SOCKET

Poll an OS FD. If the FD is a socket, :socket t must be passed.

Package

cl-async

Source

poll.lisp (file)

Function: process-kill PROCESS SIGNAL &key EVENT-CB

If PROCESS is active, send the specified signal (an integer) to it and return true. If PROCESS is not active or an error occurs (and EVENT-CB doesn’t
signal an error), return false. If EVENT-CB is specified, use it
to handle errors, otherwise signal them via ERROR.

Package

cl-async

Source

process.lisp (file)

Function: remove-event EVENT

Remove a pending event from the event loop.

Package

cl-async

Source

event.lisp (file)

Function: remove-interval INTERVAL-FN

Stops an interval from looping.

Package

cl-async

Source

event.lisp (file)

Function: reverse-dns-lookup IP RESOLVE-CB &key EVENT-CB

Perform reverse DNS lookup on IP specifier as string. Call RESOLVE-CB with resolved HOST and SERVICE as strings. The callback is called once with one host, even if multiple hosts match the query.

Package

cl-async

Source

dns.lisp (file)

Function: run-event-cb EVENT-CB &rest ARGS

When used in the dynamic context of catch-app-errors, wraps the calling of an event-cb with args such that errors are caught and saved, ensuring that an event-cb isn’t called twice with the same condition. When used outside the dynamic context of catch-app-errors, just invokes event-cb with args.

Package

cl-async-util

Source

src/util/error.lisp (file)

Function: save-callbacks POINTER CALLBACKS

Save a set of callbacks, keyed by the given pointer.

Package

cl-async-util

Source

src/util/helpers.lisp (file)

Function: set-socket-nonblocking FD

Sets an FD into non-blocking mode.

Package

cl-async-util

Source

src/util/foreign.lisp (file)

Function: set-socket-timeouts SOCKET READ-SEC WRITE-SEC &key SOCKET-IS-UVSTREAM

Set the read/write timeouts on a socket.

Package

cl-async

Source

socket.lisp (file)

Function: signal-handler SIGNO SIGNAL-CB &key EVENT-CB

Setup a one-time signal handler for the given signo. This also sets up a lisp signal handler, so if a signal comes through while lisp is running instead of the event loop, it will run the same callback. All signal handlers are restored on event loop exit.

Package

cl-async

Source

signal.lisp (file)

Function: socket-closed-p SOCKET

Return whether a socket is closed or not. Same as streamish-closed-p.

Package

cl-async

Source

socket.lisp (file)

Function: spawn PATH ARGS &key EXIT-CB EVENT-CB INPUT OUTPUT ERROR-OUTPUT

Run the program specified by PATH with specified ARGS.
ARGS don’t include the executable path (argv[0]). Return process object and pipes or streams for input, output and error output file descriptors of the child process (NIL for file descriptors that aren’t redirected via :PIPE or :STREAM, see below).

EXIT-CB specifies the callback that should be called when the program terminates. It should be a function taking three arguments: process object, exit status and signal number that caused program termination (0 if the program wasn’t terminated by signal).

EVENT-CB specifies error handler to be used.

INPUT, OUTPUT and ERROR-OUTPUT specify process input/output/error output redirection. For each of these, the following values are supported:

:IGNORE the corresponding file descriptor isn’t used
:INHERIT inherit file descriptor from this process
(:PIPE [:READ-CB ...] ...) use pipe-based redirection of the corresponding file descriptor (see PIPE-CONNECT for the set of supported keyword arguments).
(:STREAM [:READ-CB ...] ...) same as PIPE, but uses async stream instead of a pipe.

Package

cl-async

Source

process.lisp (file)

Function: start-event-loop START-FN &key CATCH-APP-ERRORS SEND-ERRORS-TO-EVENTCB

Simple wrapper function that starts an event loop which runs the given callback, most likely to init your server/client.

Package

cl-async

Source

event-loop.lisp (file)

Function: stats ()

Return statistics about the current event loop.

Package

cl-async

Source

event-loop.lisp (file)

Function: stream-socket STREAM
Package

cl-async

Source

async-stream.lisp (file)

Function: streamish-closed-p STREAMISH

Return whether a streamish is closed or not.

Package

cl-async

Source

streamish.lisp (file)

Function: tcp-connect HOST PORT READ-CB &rest ARGS

Open a TCP connection asynchronously. Optionally send data out once connected via the :data keyword (can be a string or byte array).

Package

cl-async

Source

tcp.lisp (file)

Function: tcp-server BIND-ADDRESS PORT READ-CB &rest ARGS

Open a TCP connection asynchronously. Optionally send data out once connected via the :data keyword (can be a string or byte array).

Package

cl-async

Source

tcp.lisp (file)

Function: trigger-notifier NOTIFIER

Fires the callback attached to a notifier. Can be called from any thread.

Package

cl-async

Source

notify.lisp (file)

Function: write-socket-data SOCKET DATA &rest ARGS &key &allow-other-keys

An compatibility alias for STREAMISH-WRITE.

Package

cl-async

Source

socket.lisp (file)

Function: write-to-buffer SEQ BUFFER &optional START END

Write data to a buffer created with (make-buffer).

Package

cl-async-util

Source

src/util/helpers.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.5 Generic functions

Generic Function: close-socket-server SOCKET

Closes a socket server. If already closed, does nothing.

Package

cl-async

Source

socket.lisp (file)

Methods
Method: close-socket-server (SOCKET-SERVER socket-server)
Generic Function: close-streamish STREAMISH &key FORCE &allow-other-keys

Free a streamish (uvstream) and clear out all associated data.

Package

cl-async

Source

streamish.lisp (file)

Methods
Method: close-streamish (SOCKET tcp-socket) &key &allow-other-keys after
Source

tcp.lisp (file)

Method: close-streamish (SOCKET socket) &key FORCE &allow-other-keys
Source

socket.lisp (file)

Method: close-streamish (STREAMISH streamish) &key FORCE

Close and free a streamish and all of it’s underlying structures.

Generic Function: event-base-c OBJECT
Generic Function: (setf event-base-c) NEW-VALUE OBJECT
Package

cl-async-base

Methods
Method: event-base-c (EVENT-BASE event-base)
Method: (setf event-base-c) NEW-VALUE (EVENT-BASE event-base)

Holds the C object pointing to the underlying event loop object.

Source

src/base.lisp (file)

Generic Function: event-base-catch-app-errors OBJECT
Generic Function: (setf event-base-catch-app-errors) NEW-VALUE OBJECT
Package

cl-async-base

Methods
Method: event-base-catch-app-errors (EVENT-BASE event-base)
Method: (setf event-base-catch-app-errors) NEW-VALUE (EVENT-BASE event-base)

If t (or a function) will trap all errors produced in the event loop and process them internally

Source

src/base.lisp (file)

Generic Function: event-base-data-registry OBJECT
Generic Function: (setf event-base-data-registry) NEW-VALUE OBJECT
Package

cl-async-base

Methods
Method: event-base-data-registry (EVENT-BASE event-base)
Method: (setf event-base-data-registry) NEW-VALUE (EVENT-BASE event-base)

Holds all callback data attached to this event loop.

Source

src/base.lisp (file)

Generic Function: event-base-dns-base OBJECT
Generic Function: (setf event-base-dns-base) NEW-VALUE OBJECT
Package

cl-async-base

Methods
Method: event-base-dns-base (EVENT-BASE event-base)
Method: (setf event-base-dns-base) NEW-VALUE (EVENT-BASE event-base)

Holds the DNS base object used for DNS lookups.

Source

src/base.lisp (file)

Generic Function: event-base-dns-ref-count OBJECT
Generic Function: (setf event-base-dns-ref-count) NEW-VALUE OBJECT
Package

cl-async-base

Methods
Method: event-base-dns-ref-count (EVENT-BASE event-base)
Method: (setf event-base-dns-ref-count) NEW-VALUE (EVENT-BASE event-base)

Tracks how many open requests are pending on the dns base.

Source

src/base.lisp (file)

Generic Function: event-base-exit-functions OBJECT
Generic Function: (setf event-base-exit-functions) NEW-VALUE OBJECT
Package

cl-async-base

Methods
Method: event-base-exit-functions (EVENT-BASE event-base)
Method: (setf event-base-exit-functions) NEW-VALUE (EVENT-BASE event-base)

Holds functions to be run when the event loop exist (cleanly or otherwise).

Source

src/base.lisp (file)

Generic Function: event-base-function-registry OBJECT
Generic Function: (setf event-base-function-registry) NEW-VALUE OBJECT
Package

cl-async-base

Methods
Method: event-base-function-registry (EVENT-BASE event-base)
Method: (setf event-base-function-registry) NEW-VALUE (EVENT-BASE event-base)

Holds all callbacks attached to this event loop.

Source

src/base.lisp (file)

Generic Function: event-base-id OBJECT
Generic Function: (setf event-base-id) NEW-VALUE OBJECT
Package

cl-async-base

Methods
Method: event-base-id (EVENT-BASE event-base)
Method: (setf event-base-id) NEW-VALUE (EVENT-BASE event-base)

Holds this event loop’s numeric id.

Source

src/base.lisp (file)

Generic Function: event-base-lock OBJECT
Generic Function: (setf event-base-lock) NEW-VALUE OBJECT
Package

cl-async-base

Methods
Method: event-base-lock (EVENT-BASE event-base)
Method: (setf event-base-lock) NEW-VALUE (EVENT-BASE event-base)

Holds *the* lock for this event base.

Source

src/base.lisp (file)

Generic Function: event-base-num-connections-in OBJECT
Generic Function: (setf event-base-num-connections-in) NEW-VALUE OBJECT
Package

cl-async-base

Methods
Method: event-base-num-connections-in (EVENT-BASE event-base)

automatically generated reader method

Source

src/base.lisp (file)

Method: (setf event-base-num-connections-in) NEW-VALUE (EVENT-BASE event-base)

automatically generated writer method

Source

src/base.lisp (file)

Generic Function: event-base-num-connections-out OBJECT
Generic Function: (setf event-base-num-connections-out) NEW-VALUE OBJECT
Package

cl-async-base

Methods
Method: event-base-num-connections-out (EVENT-BASE event-base)

automatically generated reader method

Source

src/base.lisp (file)

Method: (setf event-base-num-connections-out) NEW-VALUE (EVENT-BASE event-base)

automatically generated writer method

Source

src/base.lisp (file)

Generic Function: event-base-send-errors-to-eventcb OBJECT
Generic Function: (setf event-base-send-errors-to-eventcb) NEW-VALUE OBJECT
Package

cl-async-base

Methods
Method: event-base-send-errors-to-eventcb (EVENT-BASE event-base)
Method: (setf event-base-send-errors-to-eventcb) NEW-VALUE (EVENT-BASE event-base)

If t, will send caught errors to the event-cb instead of handle-error

Source

src/base.lisp (file)

Generic Function: event-base-signal-handlers OBJECT
Generic Function: (setf event-base-signal-handlers) NEW-VALUE OBJECT
Package

cl-async-base

Methods
Method: event-base-signal-handlers (EVENT-BASE event-base)
Method: (setf event-base-signal-handlers) NEW-VALUE (EVENT-BASE event-base)

Holds all signal handlers.

Source

src/base.lisp (file)

Generic Function: event-c OBJECT
Generic Function: (setf event-c) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: event-c (EVENT event)

automatically generated reader method

Source

event.lisp (file)

Method: (setf event-c) NEW-VALUE (EVENT event)

automatically generated writer method

Source

event.lisp (file)

Generic Function: event-errcode CONDITION
Package

cl-async-base

Methods
Method: event-errcode (CONDITION event-error)
Source

src/base.lisp (file)

Generic Function: event-errmsg CONDITION
Package

cl-async-base

Methods
Method: event-errmsg (CONDITION event-error)
Source

src/base.lisp (file)

Generic Function: event-freed OBJECT
Generic Function: (setf event-freed) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: event-freed (EVENT event)

automatically generated reader method

Source

event.lisp (file)

Method: (setf event-freed) NEW-VALUE (EVENT event)

automatically generated writer method

Source

event.lisp (file)

Generic Function: event-freed-p OBJECT
Package

cl-async

Methods
Method: event-freed-p (EVENT event)

automatically generated reader method

Source

event.lisp (file)

Generic Function: handle-error ERROR

Default error handler responsible for handling uncaught errors.

Package

cl-async-util

Source

src/util/error.lisp (file)

Methods
Method: handle-error ERROR
Generic Function: idler-freed-p OBJECT
Package

cl-async

Methods
Method: idler-freed-p (IDLER idler)

automatically generated reader method

Source

idle.lisp (file)

Generic Function: notifier-freed-p OBJECT
Package

cl-async

Methods
Method: notifier-freed-p (NOTIFIER notifier)

automatically generated reader method

Source

notify.lisp (file)

Generic Function: poller-freed-p OBJECT
Package

cl-async

Methods
Method: poller-freed-p (POLLER poller)

automatically generated reader method

Source

poll.lisp (file)

Generic Function: process-error-output OBJECT
Generic Function: (setf process-error-output) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: process-error-output (PROCESS process)

automatically generated reader method

Source

process.lisp (file)

Method: (setf process-error-output) NEW-VALUE (PROCESS process)

automatically generated writer method

Source

process.lisp (file)

Generic Function: process-input OBJECT
Generic Function: (setf process-input) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: process-input (PROCESS process)

automatically generated reader method

Source

process.lisp (file)

Method: (setf process-input) NEW-VALUE (PROCESS process)

automatically generated writer method

Source

process.lisp (file)

Generic Function: process-output OBJECT
Generic Function: (setf process-output) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: process-output (PROCESS process)

automatically generated reader method

Source

process.lisp (file)

Method: (setf process-output) NEW-VALUE (PROCESS process)

automatically generated writer method

Source

process.lisp (file)

Generic Function: ref HANDLE

Reference a libuv handle object (uv_ref)

Package

cl-async

Source

event-loop.lisp (file)

Methods
Method: ref (HANDLE notifier)
Source

notify.lisp (file)

Method: ref (HANDLE event)
Source

event.lisp (file)

Generic Function: socket CONDITION
Generic Function: (setf socket) NEW-VALUE CONDITION
Package

cl-async

Methods
Method: socket THING
Source

socket.lisp (file)

Method: socket (CONDITION socket-info)
Method: (setf socket) NEW-VALUE (CONDITION socket-info)
Source

socket.lisp (file)

Generic Function: socket-accept-error-listener CONDITION
Generic Function: (setf socket-accept-error-listener) NEW-VALUE CONDITION
Package

cl-async

Methods
Method: socket-accept-error-listener (CONDITION socket-accept-error)
Method: (setf socket-accept-error-listener) NEW-VALUE (CONDITION socket-accept-error)
Source

socket.lisp (file)

Generic Function: socket-c OBJECT
Generic Function: (setf socket-c) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: socket-c (SOCKET socket)

automatically generated reader method

Source

socket.lisp (file)

Method: (setf socket-c) NEW-VALUE (SOCKET socket)

automatically generated writer method

Source

socket.lisp (file)

Generic Function: socket-closed OBJECT
Generic Function: (setf socket-closed) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: socket-closed (SOCKET socket)

automatically generated reader method

Source

socket.lisp (file)

Method: (setf socket-closed) NEW-VALUE (SOCKET socket)

automatically generated writer method

Source

socket.lisp (file)

Generic Function: socket-data OBJECT
Generic Function: (setf socket-data) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: socket-data (SOCKET socket)

automatically generated reader method

Source

socket.lisp (file)

Method: (setf socket-data) NEW-VALUE (SOCKET socket)

automatically generated writer method

Source

socket.lisp (file)

Generic Function: streamish THING

Returned associated streamish for THING or THING itself if THING is a streamish.

Package

cl-async

Source

streamish.lisp (file)

Writer

(setf streamish) (generic function)

Methods
Method: streamish (ASYNC-STREAM async-stream)

automatically generated reader method

Source

async-stream.lisp (file)

Method: streamish (STREAMISH streamish)
Method: streamish (CONDITION streamish-info)
Generic Function: (setf streamish) NEW-VALUE CONDITION
Package

cl-async

Reader

streamish (generic function)

Methods
Method: (setf streamish) NEW-VALUE (ASYNC-STREAM async-stream)

automatically generated writer method

Source

async-stream.lisp (file)

Method: (setf streamish) NEW-VALUE (CONDITION streamish-info)
Source

streamish.lisp (file)

Generic Function: streamish-closed OBJECT
Generic Function: (setf streamish-closed) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: streamish-closed (STREAMISH streamish)

automatically generated reader method

Source

streamish.lisp (file)

Method: (setf streamish-closed) NEW-VALUE (STREAMISH streamish)

automatically generated writer method

Source

streamish.lisp (file)

Generic Function: streamish-write STREAMISH DATA &key START END FORCE READ-CB WRITE-CB EVENT-CB &allow-other-keys

Write data into a streamish. Allows specifying read/write/event
callbacks. Any callback left nil will use that current callback from the streamish (so they only override when specified, otherwise keep the current callback).

Note that libuv doesn’t buffer output for non-connected sockets, so we have to do it ourselves by checking if the socket is connected and buffering accordingly.

Package

cl-async

Source

streamish.lisp (file)

Methods
Method: streamish-write (SOCKET socket) DATA &key START END FORCE &allow-other-keys
Source

socket.lisp (file)

Method: streamish-write (STREAMISH streamish) DATA &key READ-CB WRITE-CB EVENT-CB &allow-other-keys around
Method: streamish-write (STREAMISH streamish) DATA &key START END &allow-other-keys
Generic Function: tcp-socket CONDITION
Generic Function: (setf tcp-socket) NEW-VALUE CONDITION
Package

cl-async

Methods
Method: tcp-socket (CONDITION streamish-info)
Method: (setf tcp-socket) NEW-VALUE (CONDITION streamish-info)
Source

streamish.lisp (file)

Generic Function: unref HANDLE

Unreference a libuv handle object (uv_unref)

Package

cl-async

Source

event-loop.lisp (file)

Methods
Method: unref (HANDLE notifier)
Source

notify.lisp (file)

Method: unref (HANDLE event)
Source

event.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.6 Conditions

Condition: dns-error ()

Passed to a failure callback when a DNS error occurs on a connection.

Package

cl-async

Source

dns.lisp (file)

Direct superclasses

event-error (condition)

Condition: event-error ()

Describes a general error event.

Package

cl-async-base

Source

src/base.lisp (file)

Direct superclasses
Direct subclasses
Direct methods
Direct slots
Slot: code
Initargs

:code

Initform

(quote 0)

Readers

event-errcode (generic function)

Slot: msg
Initargs

:msg

Initform

(quote nil)

Readers

event-errmsg (generic function)

Condition: event-freed ()

Thrown when a freed event is operated on.

Package

cl-async

Source

event.lisp (file)

Direct superclasses

event-error (condition)

Direct methods
Direct slots
Slot: event
Initargs

:event

Initform

(quote nil)

Readers

event-freed-event (generic function)

Writers

(setf event-freed-event) (generic function)

Condition: event-info ()

Describes the base event for any action in cl-async.

Package

cl-async-base

Source

src/base.lisp (file)

Direct superclasses

condition (condition)

Direct subclasses
Condition: filesystem-eacces ()

Error: access denied

Package

cl-async

Source

filesystem.lisp (file)

Direct superclasses

filesystem-error (condition)

Condition: filesystem-enoent ()

Error: no such file or directory

Package

cl-async

Source

filesystem.lisp (file)

Direct superclasses

filesystem-error (condition)

Condition: filesystem-eperm ()

Error: permission denied

Package

cl-async

Source

filesystem.lisp (file)

Direct superclasses

filesystem-error (condition)

Condition: filesystem-error ()

Base class for filesystem conditions

Package

cl-async

Source

filesystem.lisp (file)

Direct superclasses

event-error (condition)

Direct subclasses
Condition: socket-aborted ()

Connection aborted.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses

socket-error (condition)

Condition: socket-accept-error ()

Passed to a server’s event-cb when there’s an error accepting a connection.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses

socket-error (condition)

Direct methods
Direct slots
Slot: listener
Initargs

:listener

Initform

(quote (cffi-sys:null-pointer))

Readers

socket-accept-error-listener (generic function)

Writers

(setf socket-accept-error-listener) (generic function)

Slot: server
Initargs

:server

Initform

(quote nil)

Readers

socket-accept-error-server (generic function)

Writers

(setf socket-accept-error-server) (generic function)

Condition: socket-address-in-use ()

Address is already in use.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses

socket-error (condition)

Condition: socket-closed ()

Thrown when a closed streamish is being operated on.

Package

cl-async

Source

streamish.lisp (file)

Direct superclasses

streamish-error (condition)

Condition: socket-eof ()

Peer closes a socket connection.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses
Condition: socket-error ()

Describes a general socket connection error.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses
Direct subclasses
Condition: socket-info ()

Base socket condition. Holds the socket object.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses

streamish-info (condition)

Direct subclasses

socket-error (condition)

Direct methods
  • socket (method)
  • socket (method)
Direct slots
Slot: streamish
Initargs

:streamish, :socket

Initform

(quote nil)

Readers

socket (generic function)

Writers

(setf socket) (generic function)

Condition: socket-refused ()

Connection refused.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses

socket-error (condition)

Condition: socket-reset ()

Connection reset.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses

socket-error (condition)

Condition: socket-timeout ()

Socket connection timed out.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses

socket-error (condition)

Condition: streamish-broken-pipe ()

Broken pipe.

Package

cl-async

Source

streamish.lisp (file)

Direct superclasses

streamish-error (condition)

Condition: streamish-canceled ()

Operation canceled.

Package

cl-async

Source

streamish.lisp (file)

Direct superclasses

streamish-error (condition)

Condition: streamish-closed ()

Thrown when a closed streamish is being operated on.

Package

cl-async

Source

streamish.lisp (file)

Direct superclasses

streamish-error (condition)

Condition: streamish-eof ()

Passed to an event callback when stream EOF is reached.

Package

cl-async

Source

streamish.lisp (file)

Direct superclasses

streamish-info (condition)

Direct subclasses

socket-eof (condition)

Condition: streamish-error ()

Describes a general streamish error.

Package

cl-async

Source

streamish.lisp (file)

Direct superclasses
Direct subclasses
Condition: streamish-info ()

Base streamish condition. Holds the streamish object.

Package

cl-async

Source

streamish.lisp (file)

Direct superclasses

event-info (condition)

Direct subclasses
Direct methods
Direct slots
Slot: streamish
Initargs

:streamish, :socket

Initform

(quote nil)

Readers
Writers
Condition: tcp-accept-error ()

Passed to a server’s event-cb when there’s an error accepting a connection.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses

socket-error (condition)

Direct methods
Direct slots
Slot: listener
Initargs

:listener

Initform

(quote (cffi-sys:null-pointer))

Readers

socket-accept-error-listener (generic function)

Writers

(setf socket-accept-error-listener) (generic function)

Slot: server
Initargs

:server

Initform

(quote nil)

Readers

socket-accept-error-server (generic function)

Writers

(setf socket-accept-error-server) (generic function)

Condition: tcp-eof ()

Peer closes a socket connection.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses
Condition: tcp-error ()

Describes a general socket connection error.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses
Direct subclasses
Condition: tcp-info ()

Base socket condition. Holds the socket object.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses

streamish-info (condition)

Direct subclasses

socket-error (condition)

Direct methods
  • socket (method)
  • socket (method)
Direct slots
Slot: streamish
Initargs

:streamish, :socket

Initform

(quote nil)

Readers

socket (generic function)

Writers

(setf socket) (generic function)

Condition: tcp-refused ()

Connection refused.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses

socket-error (condition)

Condition: tcp-reset ()

Connection reset.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses

socket-error (condition)

Condition: tcp-server-bind-error ()

Thrown when a server fails to bind (generally, the port is already in use).

Package

cl-async

Source

tcp.lisp (file)

Direct superclasses

socket-error (condition)

Direct methods
Direct slots
Slot: addr
Initargs

:addr

Initform

(quote nil)

Readers

tcp-server-bind-error-addr (generic function)

Writers

(setf tcp-server-bind-error-addr) (generic function)

Slot: port
Initargs

:port

Initform

(quote nil)

Readers

tcp-server-bind-error-port (generic function)

Writers

(setf tcp-server-bind-error-port) (generic function)

Condition: tcp-timeout ()

Socket connection timed out.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses

socket-error (condition)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.7 Classes

Class: async-input-stream ()

Async input stream.

Package

cl-async

Source

async-stream.lisp (file)

Direct superclasses
  • fundamental-binary-input-stream (class)
  • async-stream (class)
Direct subclasses

async-io-stream (class)

Direct methods
  • stream-read-sequence (method)
  • stream-read-byte (method)
  • stream-clear-input (method)
Class: async-io-stream ()

Async stream for both input and output.

Package

cl-async

Source

async-stream.lisp (file)

Direct superclasses
Class: async-output-stream ()

Async output stream.

Package

cl-async

Source

async-stream.lisp (file)

Direct superclasses
  • fundamental-binary-output-stream (class)
  • async-stream (class)
Direct subclasses

async-io-stream (class)

Direct methods
  • send-buffered-data (method)
  • stream-write-byte (method)
  • stream-write-sequence (method)
  • stream-finish-output (method)
  • stream-force-output (method)
  • stream-clear-output (method)
Class: async-stream ()

The underlying class for async streams. Wraps a streamish.

Package

cl-async

Source

async-stream.lisp (file)

Direct superclasses

trivial-gray-stream-mixin (class)

Direct subclasses
Direct methods
Direct slots
Slot: streamish
Initargs

:socket, :streamish

Readers

streamish (generic function)

Writers

(setf streamish) (generic function)

Slot: buffer
Initform

(cl-async-util:make-buffer)

Readers

stream-buffer (generic function)

Writers

(setf stream-buffer) (generic function)

Class: event ()

Wraps a C libuv event object.

Package

cl-async

Source

event.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: c
Initargs

:c

Initform

(cffi-sys:null-pointer)

Readers

event-c (generic function)

Writers

(setf event-c) (generic function)

Slot: freed
Readers
Writers

(setf event-freed) (generic function)

Class: event-base ()

A class that holds an event loop and all of the state that it manages.

One object to rule them all, one object to find them.
One object to bring them in and in the darkness bind them.

Package

cl-async-base

Source

src/base.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: c

Holds the C object pointing to the underlying event loop object.

Initargs

:c

Readers

event-base-c (generic function)

Writers

(setf event-base-c) (generic function)

Slot: id

Holds this event loop’s numeric id.

Initargs

:id

Readers

event-base-id (generic function)

Writers

(setf event-base-id) (generic function)

Slot: function-registry

Holds all callbacks attached to this event loop.

Initargs

:function-registry

Initform

(make-hash-table :test (function eql))

Readers

event-base-function-registry (generic function)

Writers

(setf event-base-function-registry) (generic function)

Slot: data-registry

Holds all callback data attached to this event loop.

Initargs

:data-registry

Initform

(make-hash-table :test (function eql))

Readers

event-base-data-registry (generic function)

Writers

(setf event-base-data-registry) (generic function)

Slot: exit-functions

Holds functions to be run when the event loop exist (cleanly or otherwise).

Initargs

:exit-functions

Readers

event-base-exit-functions (generic function)

Writers

(setf event-base-exit-functions) (generic function)

Slot: signal-handlers

Holds all signal handlers.

Initargs

:signal-handlers

Readers

event-base-signal-handlers (generic function)

Writers

(setf event-base-signal-handlers) (generic function)

Slot: dns-base

Holds the DNS base object used for DNS lookups.

Initargs

:dns-base

Readers

event-base-dns-base (generic function)

Writers

(setf event-base-dns-base) (generic function)

Slot: dns-ref-count

Tracks how many open requests are pending on the dns base.

Initargs

:dns-ref-count

Initform

0

Readers

event-base-dns-ref-count (generic function)

Writers

(setf event-base-dns-ref-count) (generic function)

Slot: catch-app-errors

If t (or a function) will trap all errors produced in the event loop and process them internally

Initargs

:catch-app-errors

Readers

event-base-catch-app-errors (generic function)

Writers

(setf event-base-catch-app-errors) (generic function)

Slot: send-errors-to-eventcb

If t, will send caught errors to the event-cb instead of handle-error

Initargs

:send-errors-to-eventcb

Readers

event-base-send-errors-to-eventcb (generic function)

Writers

(setf event-base-send-errors-to-eventcb) (generic function)

Slot: lock

Holds *the* lock for this event base.

Initargs

:lock

Initform

(bordeaux-threads:make-lock)

Readers

event-base-lock (generic function)

Writers

(setf event-base-lock) (generic function)

Slot: num-connections-in
Initform

0

Readers

event-base-num-connections-in (generic function)

Writers

(setf event-base-num-connections-in) (generic function)

Slot: num-connections-out
Initform

0

Readers

event-base-num-connections-out (generic function)

Writers

(setf event-base-num-connections-out) (generic function)

Class: idler ()

Wraps a libuv idle handle.

Package

cl-async

Source

idle.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: c
Initargs

:c

Initform

(cffi-sys:null-pointer)

Readers

idler-c (generic function)

Writers

(setf idler-c) (generic function)

Slot: freed
Readers
Writers

(setf idler-freed) (generic function)

Class: notifier ()

Wraps a threading-enabled notifier.

Package

cl-async

Source

notify.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: c
Initargs

:c

Initform

(cffi-sys:null-pointer)

Readers

notifier-c (generic function)

Writers

(setf notifier-c) (generic function)

Slot: freed
Readers
Writers

(setf notifier-freed) (generic function)

Slot: single-shot
Initargs

:single-shot

Initform

t

Readers
Writers

(setf notifier-single-shot) (generic function)

Class: pipe-server ()
Package

cl-async

Source

pipe.lisp (file)

Direct superclasses
Direct methods
Class: poller ()

Wraps a polling handle.

Package

cl-async

Source

poll.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: c
Initargs

:c

Initform

(cffi-sys:null-pointer)

Readers

poller-c (generic function)

Writers

(setf poller-c) (generic function)

Slot: freed
Readers
Writers

(setf poller-freed) (generic function)

Class: socket ()

Wraps around a socket.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses

streamish (class)

Direct subclasses
Direct methods
Direct slots
Slot: c
Readers

socket-c (generic function)

Writers

(setf socket-c) (generic function)

Slot: data
Readers

socket-data (generic function)

Writers

(setf socket-data) (generic function)

Slot: closed
Readers

socket-closed (generic function)

Writers

(setf socket-closed) (generic function)

Slot: buffer

Holds data sent on the socket that hasn’t been sent yet.

Initargs

:buffer

Initform

(cl-async-util:make-buffer)

Readers

socket-buffer (generic function)

Writers

(setf socket-buffer) (generic function)

Slot: bufferingp

Lets us know if the socket is currently buffering output.

Readers

socket-buffering-p (generic function)

Writers

(setf socket-buffering-p) (generic function)

Slot: connected
Initargs

:connected

Readers

socket-connected (generic function)

Writers

(setf socket-connected) (generic function)

Slot: drain-read-buffer
Readers

socket-drain-read-buffer (generic function)

Writers

(setf socket-drain-read-buffer) (generic function)

Class: streamish ()

Wraps around a streamish.

Package

cl-async

Source

streamish.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses

socket (class)

Direct methods
Direct slots
Slot: c
Initargs

:c

Initform

(cffi-sys:null-pointer)

Readers

streamish-c (generic function)

Writers

(setf streamish-c) (generic function)

Slot: data

Used to store arbitrary (app-defined) data with a streamish.

Initargs

cl-async::data

Readers

streamish-data (generic function)

Writers

(setf streamish-data) (generic function)

Slot: closed
Initargs

:closed

Readers

streamish-closed (generic function)

Writers

(setf streamish-closed) (generic function)

Slot: drain-read-buffer
Initargs

:drain-read-buffer

Initform

t

Readers

streamish-drain-read-buffer (generic function)

Writers

(setf streamish-drain-read-buffer) (generic function)

Class: tcp-server ()
Package

cl-async

Source

tcp.lisp (file)

Direct superclasses
Direct methods
Class: tcp-socket ()
Package

cl-async

Source

tcp.lisp (file)

Direct superclasses
Direct methods
Direct slots
Slot: direction
Initargs

:direction

Initform

:out

Readers

socket-direction (generic function)

Writers

(setf socket-direction) (generic function)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.8 Types

Type: bytes-or-string ()
Package

cl-async-util

Source

src/util/helpers.lisp (file)

Type: callback ()
Package

cl-async-util

Source

src/util/helpers.lisp (file)

Type: octet ()
Package

cl-async-util

Source

src/util/helpers.lisp (file)

Type: octet-vector ()
Package

cl-async-util

Source

src/util/helpers.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Special variables

Special Variable: *evcb-err*
Package

cl-async-util

Source

src/util/error.lisp (file)

Special Variable: *event-base-registry*

Holds ID -> event-base lookups for every active event loop. Mainly used when grabbing the threading context for a particular event loop.

Package

cl-async

Source

event-loop.lisp (file)

Special Variable: *event-base-registry-lock*

Locks the event-base registry.

Package

cl-async

Source

event-loop.lisp (file)

Special Variable: *loop-close-iters*

Maximum number of event loop cleanup iterations

Package

cl-async

Source

event-loop.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Functions

Function: %fs-monitor-close HANDLE
Package

cl-async

Source

fsevent.lisp (file)

Function: %pipe-connect SOCKET/STREAM NAME

Connect a pipe initialized with init-client-socket.

Package

cl-async

Source

pipe.lisp (file)

Function: async-cb ASYNC-C

Called when an async notifier is triggered.

Package

cl-async

Source

notify.lisp (file)

Function: async-close-cb ASYNC-C

Called when an async handle is closed.

Package

cl-async

Source

notify.lisp (file)

Function: check-event-loop-running ()
Package

cl-async

Source

event-loop.lisp (file)

Function: check-event-unfreed EVENT

Checks that an event being operated on is not freed.

Package

cl-async

Source

event.lisp (file)

Function: check-notifier-unfreed NOTIFIER

Checks that an notifier being operated on is not freed.

Package

cl-async

Source

notify.lisp (file)

Function: check-socket-open SOCKET

Compatibility alias for CHECK-STREAMISH-OPEN.

Package

cl-async

Source

socket.lisp (file)

Function: dns-cb REQ STATUS ADDRINFO

Callback for DNS lookups.

Package

cl-async

Source

dns.lisp (file)

Function: do-close-loop EVLOOP

Close an event loop by looping over its open handles, closing them, rinsing and repeating until uv-loop-close returns 0, but at most *LOOP-CLOSE-ITERS* times.

Package

cl-async

Source

event-loop.lisp (file)

Function: do-close-streamish UVSTREAM &key FORCE

Close an UV stream.

Package

cl-async

Source

streamish.lisp (file)

Function: event-handler ERROR EVENT-CB &key STREAMISH THROW

Called when an event (error, mainly) occurs.

Package

cl-async

Source

streamish.lisp (file)

Function: fs-cb REQ
Package

cl-async

Source

filesystem.lisp (file)

Function: fs-event-callback HANDLE PATH EVENTS STATUS
Package

cl-async

Source

fsevent.lisp (file)

Function: fs-monitor-close-cb HANDLE

Called when a fs-monitor closes.

Package

cl-async

Source

fsevent.lisp (file)

Function: idle-cb HANDLE

Called when an idle handler fires.

Package

cl-async

Source

idle.lisp (file)

Function: idle-close-cb IDLE-C

Called when an idler closes.

Package

cl-async

Source

idle.lisp (file)

Function: init-client-socket SOCKET-CLASS &key READ-CB EVENT-CB DATA STREAM CONNECT-CB WRITE-CB DIRECTION READ-TIMEOUT WRITE-TIMEOUT DONT-DRAIN-READ-BUFFER

Initialize an async socket, but do not connect it.

Package

cl-async

Source

socket.lisp (file)

Function: init-incoming-socket SERVER STATUS

Called by the socket-accept-cb when an incoming connection is detected. Sets up a socket between the client and the server along with any callbacks the server has attached to it. Returns the cl-async socket object created.

Package

cl-async

Source

socket.lisp (file)

Function: init-stdio-container CONTAINER OUT-P TYPE FD PIPE-ARGS
Package

cl-async

Source

process.lisp (file)

Function: lisp-signal-cb SIGNO

Generic callback for lisp signal handling.

Package

cl-async

Source

signal.lisp (file)

Function: loop-exit-walk-cb HANDLE ARG

Called when we want to close the loop AND IT WONT CLOSE. So we walk each handle and close them.

Package

cl-async

Source

event-loop.lisp (file)

Function: poll-cb POLL-C STATUS EVENTS

Called when something happens on a polled FD.

Package

cl-async

Source

poll.lisp (file)

Function: poll-close-cb POLL-C

Called when a poller closes.

Package

cl-async

Source

poll.lisp (file)

Function: process-close PROCESS-HANDLE
Package

cl-async

Source

process.lisp (file)

Function: process-close-cb PROCESS-HANDLE

Called when a process closes.

Package

cl-async

Source

process.lisp (file)

Function: process-event-loop-exit-callbacks ()

run and clear out all event loop exit functions.

Package

cl-async

Source

event-loop.lisp (file)

Function: process-exit-cb PROCESS-HANDLE EXIT-STATUS TERM-SIGNAL
Package

cl-async

Source

process.lisp (file)

Function: reverse-dns-cb REQ STATUS HOSTNAME SERVICE

Callback for reverse DNS lookups.

Package

cl-async

Source

dns.lisp (file)

Function: set-lisp-signal-handler SIGNO FN

Replace the current handler for the signal number under signo, and return a pointer to the handler that is being replaced.

Package

cl-async

Source

signal.lisp (file)

Function: signal-cb WATCHER SIGNO

All signals come through here.

Package

cl-async

Source

signal.lisp (file)

Function: signal-close-cb WATCHER

Called when a signal handler closes.

Package

cl-async

Source

signal.lisp (file)

Function: signal-pointer SIGNO

Creates a pointer from a signal number. Not that this doesn’t need to be freed since we’re not allocating anything...just creating a pointer object with a specific address (which can be GCed).

Package

cl-async

Source

signal.lisp (file)

Function: socket-accept-cb SERVER STATUS

Called by a listener when an incoming connection is detected. Thin wrapper around init-incoming-socket, which does all the setting up of callbacks and pointers and so forth.

Package

cl-async

Source

socket.lisp (file)

Function: socket-connect-cb REQ STATUS

Called when an outgoing socket connects.

Package

cl-async

Source

socket.lisp (file)

Function: socket-server SERVER-CLASS ADDRESS READ-CB &key EVENT-CB CONNECT-CB BACKLOG STREAM FD

Start a socket listener on the current event loop. Returns a socket-server instance which can be closed with close-socket-server

Package

cl-async

Source

socket.lisp (file)

Function: streamish-alloc-cb HANDLE SIZE BUF

Called when we want to allocate data to be filled for stream reading.

Package

cl-async

Source

streamish.lisp (file)

Function: streamish-close-cb UVSTREAM

Called when a streamish closes.

Package

cl-async

Source

streamish.lisp (file)

Function: streamish-convert-data DATA
Package

cl-async

Source

streamish.lisp (file)

Function: streamish-read-cb UVSTREAM NREAD BUF

Called when a stream has been read into a buffer returned by alloc-cb.

Package

cl-async

Source

streamish.lisp (file)

Function: streamish-read-start STREAMISH

Start reading on the socket, return true on success. Invoke streamish’ event handler callback on error, returning NIL.

Package

cl-async

Source

streamish.lisp (file)

Function: streamish-shutdown-cb REQ STATUS

Called when a streamish shuts down.

Package

cl-async

Source

streamish.lisp (file)

Function: streamish-write-cb REQ STATUS

Called when data is finished being written to a streamish.

Package

cl-async

Source

streamish.lisp (file)

Function: tcp-connect-new HOST PORT READ-CB &key DATA STREAM EVENT-CB CONNECT-CB WRITE-CB READ-TIMEOUT WRITE-TIMEOUT DONT-DRAIN-READ-BUFFER

Open a TCP connection asynchronously. Optionally send data out once connected via the :data keyword (can be a string or byte array).

Package

cl-async

Source

tcp.lisp (file)

Function: tcp-server-closed SERVER
Package

cl-async

Source

tcp.lisp (file)

Function: tcp-server-new BIND-ADDRESS PORT READ-CB &key EVENT-CB CONNECT-CB BACKLOG STREAM FD

Start a TCP listener on the current event loop. Returns a tcp-server class which can be closed with close-tcp-server

Package

cl-async

Source

tcp.lisp (file)

Function: timer-cb TIMER-C

Callback used by the async timer system to find and run user-specified callbacks on timer events.

Package

cl-async

Source

event.lisp (file)

Function: timer-close-cb TIMER-C

Called when a timer closes.

Package

cl-async

Source

event.lisp (file)

Function: walk-cb HANDLE ARG

Called when we’re walking the loop.

Package

cl-async

Source

event-loop.lisp (file)

Function: write-to-uvstream UVSTREAM DATA &key START END

Util function to write data directly to a uv stream object.

Package

cl-async

Source

streamish.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Generic functions

Generic Function: errno-event STREAMISH ERRNO

Make an event based on errno and streamish.

Package

cl-async

Source

streamish.lisp (file)

Methods
Method: errno-event STREAMISH (ERRNO (eql -1))
Source

filesystem.lisp (file)

Method: errno-event STREAMISH (ERRNO (eql -13))
Source

filesystem.lisp (file)

Method: errno-event STREAMISH (ERRNO (eql -2))
Source

filesystem.lisp (file)

Method: errno-event SOCKET (ERRNO (eql -98))
Source

socket.lisp (file)

Method: errno-event (SOCKET socket) (ERRNO (eql -103))
Source

socket.lisp (file)

Method: errno-event (SOCKET socket) (ERRNO (eql -111))
Source

socket.lisp (file)

Method: errno-event (SOCKET socket) (ERRNO (eql -4095))
Source

socket.lisp (file)

Method: errno-event (SOCKET socket) (ERRNO (eql -104))
Source

socket.lisp (file)

Method: errno-event (SOCKET socket) (ERRNO (eql -110))
Source

socket.lisp (file)

Method: errno-event (STREAMISH streamish) (ERRNO (eql -125))
Method: errno-event (STREAMISH streamish) (ERRNO (eql -32))
Method: errno-event (STREAMISH streamish) (ERRNO (eql -4095))
Method: errno-event STREAMISH (ERRNO (eql -14))
Method: errno-event STREAMISH (ERRNO (eql -3008))
Method: errno-event STREAMISH ERRNO
Generic Function: event-freed-event CONDITION
Generic Function: (setf event-freed-event) NEW-VALUE CONDITION
Package

cl-async

Methods
Method: event-freed-event (CONDITION event-freed)
Method: (setf event-freed-event) NEW-VALUE (CONDITION event-freed)
Source

event.lisp (file)

Generic Function: fs-monitor-c OBJECT
Generic Function: (setf fs-monitor-c) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: fs-monitor-c (FS-MONITOR fs-monitor)

automatically generated reader method

Source

fsevent.lisp (file)

Method: (setf fs-monitor-c) NEW-VALUE (FS-MONITOR fs-monitor)

automatically generated writer method

Source

fsevent.lisp (file)

Generic Function: handle-cleanup HANDLE-TYPE HANDLE

Perform cleanup for a libuv handle

Package

cl-async

Source

event-loop.lisp (file)

Methods
Method: handle-cleanup (HANDLE-TYPE (eql fs-event)) HANDLE
Source

fsevent.lisp (file)

Method: handle-cleanup (HANDLE-TYPE (eql process)) HANDLE
Source

process.lisp (file)

Method: handle-cleanup (HANDLE-TYPE (eql async)) HANDLE
Source

notify.lisp (file)

Method: handle-cleanup (HANDLE-TYPE (eql named-pipe)) HANDLE
Source

pipe.lisp (file)

Method: handle-cleanup (HANDLE-TYPE (eql tcp)) HANDLE
Source

tcp.lisp (file)

Method: handle-cleanup (HANDLE-TYPE (eql async-socket)) HANDLE
Source

socket.lisp (file)

Method: handle-cleanup (HANDLE-TYPE (eql timer)) HANDLE
Source

event.lisp (file)

Method: handle-cleanup HANDLE-TYPE HANDLE
Generic Function: idler-c OBJECT
Generic Function: (setf idler-c) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: idler-c (IDLER idler)

automatically generated reader method

Source

idle.lisp (file)

Method: (setf idler-c) NEW-VALUE (IDLER idler)

automatically generated writer method

Source

idle.lisp (file)

Generic Function: idler-freed OBJECT
Generic Function: (setf idler-freed) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: idler-freed (IDLER idler)

automatically generated reader method

Source

idle.lisp (file)

Method: (setf idler-freed) NEW-VALUE (IDLER idler)

automatically generated writer method

Source

idle.lisp (file)

Generic Function: make-socket-handle SOCKET-OR-SERVER

Create an underlying stream handle for socket connection

Package

cl-async

Source

socket.lisp (file)

Methods
Method: make-socket-handle (SOCKET-OR-SERVER pipe-mixin)
Source

pipe.lisp (file)

Method: make-socket-handle (SOCKET-OR-SERVER tcp-mixin)
Source

tcp.lisp (file)

Generic Function: notifier-c OBJECT
Generic Function: (setf notifier-c) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: notifier-c (NOTIFIER notifier)

automatically generated reader method

Source

notify.lisp (file)

Method: (setf notifier-c) NEW-VALUE (NOTIFIER notifier)

automatically generated writer method

Source

notify.lisp (file)

Generic Function: notifier-freed OBJECT
Generic Function: (setf notifier-freed) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: notifier-freed (NOTIFIER notifier)

automatically generated reader method

Source

notify.lisp (file)

Method: (setf notifier-freed) NEW-VALUE (NOTIFIER notifier)

automatically generated writer method

Source

notify.lisp (file)

Generic Function: notifier-freed-notifier CONDITION
Generic Function: (setf notifier-freed-notifier) NEW-VALUE CONDITION
Package

cl-async

Methods
Method: notifier-freed-notifier (CONDITION notifier-freed)
Method: (setf notifier-freed-notifier) NEW-VALUE (CONDITION notifier-freed)
Source

notify.lisp (file)

Generic Function: notifier-single-shot OBJECT
Generic Function: (setf notifier-single-shot) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: notifier-single-shot (NOTIFIER notifier)

automatically generated reader method

Source

notify.lisp (file)

Method: (setf notifier-single-shot) NEW-VALUE (NOTIFIER notifier)

automatically generated writer method

Source

notify.lisp (file)

Generic Function: notifier-single-shot-p OBJECT
Package

cl-async

Methods
Method: notifier-single-shot-p (NOTIFIER notifier)

automatically generated reader method

Source

notify.lisp (file)

Generic Function: poller-c OBJECT
Generic Function: (setf poller-c) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: poller-c (POLLER poller)

automatically generated reader method

Source

poll.lisp (file)

Method: (setf poller-c) NEW-VALUE (POLLER poller)

automatically generated writer method

Source

poll.lisp (file)

Generic Function: poller-freed OBJECT
Generic Function: (setf poller-freed) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: poller-freed (POLLER poller)

automatically generated reader method

Source

poll.lisp (file)

Method: (setf poller-freed) NEW-VALUE (POLLER poller)

automatically generated writer method

Source

poll.lisp (file)

Generic Function: process-c OBJECT
Generic Function: (setf process-c) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: process-c (PROCESS process)

automatically generated reader method

Source

process.lisp (file)

Method: (setf process-c) NEW-VALUE (PROCESS process)

automatically generated writer method

Source

process.lisp (file)

Generic Function: send-buffered-data STREAM
Package

cl-async

Methods
Method: send-buffered-data (STREAM async-output-stream)

Take data we’ve buffered between initial sending and actual streamish and send it out.

Source

async-stream.lisp (file)

Generic Function: server-socket-class SERVER

Return socket class for connections accepted by SERVER

Package

cl-async

Source

socket.lisp (file)

Methods
Method: server-socket-class (SERVER pipe-server)
Source

pipe.lisp (file)

Method: server-socket-class (SERVER tcp-server)
Source

tcp.lisp (file)

Generic Function: socket-accept-error-server CONDITION
Generic Function: (setf socket-accept-error-server) NEW-VALUE CONDITION
Package

cl-async

Methods
Method: socket-accept-error-server (CONDITION socket-accept-error)
Method: (setf socket-accept-error-server) NEW-VALUE (CONDITION socket-accept-error)
Source

socket.lisp (file)

Generic Function: socket-buffer OBJECT
Generic Function: (setf socket-buffer) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: socket-buffer (SOCKET socket)
Method: (setf socket-buffer) NEW-VALUE (SOCKET socket)

Holds data sent on the socket that hasn’t been sent yet.

Source

socket.lisp (file)

Generic Function: socket-buffering-p OBJECT
Generic Function: (setf socket-buffering-p) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: socket-buffering-p (SOCKET socket)
Method: (setf socket-buffering-p) NEW-VALUE (SOCKET socket)

Lets us know if the socket is currently buffering output.

Source

socket.lisp (file)

Generic Function: socket-connected OBJECT
Generic Function: (setf socket-connected) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: socket-connected (SOCKET socket)

automatically generated reader method

Source

socket.lisp (file)

Method: (setf socket-connected) NEW-VALUE (SOCKET socket)

automatically generated writer method

Source

socket.lisp (file)

Generic Function: socket-direction OBJECT
Generic Function: (setf socket-direction) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: socket-direction (TCP-SOCKET tcp-socket)

automatically generated reader method

Source

tcp.lisp (file)

Method: (setf socket-direction) NEW-VALUE (TCP-SOCKET tcp-socket)

automatically generated writer method

Source

tcp.lisp (file)

Generic Function: socket-drain-read-buffer OBJECT
Generic Function: (setf socket-drain-read-buffer) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: socket-drain-read-buffer (SOCKET socket)

automatically generated reader method

Source

socket.lisp (file)

Method: (setf socket-drain-read-buffer) NEW-VALUE (SOCKET socket)

automatically generated writer method

Source

socket.lisp (file)

Generic Function: socket-server-bind SERVER ADDRESS FD

Bind socket server to the specified address, return libuv errno. Specify FD to bind the server to an existing file descriptor.

Package

cl-async

Source

socket.lisp (file)

Methods
Method: socket-server-bind (SERVER pipe-server) ADDRESS FD
Source

pipe.lisp (file)

Method: socket-server-bind (SERVER tcp-server) ADDRESS FD
Source

tcp.lisp (file)

Generic Function: socket-server-c OBJECT
Generic Function: (setf socket-server-c) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: socket-server-c (SOCKET-SERVER socket-server)

automatically generated reader method

Source

socket.lisp (file)

Method: (setf socket-server-c) NEW-VALUE (SOCKET-SERVER socket-server)

automatically generated writer method

Source

socket.lisp (file)

Generic Function: socket-server-closed OBJECT
Generic Function: (setf socket-server-closed) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: socket-server-closed (SOCKET-SERVER socket-server)

automatically generated reader method

Source

socket.lisp (file)

Method: (setf socket-server-closed) NEW-VALUE (SOCKET-SERVER socket-server)

automatically generated writer method

Source

socket.lisp (file)

Generic Function: socket-server-stream OBJECT
Generic Function: (setf socket-server-stream) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: socket-server-stream (SOCKET-SERVER socket-server)

automatically generated reader method

Source

socket.lisp (file)

Method: (setf socket-server-stream) NEW-VALUE (SOCKET-SERVER socket-server)

automatically generated writer method

Source

socket.lisp (file)

Generic Function: stream-append-bytes STREAM BYTES
Package

cl-async

Methods
Method: stream-append-bytes (STREAM async-stream) BYTES

Append some data to a stream’s underlying buffer.

Source

async-stream.lisp (file)

Generic Function: stream-buffer OBJECT
Generic Function: (setf stream-buffer) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: stream-buffer (ASYNC-STREAM async-stream)

automatically generated reader method

Source

async-stream.lisp (file)

Method: (setf stream-buffer) NEW-VALUE (ASYNC-STREAM async-stream)

automatically generated writer method

Source

async-stream.lisp (file)

Generic Function: stream-output-type STREAM
Package

cl-async

Methods
Method: stream-output-type (STREAM async-stream)

This is always a binary stream.

Source

async-stream.lisp (file)

Generic Function: streamish-c OBJECT
Generic Function: (setf streamish-c) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: streamish-c (STREAMISH streamish)

automatically generated reader method

Source

streamish.lisp (file)

Method: (setf streamish-c) NEW-VALUE (STREAMISH streamish)

automatically generated writer method

Source

streamish.lisp (file)

Generic Function: streamish-data OBJECT
Generic Function: (setf streamish-data) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: streamish-data (STREAMISH streamish)
Method: (setf streamish-data) NEW-VALUE (STREAMISH streamish)

Used to store arbitrary (app-defined) data with a streamish.

Source

streamish.lisp (file)

Generic Function: streamish-drain-read-buffer OBJECT
Generic Function: (setf streamish-drain-read-buffer) NEW-VALUE OBJECT
Package

cl-async

Methods
Method: streamish-drain-read-buffer (STREAMISH streamish)

automatically generated reader method

Source

streamish.lisp (file)

Method: (setf streamish-drain-read-buffer) NEW-VALUE (STREAMISH streamish)

automatically generated writer method

Source

streamish.lisp (file)

Generic Function: tcp-server-bind-error-addr CONDITION
Generic Function: (setf tcp-server-bind-error-addr) NEW-VALUE CONDITION
Package

cl-async

Methods
Method: tcp-server-bind-error-addr (CONDITION tcp-server-bind-error)
Method: (setf tcp-server-bind-error-addr) NEW-VALUE (CONDITION tcp-server-bind-error)
Source

tcp.lisp (file)

Generic Function: tcp-server-bind-error-port CONDITION
Generic Function: (setf tcp-server-bind-error-port) NEW-VALUE CONDITION
Package

cl-async

Methods
Method: tcp-server-bind-error-port (CONDITION tcp-server-bind-error)
Method: (setf tcp-server-bind-error-port) NEW-VALUE (CONDITION tcp-server-bind-error)
Source

tcp.lisp (file)

Generic Function: write-pending-socket-data SOCKET

Write any pending data on the given socket to its underlying stream.

Package

cl-async

Source

socket.lisp (file)

Methods
Method: write-pending-socket-data (SOCKET socket)

Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Conditions

Condition: notifier-freed ()

Thrown when a freed notifier is operated on.

Package

cl-async

Source

notify.lisp (file)

Direct superclasses

event-error (condition)

Direct methods
Direct slots
Slot: notifier
Initargs

:notifier

Initform

(quote nil)

Readers

notifier-freed-notifier (generic function)

Writers

(setf notifier-freed-notifier) (generic function)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.5 Classes

Class: fs-monitor ()
Package

cl-async

Source

fsevent.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • initialize-instance (method)
  • fs-monitor-c (method)
  • fs-monitor-c (method)
Direct slots
Slot: c
Readers

fs-monitor-c (generic function)

Writers

(setf fs-monitor-c) (generic function)

Class: pipe ()
Package

cl-async

Source

pipe.lisp (file)

Direct superclasses
Class: pipe-mixin ()
Package

cl-async

Source

pipe.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods

make-socket-handle (method)

Class: process ()
Package

cl-async

Source

process.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: c
Initargs

:c

Readers

process-c (generic function)

Writers

(setf process-c) (generic function)

Slot: input
Initargs

:input

Readers

process-input (generic function)

Writers

(setf process-input) (generic function)

Slot: output
Initargs

:output

Readers

process-output (generic function)

Writers

(setf process-output) (generic function)

Slot: error-output
Initargs

:error-output

Readers

process-error-output (generic function)

Writers

(setf process-error-output) (generic function)

Class: socket-server ()

Wraps around a connection listener.

Package

cl-async

Source

socket.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: c
Initargs

:c

Initform

(cffi-sys:null-pointer)

Readers

socket-server-c (generic function)

Writers

(setf socket-server-c) (generic function)

Slot: closed
Initargs

:closed

Readers

socket-server-closed (generic function)

Writers

(setf socket-server-closed) (generic function)

Slot: stream
Initargs

:stream

Readers

socket-server-stream (generic function)

Writers

(setf socket-server-stream) (generic function)

Class: tcp-mixin ()
Package

cl-async

Source

tcp.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods

make-socket-handle (method)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L   M  
Index Entry  Section

C
cl-async-base/src/base.lisp: The cl-async-base/src/base<dot>lisp file
cl-async-util/src/util/error.lisp: The cl-async-util/src/util/error<dot>lisp file
cl-async-util/src/util/foreign.lisp: The cl-async-util/src/util/foreign<dot>lisp file
cl-async-util/src/util/helpers.lisp: The cl-async-util/src/util/helpers<dot>lisp file
cl-async-util/src/util/package.lisp: The cl-async-util/src/util/package<dot>lisp file
cl-async.asd: The cl-async<dot>asd file
cl-async/src: The cl-async/src module
cl-async/src/async-stream.lisp: The cl-async/src/async-stream<dot>lisp file
cl-async/src/dns.lisp: The cl-async/src/dns<dot>lisp file
cl-async/src/event-loop.lisp: The cl-async/src/event-loop<dot>lisp file
cl-async/src/event.lisp: The cl-async/src/event<dot>lisp file
cl-async/src/filesystem.lisp: The cl-async/src/filesystem<dot>lisp file
cl-async/src/fsevent.lisp: The cl-async/src/fsevent<dot>lisp file
cl-async/src/idle.lisp: The cl-async/src/idle<dot>lisp file
cl-async/src/notify.lisp: The cl-async/src/notify<dot>lisp file
cl-async/src/package.lisp: The cl-async/src/package<dot>lisp file
cl-async/src/pipe.lisp: The cl-async/src/pipe<dot>lisp file
cl-async/src/poll.lisp: The cl-async/src/poll<dot>lisp file
cl-async/src/process.lisp: The cl-async/src/process<dot>lisp file
cl-async/src/signal.lisp: The cl-async/src/signal<dot>lisp file
cl-async/src/socket.lisp: The cl-async/src/socket<dot>lisp file
cl-async/src/streamish.lisp: The cl-async/src/streamish<dot>lisp file
cl-async/src/tcp.lisp: The cl-async/src/tcp<dot>lisp file

F
File, Lisp, cl-async-base/src/base.lisp: The cl-async-base/src/base<dot>lisp file
File, Lisp, cl-async-util/src/util/error.lisp: The cl-async-util/src/util/error<dot>lisp file
File, Lisp, cl-async-util/src/util/foreign.lisp: The cl-async-util/src/util/foreign<dot>lisp file
File, Lisp, cl-async-util/src/util/helpers.lisp: The cl-async-util/src/util/helpers<dot>lisp file
File, Lisp, cl-async-util/src/util/package.lisp: The cl-async-util/src/util/package<dot>lisp file
File, Lisp, cl-async.asd: The cl-async<dot>asd file
File, Lisp, cl-async/src/async-stream.lisp: The cl-async/src/async-stream<dot>lisp file
File, Lisp, cl-async/src/dns.lisp: The cl-async/src/dns<dot>lisp file
File, Lisp, cl-async/src/event-loop.lisp: The cl-async/src/event-loop<dot>lisp file
File, Lisp, cl-async/src/event.lisp: The cl-async/src/event<dot>lisp file
File, Lisp, cl-async/src/filesystem.lisp: The cl-async/src/filesystem<dot>lisp file
File, Lisp, cl-async/src/fsevent.lisp: The cl-async/src/fsevent<dot>lisp file
File, Lisp, cl-async/src/idle.lisp: The cl-async/src/idle<dot>lisp file
File, Lisp, cl-async/src/notify.lisp: The cl-async/src/notify<dot>lisp file
File, Lisp, cl-async/src/package.lisp: The cl-async/src/package<dot>lisp file
File, Lisp, cl-async/src/pipe.lisp: The cl-async/src/pipe<dot>lisp file
File, Lisp, cl-async/src/poll.lisp: The cl-async/src/poll<dot>lisp file
File, Lisp, cl-async/src/process.lisp: The cl-async/src/process<dot>lisp file
File, Lisp, cl-async/src/signal.lisp: The cl-async/src/signal<dot>lisp file
File, Lisp, cl-async/src/socket.lisp: The cl-async/src/socket<dot>lisp file
File, Lisp, cl-async/src/streamish.lisp: The cl-async/src/streamish<dot>lisp file
File, Lisp, cl-async/src/tcp.lisp: The cl-async/src/tcp<dot>lisp file

L
Lisp File, cl-async-base/src/base.lisp: The cl-async-base/src/base<dot>lisp file
Lisp File, cl-async-util/src/util/error.lisp: The cl-async-util/src/util/error<dot>lisp file
Lisp File, cl-async-util/src/util/foreign.lisp: The cl-async-util/src/util/foreign<dot>lisp file
Lisp File, cl-async-util/src/util/helpers.lisp: The cl-async-util/src/util/helpers<dot>lisp file
Lisp File, cl-async-util/src/util/package.lisp: The cl-async-util/src/util/package<dot>lisp file
Lisp File, cl-async.asd: The cl-async<dot>asd file
Lisp File, cl-async/src/async-stream.lisp: The cl-async/src/async-stream<dot>lisp file
Lisp File, cl-async/src/dns.lisp: The cl-async/src/dns<dot>lisp file
Lisp File, cl-async/src/event-loop.lisp: The cl-async/src/event-loop<dot>lisp file
Lisp File, cl-async/src/event.lisp: The cl-async/src/event<dot>lisp file
Lisp File, cl-async/src/filesystem.lisp: The cl-async/src/filesystem<dot>lisp file
Lisp File, cl-async/src/fsevent.lisp: The cl-async/src/fsevent<dot>lisp file
Lisp File, cl-async/src/idle.lisp: The cl-async/src/idle<dot>lisp file
Lisp File, cl-async/src/notify.lisp: The cl-async/src/notify<dot>lisp file
Lisp File, cl-async/src/package.lisp: The cl-async/src/package<dot>lisp file
Lisp File, cl-async/src/pipe.lisp: The cl-async/src/pipe<dot>lisp file
Lisp File, cl-async/src/poll.lisp: The cl-async/src/poll<dot>lisp file
Lisp File, cl-async/src/process.lisp: The cl-async/src/process<dot>lisp file
Lisp File, cl-async/src/signal.lisp: The cl-async/src/signal<dot>lisp file
Lisp File, cl-async/src/socket.lisp: The cl-async/src/socket<dot>lisp file
Lisp File, cl-async/src/streamish.lisp: The cl-async/src/streamish<dot>lisp file
Lisp File, cl-async/src/tcp.lisp: The cl-async/src/tcp<dot>lisp file

M
Module, cl-async/src: The cl-async/src module

Jump to:   C   F   L   M  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   L   M   N   P   R   S   T   U   W  
Index Entry  Section

%
%fs-monitor-close: Internal functions
%pipe-connect: Internal functions

(
(setf event-base-c): Exported generic functions
(setf event-base-c): Exported generic functions
(setf event-base-catch-app-errors): Exported generic functions
(setf event-base-catch-app-errors): Exported generic functions
(setf event-base-data-registry): Exported generic functions
(setf event-base-data-registry): Exported generic functions
(setf event-base-dns-base): Exported generic functions
(setf event-base-dns-base): Exported generic functions
(setf event-base-dns-ref-count): Exported generic functions
(setf event-base-dns-ref-count): Exported generic functions
(setf event-base-exit-functions): Exported generic functions
(setf event-base-exit-functions): Exported generic functions
(setf event-base-function-registry): Exported generic functions
(setf event-base-function-registry): Exported generic functions
(setf event-base-id): Exported generic functions
(setf event-base-id): Exported generic functions
(setf event-base-lock): Exported generic functions
(setf event-base-lock): Exported generic functions
(setf event-base-num-connections-in): Exported generic functions
(setf event-base-num-connections-in): Exported generic functions
(setf event-base-num-connections-out): Exported generic functions
(setf event-base-num-connections-out): Exported generic functions
(setf event-base-send-errors-to-eventcb): Exported generic functions
(setf event-base-send-errors-to-eventcb): Exported generic functions
(setf event-base-signal-handlers): Exported generic functions
(setf event-base-signal-handlers): Exported generic functions
(setf event-c): Exported generic functions
(setf event-c): Exported generic functions
(setf event-freed): Exported generic functions
(setf event-freed): Exported generic functions
(setf event-freed-event): Internal generic functions
(setf event-freed-event): Internal generic functions
(setf fs-monitor-c): Internal generic functions
(setf fs-monitor-c): Internal generic functions
(setf idler-c): Internal generic functions
(setf idler-c): Internal generic functions
(setf idler-freed): Internal generic functions
(setf idler-freed): Internal generic functions
(setf notifier-c): Internal generic functions
(setf notifier-c): Internal generic functions
(setf notifier-freed): Internal generic functions
(setf notifier-freed): Internal generic functions
(setf notifier-freed-notifier): Internal generic functions
(setf notifier-freed-notifier): Internal generic functions
(setf notifier-single-shot): Internal generic functions
(setf notifier-single-shot): Internal generic functions
(setf poller-c): Internal generic functions
(setf poller-c): Internal generic functions
(setf poller-freed): Internal generic functions
(setf poller-freed): Internal generic functions
(setf process-c): Internal generic functions
(setf process-c): Internal generic functions
(setf process-error-output): Exported generic functions
(setf process-error-output): Exported generic functions
(setf process-input): Exported generic functions
(setf process-input): Exported generic functions
(setf process-output): Exported generic functions
(setf process-output): Exported generic functions
(setf socket): Exported generic functions
(setf socket): Exported generic functions
(setf socket-accept-error-listener): Exported generic functions
(setf socket-accept-error-listener): Exported generic functions
(setf socket-accept-error-server): Internal generic functions
(setf socket-accept-error-server): Internal generic functions
(setf socket-buffer): Internal generic functions
(setf socket-buffer): Internal generic functions
(setf socket-buffering-p): Internal generic functions
(setf socket-buffering-p): Internal generic functions
(setf socket-c): Exported generic functions
(setf socket-c): Exported generic functions
(setf socket-closed): Exported generic functions
(setf socket-closed): Exported generic functions
(setf socket-connected): Internal generic functions
(setf socket-connected): Internal generic functions
(setf socket-data): Exported generic functions
(setf socket-data): Exported generic functions
(setf socket-direction): Internal generic functions
(setf socket-direction): Internal generic functions
(setf socket-drain-read-buffer): Internal generic functions
(setf socket-drain-read-buffer): Internal generic functions
(setf socket-server-c): Internal generic functions
(setf socket-server-c): Internal generic functions
(setf socket-server-closed): Internal generic functions
(setf socket-server-closed): Internal generic functions
(setf socket-server-stream): Internal generic functions
(setf socket-server-stream): Internal generic functions
(setf stream-buffer): Internal generic functions
(setf stream-buffer): Internal generic functions
(setf streamish): Exported generic functions
(setf streamish): Exported generic functions
(setf streamish): Exported generic functions
(setf streamish-c): Internal generic functions
(setf streamish-c): Internal generic functions
(setf streamish-closed): Exported generic functions
(setf streamish-closed): Exported generic functions
(setf streamish-data): Internal generic functions
(setf streamish-data): Internal generic functions
(setf streamish-drain-read-buffer): Internal generic functions
(setf streamish-drain-read-buffer): Internal generic functions
(setf tcp-server-bind-error-addr): Internal generic functions
(setf tcp-server-bind-error-addr): Internal generic functions
(setf tcp-server-bind-error-port): Internal generic functions
(setf tcp-server-bind-error-port): Internal generic functions
(setf tcp-socket): Exported generic functions
(setf tcp-socket): Exported generic functions

A
add-event: Exported functions
add-event-loop-exit-callback: Exported functions
addrinfo-to-string: Exported functions
append-array: Exported functions
async-cb: Internal functions
async-close-cb: Internal functions
attach-data-to-pointer: Exported functions

B
buffer-output: Exported functions
bytes: Exported functions

C
call-with-callback-restarts: Exported functions
catch-app-errors: Exported macros
check-event-loop-running: Internal functions
check-event-unfreed: Internal functions
check-notifier-unfreed: Internal functions
check-socket-open: Internal functions
check-streamish-open: Exported functions
clear-callbacks: Exported functions
clear-pointer-data: Exported functions
clear-signal-handlers: Exported functions
close-socket: Exported functions
close-socket-server: Exported generic functions
close-socket-server: Exported generic functions
close-streamish: Exported generic functions
close-streamish: Exported generic functions
close-streamish: Exported generic functions
close-streamish: Exported generic functions
close-tcp-server: Exported functions
connect-tcp-socket: Exported functions
create-data-pointer: Exported functions

D
define-c-callback: Exported macros
define-condition-alias: Exported macros
delay: Exported functions
deref-data-from-pointer: Exported functions
disable-socket: Exported functions
dns-cb: Internal functions
dns-lookup: Exported functions
do-chunk-data: Exported functions
do-close-loop: Internal functions
do-close-streamish: Internal functions
dump-event-loop-status: Exported functions

E
enable-socket: Exported functions
errno-event: Internal generic functions
errno-event: Internal generic functions
errno-event: Internal generic functions
errno-event: Internal generic functions
errno-event: Internal generic functions
errno-event: Internal generic functions
errno-event: Internal generic functions
errno-event: Internal generic functions
errno-event: Internal generic functions
errno-event: Internal generic functions
errno-event: Internal generic functions
errno-event: Internal generic functions
errno-event: Internal generic functions
errno-event: Internal generic functions
errno-event: Internal generic functions
errno-event: Internal generic functions
error-str: Exported functions
event-base-c: Exported generic functions
event-base-c: Exported generic functions
event-base-catch-app-errors: Exported generic functions
event-base-catch-app-errors: Exported generic functions
event-base-data-registry: Exported generic functions
event-base-data-registry: Exported generic functions
event-base-dns-base: Exported generic functions
event-base-dns-base: Exported generic functions
event-base-dns-ref-count: Exported generic functions
event-base-dns-ref-count: Exported generic functions
event-base-exit-functions: Exported generic functions
event-base-exit-functions: Exported generic functions
event-base-function-registry: Exported generic functions
event-base-function-registry: Exported generic functions
event-base-id: Exported generic functions
event-base-id: Exported generic functions
event-base-lock: Exported generic functions
event-base-lock: Exported generic functions
event-base-num-connections-in: Exported generic functions
event-base-num-connections-in: Exported generic functions
event-base-num-connections-out: Exported generic functions
event-base-num-connections-out: Exported generic functions
event-base-send-errors-to-eventcb: Exported generic functions
event-base-send-errors-to-eventcb: Exported generic functions
event-base-signal-handlers: Exported generic functions
event-base-signal-handlers: Exported generic functions
event-c: Exported generic functions
event-c: Exported generic functions
event-errcode: Exported generic functions
event-errcode: Exported generic functions
event-errmsg: Exported generic functions
event-errmsg: Exported generic functions
event-freed: Exported generic functions
event-freed: Exported generic functions
event-freed-event: Internal generic functions
event-freed-event: Internal generic functions
event-freed-p: Exported generic functions
event-freed-p: Exported generic functions
event-handler: Internal functions
exit-event-loop: Exported functions

F
fd-connected-p: Exported functions
free-event: Exported functions
free-idler: Exported functions
free-notifier: Exported functions
free-pointer-data: Exported functions
free-poller: Exported functions
free-signal-handler: Exported functions
fs-cb: Internal functions
fs-event-callback: Internal functions
fs-monitor-c: Internal generic functions
fs-monitor-c: Internal generic functions
fs-monitor-close: Exported functions
fs-monitor-close-cb: Internal functions
fs-unwatch: Exported functions
fs-watch: Exported functions
Function, %fs-monitor-close: Internal functions
Function, %pipe-connect: Internal functions
Function, add-event: Exported functions
Function, add-event-loop-exit-callback: Exported functions
Function, addrinfo-to-string: Exported functions
Function, append-array: Exported functions
Function, async-cb: Internal functions
Function, async-close-cb: Internal functions
Function, attach-data-to-pointer: Exported functions
Function, buffer-output: Exported functions
Function, bytes: Exported functions
Function, call-with-callback-restarts: Exported functions
Function, check-event-loop-running: Internal functions
Function, check-event-unfreed: Internal functions
Function, check-notifier-unfreed: Internal functions
Function, check-socket-open: Internal functions
Function, check-streamish-open: Exported functions
Function, clear-callbacks: Exported functions
Function, clear-pointer-data: Exported functions
Function, clear-signal-handlers: Exported functions
Function, close-socket: Exported functions
Function, close-tcp-server: Exported functions
Function, connect-tcp-socket: Exported functions
Function, create-data-pointer: Exported functions
Function, delay: Exported functions
Function, deref-data-from-pointer: Exported functions
Function, disable-socket: Exported functions
Function, dns-cb: Internal functions
Function, dns-lookup: Exported functions
Function, do-chunk-data: Exported functions
Function, do-close-loop: Internal functions
Function, do-close-streamish: Internal functions
Function, dump-event-loop-status: Exported functions
Function, enable-socket: Exported functions
Function, error-str: Exported functions
Function, event-handler: Internal functions
Function, exit-event-loop: Exported functions
Function, fd-connected-p: Exported functions
Function, free-event: Exported functions
Function, free-idler: Exported functions
Function, free-notifier: Exported functions
Function, free-pointer-data: Exported functions
Function, free-poller: Exported functions
Function, free-signal-handler: Exported functions
Function, fs-cb: Internal functions
Function, fs-event-callback: Internal functions
Function, fs-monitor-close: Exported functions
Function, fs-monitor-close-cb: Internal functions
Function, fs-unwatch: Exported functions
Function, fs-watch: Exported functions
Function, get-callbacks: Exported functions
Function, idle: Exported functions
Function, idle-cb: Internal functions
Function, idle-close-cb: Internal functions
Function, init-client-socket: Internal functions
Function, init-incoming-socket: Internal functions
Function, init-stdio-container: Internal functions
Function, interval: Exported functions
Function, ip-address-p: Exported functions
Function, ip-str-to-sockaddr: Exported functions
Function, ipv4-address-p: Exported functions
Function, ipv6-address-p: Exported functions
Function, lisp-signal-cb: Internal functions
Function, loop-exit-walk-cb: Internal functions
Function, make-buffer: Exported functions
Function, make-event: Exported functions
Function, make-notifier: Exported functions
Function, make-pointer-eql-able: Exported functions
Function, mkdtemp: Exported functions
Function, passthrough-error-p: Exported functions
Function, pipe-connect: Exported functions
Function, pipe-server: Exported functions
Function, poll: Exported functions
Function, poll-cb: Internal functions
Function, poll-close-cb: Internal functions
Function, process-close: Internal functions
Function, process-close-cb: Internal functions
Function, process-event-loop-exit-callbacks: Internal functions
Function, process-exit-cb: Internal functions
Function, process-kill: Exported functions
Function, remove-event: Exported functions
Function, remove-interval: Exported functions
Function, reverse-dns-cb: Internal functions
Function, reverse-dns-lookup: Exported functions
Function, run-event-cb: Exported functions
Function, save-callbacks: Exported functions
Function, set-lisp-signal-handler: Internal functions
Function, set-socket-nonblocking: Exported functions
Function, set-socket-timeouts: Exported functions
Function, signal-cb: Internal functions
Function, signal-close-cb: Internal functions
Function, signal-handler: Exported functions
Function, signal-pointer: Internal functions
Function, socket-accept-cb: Internal functions
Function, socket-closed-p: Exported functions
Function, socket-connect-cb: Internal functions
Function, socket-server: Internal functions
Function, spawn: Exported functions
Function, start-event-loop: Exported functions
Function, stats: Exported functions
Function, stream-socket: Exported functions
Function, streamish-alloc-cb: Internal functions
Function, streamish-close-cb: Internal functions
Function, streamish-closed-p: Exported functions
Function, streamish-convert-data: Internal functions
Function, streamish-read-cb: Internal functions
Function, streamish-read-start: Internal functions
Function, streamish-shutdown-cb: Internal functions
Function, streamish-write-cb: Internal functions
Function, tcp-connect: Exported functions
Function, tcp-connect-new: Internal functions
Function, tcp-server: Exported functions
Function, tcp-server-closed: Internal functions
Function, tcp-server-new: Internal functions
Function, timer-cb: Internal functions
Function, timer-close-cb: Internal functions
Function, trigger-notifier: Exported functions
Function, walk-cb: Internal functions
Function, write-socket-data: Exported functions
Function, write-to-buffer: Exported functions
Function, write-to-uvstream: Internal functions

G
Generic Function, (setf event-base-c): Exported generic functions
Generic Function, (setf event-base-catch-app-errors): Exported generic functions
Generic Function, (setf event-base-data-registry): Exported generic functions
Generic Function, (setf event-base-dns-base): Exported generic functions
Generic Function, (setf event-base-dns-ref-count): Exported generic functions
Generic Function, (setf event-base-exit-functions): Exported generic functions
Generic Function, (setf event-base-function-registry): Exported generic functions
Generic Function, (setf event-base-id): Exported generic functions
Generic Function, (setf event-base-lock): Exported generic functions
Generic Function, (setf event-base-num-connections-in): Exported generic functions
Generic Function, (setf event-base-num-connections-out): Exported generic functions
Generic Function, (setf event-base-send-errors-to-eventcb): Exported generic functions
Generic Function, (setf event-base-signal-handlers): Exported generic functions
Generic Function, (setf event-c): Exported generic functions
Generic Function, (setf event-freed): Exported generic functions
Generic Function, (setf event-freed-event): Internal generic functions
Generic Function, (setf fs-monitor-c): Internal generic functions
Generic Function, (setf idler-c): Internal generic functions
Generic Function, (setf idler-freed): Internal generic functions
Generic Function, (setf notifier-c): Internal generic functions
Generic Function, (setf notifier-freed): Internal generic functions
Generic Function, (setf notifier-freed-notifier): Internal generic functions
Generic Function, (setf notifier-single-shot): Internal generic functions
Generic Function, (setf poller-c): Internal generic functions
Generic Function, (setf poller-freed): Internal generic functions
Generic Function, (setf process-c): Internal generic functions
Generic Function, (setf process-error-output): Exported generic functions
Generic Function, (setf process-input): Exported generic functions
Generic Function, (setf process-output): Exported generic functions
Generic Function, (setf socket): Exported generic functions
Generic Function, (setf socket-accept-error-listener): Exported generic functions
Generic Function, (setf socket-accept-error-server): Internal generic functions
Generic Function, (setf socket-buffer): Internal generic functions
Generic Function, (setf socket-buffering-p): Internal generic functions
Generic Function, (setf socket-c): Exported generic functions
Generic Function, (setf socket-closed): Exported generic functions
Generic Function, (setf socket-connected): Internal generic functions
Generic Function, (setf socket-data): Exported generic functions
Generic Function, (setf socket-direction): Internal generic functions
Generic Function, (setf socket-drain-read-buffer): Internal generic functions
Generic Function, (setf socket-server-c): Internal generic functions
Generic Function, (setf socket-server-closed): Internal generic functions
Generic Function, (setf socket-server-stream): Internal generic functions
Generic Function, (setf stream-buffer): Internal generic functions
Generic Function, (setf streamish): Exported generic functions
Generic Function, (setf streamish-c): Internal generic functions
Generic Function, (setf streamish-closed): Exported generic functions
Generic Function, (setf streamish-data): Internal generic functions
Generic Function, (setf streamish-drain-read-buffer): Internal generic functions
Generic Function, (setf tcp-server-bind-error-addr): Internal generic functions
Generic Function, (setf tcp-server-bind-error-port): Internal generic functions
Generic Function, (setf tcp-socket): Exported generic functions
Generic Function, close-socket-server: Exported generic functions
Generic Function, close-streamish: Exported generic functions
Generic Function, errno-event: Internal generic functions
Generic Function, event-base-c: Exported generic functions
Generic Function, event-base-catch-app-errors: Exported generic functions
Generic Function, event-base-data-registry: Exported generic functions
Generic Function, event-base-dns-base: Exported generic functions
Generic Function, event-base-dns-ref-count: Exported generic functions
Generic Function, event-base-exit-functions: Exported generic functions
Generic Function, event-base-function-registry: Exported generic functions
Generic Function, event-base-id: Exported generic functions
Generic Function, event-base-lock: Exported generic functions
Generic Function, event-base-num-connections-in: Exported generic functions
Generic Function, event-base-num-connections-out: Exported generic functions
Generic Function, event-base-send-errors-to-eventcb: Exported generic functions
Generic Function, event-base-signal-handlers: Exported generic functions
Generic Function, event-c: Exported generic functions
Generic Function, event-errcode: Exported generic functions
Generic Function, event-errmsg: Exported generic functions
Generic Function, event-freed: Exported generic functions
Generic Function, event-freed-event: Internal generic functions
Generic Function, event-freed-p: Exported generic functions
Generic Function, fs-monitor-c: Internal generic functions
Generic Function, handle-cleanup: Internal generic functions
Generic Function, handle-error: Exported generic functions
Generic Function, idler-c: Internal generic functions
Generic Function, idler-freed: Internal generic functions
Generic Function, idler-freed-p: Exported generic functions
Generic Function, make-socket-handle: Internal generic functions
Generic Function, notifier-c: Internal generic functions
Generic Function, notifier-freed: Internal generic functions
Generic Function, notifier-freed-notifier: Internal generic functions
Generic Function, notifier-freed-p: Exported generic functions
Generic Function, notifier-single-shot: Internal generic functions
Generic Function, notifier-single-shot-p: Internal generic functions
Generic Function, poller-c: Internal generic functions
Generic Function, poller-freed: Internal generic functions
Generic Function, poller-freed-p: Exported generic functions
Generic Function, process-c: Internal generic functions
Generic Function, process-error-output: Exported generic functions
Generic Function, process-input: Exported generic functions
Generic Function, process-output: Exported generic functions
Generic Function, ref: Exported generic functions
Generic Function, send-buffered-data: Internal generic functions
Generic Function, server-socket-class: Internal generic functions
Generic Function, socket: Exported generic functions
Generic Function, socket-accept-error-listener: Exported generic functions
Generic Function, socket-accept-error-server: Internal generic functions
Generic Function, socket-buffer: Internal generic functions
Generic Function, socket-buffering-p: Internal generic functions
Generic Function, socket-c: Exported generic functions
Generic Function, socket-closed: Exported generic functions
Generic Function, socket-connected: Internal generic functions
Generic Function, socket-data: Exported generic functions
Generic Function, socket-direction: Internal generic functions
Generic Function, socket-drain-read-buffer: Internal generic functions
Generic Function, socket-server-bind: Internal generic functions
Generic Function, socket-server-c: Internal generic functions
Generic Function, socket-server-closed: Internal generic functions
Generic Function, socket-server-stream: Internal generic functions
Generic Function, stream-append-bytes: Internal generic functions
Generic Function, stream-buffer: Internal generic functions
Generic Function, stream-output-type: Internal generic functions
Generic Function, streamish: Exported generic functions
Generic Function, streamish-c: Internal generic functions
Generic Function, streamish-closed: Exported generic functions
Generic Function, streamish-data: Internal generic functions
Generic Function, streamish-drain-read-buffer: Internal generic functions
Generic Function, streamish-write: Exported generic functions
Generic Function, tcp-server-bind-error-addr: Internal generic functions
Generic Function, tcp-server-bind-error-port: Internal generic functions
Generic Function, tcp-socket: Exported generic functions
Generic Function, unref: Exported generic functions
Generic Function, write-pending-socket-data: Internal generic functions
get-callbacks: Exported functions

H
handle-cleanup: Internal generic functions
handle-cleanup: Internal generic functions
handle-cleanup: Internal generic functions
handle-cleanup: Internal generic functions
handle-cleanup: Internal generic functions
handle-cleanup: Internal generic functions
handle-cleanup: Internal generic functions
handle-cleanup: Internal generic functions
handle-cleanup: Internal generic functions
handle-error: Exported generic functions
handle-error: Exported generic functions

I
idle: Exported functions
idle-cb: Internal functions
idle-close-cb: Internal functions
idler-c: Internal generic functions
idler-c: Internal generic functions
idler-freed: Internal generic functions
idler-freed: Internal generic functions
idler-freed-p: Exported generic functions
idler-freed-p: Exported generic functions
init-client-socket: Internal functions
init-incoming-socket: Internal functions
init-stdio-container: Internal functions
interval: Exported functions
ip-address-p: Exported functions
ip-str-to-sockaddr: Exported functions
ipv4-address-p: Exported functions
ipv6-address-p: Exported functions

L
lisp-signal-cb: Internal functions
loop-exit-walk-cb: Internal functions

M
Macro, catch-app-errors: Exported macros
Macro, define-c-callback: Exported macros
Macro, define-condition-alias: Exported macros
Macro, with-delay: Exported macros
Macro, with-event-loop: Exported macros
Macro, with-foreign-object*: Exported macros
Macro, with-interval: Exported macros
Macro, with-ip-to-sockaddr: Exported macros
Macro, with-lock: Exported macros
make-buffer: Exported functions
make-event: Exported functions
make-notifier: Exported functions
make-pointer-eql-able: Exported functions
make-socket-handle: Internal generic functions
make-socket-handle: Internal generic functions
make-socket-handle: Internal generic functions
Method, (setf event-base-c): Exported generic functions
Method, (setf event-base-catch-app-errors): Exported generic functions
Method, (setf event-base-data-registry): Exported generic functions
Method, (setf event-base-dns-base): Exported generic functions
Method, (setf event-base-dns-ref-count): Exported generic functions
Method, (setf event-base-exit-functions): Exported generic functions
Method, (setf event-base-function-registry): Exported generic functions
Method, (setf event-base-id): Exported generic functions
Method, (setf event-base-lock): Exported generic functions
Method, (setf event-base-num-connections-in): Exported generic functions
Method, (setf event-base-num-connections-out): Exported generic functions
Method, (setf event-base-send-errors-to-eventcb): Exported generic functions
Method, (setf event-base-signal-handlers): Exported generic functions
Method, (setf event-c): Exported generic functions
Method, (setf event-freed): Exported generic functions
Method, (setf event-freed-event): Internal generic functions
Method, (setf fs-monitor-c): Internal generic functions
Method, (setf idler-c): Internal generic functions
Method, (setf idler-freed): Internal generic functions
Method, (setf notifier-c): Internal generic functions
Method, (setf notifier-freed): Internal generic functions
Method, (setf notifier-freed-notifier): Internal generic functions
Method, (setf notifier-single-shot): Internal generic functions
Method, (setf poller-c): Internal generic functions
Method, (setf poller-freed): Internal generic functions
Method, (setf process-c): Internal generic functions
Method, (setf process-error-output): Exported generic functions
Method, (setf process-input): Exported generic functions
Method, (setf process-output): Exported generic functions
Method, (setf socket): Exported generic functions
Method, (setf socket-accept-error-listener): Exported generic functions
Method, (setf socket-accept-error-server): Internal generic functions
Method, (setf socket-buffer): Internal generic functions
Method, (setf socket-buffering-p): Internal generic functions
Method, (setf socket-c): Exported generic functions
Method, (setf socket-closed): Exported generic functions
Method, (setf socket-connected): Internal generic functions
Method, (setf socket-data): Exported generic functions
Method, (setf socket-direction): Internal generic functions
Method, (setf socket-drain-read-buffer): Internal generic functions
Method, (setf socket-server-c): Internal generic functions
Method, (setf socket-server-closed): Internal generic functions
Method, (setf socket-server-stream): Internal generic functions
Method, (setf stream-buffer): Internal generic functions
Method, (setf streamish): Exported generic functions
Method, (setf streamish): Exported generic functions
Method, (setf streamish-c): Internal generic functions
Method, (setf streamish-closed): Exported generic functions
Method, (setf streamish-data): Internal generic functions
Method, (setf streamish-drain-read-buffer): Internal generic functions
Method, (setf tcp-server-bind-error-addr): Internal generic functions
Method, (setf tcp-server-bind-error-port): Internal generic functions
Method, (setf tcp-socket): Exported generic functions
Method, close-socket-server: Exported generic functions
Method, close-streamish: Exported generic functions
Method, close-streamish: Exported generic functions
Method, close-streamish: Exported generic functions
Method, errno-event: Internal generic functions
Method, errno-event: Internal generic functions
Method, errno-event: Internal generic functions
Method, errno-event: Internal generic functions
Method, errno-event: Internal generic functions
Method, errno-event: Internal generic functions
Method, errno-event: Internal generic functions
Method, errno-event: Internal generic functions
Method, errno-event: Internal generic functions
Method, errno-event: Internal generic functions
Method, errno-event: Internal generic functions
Method, errno-event: Internal generic functions
Method, errno-event: Internal generic functions
Method, errno-event: Internal generic functions
Method, errno-event: Internal generic functions
Method, event-base-c: Exported generic functions
Method, event-base-catch-app-errors: Exported generic functions
Method, event-base-data-registry: Exported generic functions
Method, event-base-dns-base: Exported generic functions
Method, event-base-dns-ref-count: Exported generic functions
Method, event-base-exit-functions: Exported generic functions
Method, event-base-function-registry: Exported generic functions
Method, event-base-id: Exported generic functions
Method, event-base-lock: Exported generic functions
Method, event-base-num-connections-in: Exported generic functions
Method, event-base-num-connections-out: Exported generic functions
Method, event-base-send-errors-to-eventcb: Exported generic functions
Method, event-base-signal-handlers: Exported generic functions
Method, event-c: Exported generic functions
Method, event-errcode: Exported generic functions
Method, event-errmsg: Exported generic functions
Method, event-freed: Exported generic functions
Method, event-freed-event: Internal generic functions
Method, event-freed-p: Exported generic functions
Method, fs-monitor-c: Internal generic functions
Method, handle-cleanup: Internal generic functions
Method, handle-cleanup: Internal generic functions
Method, handle-cleanup: Internal generic functions
Method, handle-cleanup: Internal generic functions
Method, handle-cleanup: Internal generic functions
Method, handle-cleanup: Internal generic functions
Method, handle-cleanup: Internal generic functions
Method, handle-cleanup: Internal generic functions
Method, handle-error: Exported generic functions
Method, idler-c: Internal generic functions
Method, idler-freed: Internal generic functions
Method, idler-freed-p: Exported generic functions
Method, make-socket-handle: Internal generic functions
Method, make-socket-handle: Internal generic functions
Method, notifier-c: Internal generic functions
Method, notifier-freed: Internal generic functions
Method, notifier-freed-notifier: Internal generic functions
Method, notifier-freed-p: Exported generic functions
Method, notifier-single-shot: Internal generic functions
Method, notifier-single-shot-p: Internal generic functions
Method, poller-c: Internal generic functions
Method, poller-freed: Internal generic functions
Method, poller-freed-p: Exported generic functions
Method, process-c: Internal generic functions
Method, process-error-output: Exported generic functions
Method, process-input: Exported generic functions
Method, process-output: Exported generic functions
Method, ref: Exported generic functions
Method, ref: Exported generic functions
Method, send-buffered-data: Internal generic functions
Method, server-socket-class: Internal generic functions
Method, server-socket-class: Internal generic functions
Method, socket: Exported generic functions
Method, socket: Exported generic functions
Method, socket-accept-error-listener: Exported generic functions
Method, socket-accept-error-server: Internal generic functions
Method, socket-buffer: Internal generic functions
Method, socket-buffering-p: Internal generic functions
Method, socket-c: Exported generic functions
Method, socket-closed: Exported generic functions
Method, socket-connected: Internal generic functions
Method, socket-data: Exported generic functions
Method, socket-direction: Internal generic functions
Method, socket-drain-read-buffer: Internal generic functions
Method, socket-server-bind: Internal generic functions
Method, socket-server-bind: Internal generic functions
Method, socket-server-c: Internal generic functions
Method, socket-server-closed: Internal generic functions
Method, socket-server-stream: Internal generic functions
Method, stream-append-bytes: Internal generic functions
Method, stream-buffer: Internal generic functions
Method, stream-output-type: Internal generic functions
Method, streamish: Exported generic functions
Method, streamish: Exported generic functions
Method, streamish: Exported generic functions
Method, streamish-c: Internal generic functions
Method, streamish-closed: Exported generic functions
Method, streamish-data: Internal generic functions
Method, streamish-drain-read-buffer: Internal generic functions
Method, streamish-write: Exported generic functions
Method, streamish-write: Exported generic functions
Method, streamish-write: Exported generic functions
Method, tcp-server-bind-error-addr: Internal generic functions
Method, tcp-server-bind-error-port: Internal generic functions
Method, tcp-socket: Exported generic functions
Method, unref: Exported generic functions
Method, unref: Exported generic functions
Method, write-pending-socket-data: Internal generic functions
mkdtemp: Exported functions

N
notifier-c: Internal generic functions
notifier-c: Internal generic functions
notifier-freed: Internal generic functions
notifier-freed: Internal generic functions
notifier-freed-notifier: Internal generic functions
notifier-freed-notifier: Internal generic functions
notifier-freed-p: Exported generic functions
notifier-freed-p: Exported generic functions
notifier-single-shot: Internal generic functions
notifier-single-shot: Internal generic functions
notifier-single-shot-p: Internal generic functions
notifier-single-shot-p: Internal generic functions

P
passthrough-error-p: Exported functions
pipe-connect: Exported functions
pipe-server: Exported functions
poll: Exported functions
poll-cb: Internal functions
poll-close-cb: Internal functions
poller-c: Internal generic functions
poller-c: Internal generic functions
poller-freed: Internal generic functions
poller-freed: Internal generic functions
poller-freed-p: Exported generic functions
poller-freed-p: Exported generic functions
process-c: Internal generic functions
process-c: Internal generic functions
process-close: Internal functions
process-close-cb: Internal functions
process-error-output: Exported generic functions
process-error-output: Exported generic functions
process-event-loop-exit-callbacks: Internal functions
process-exit-cb: Internal functions
process-input: Exported generic functions
process-input: Exported generic functions
process-kill: Exported functions
process-output: Exported generic functions
process-output: Exported generic functions

R
ref: Exported generic functions
ref: Exported generic functions
ref: Exported generic functions
remove-event: Exported functions
remove-interval: Exported functions
reverse-dns-cb: Internal functions
reverse-dns-lookup: Exported functions
run-event-cb: Exported functions

S
save-callbacks: Exported functions
send-buffered-data: Internal generic functions
send-buffered-data: Internal generic functions
server-socket-class: Internal generic functions
server-socket-class: Internal generic functions
server-socket-class: Internal generic functions
set-lisp-signal-handler: Internal functions
set-socket-nonblocking: Exported functions
set-socket-timeouts: Exported functions
signal-cb: Internal functions
signal-close-cb: Internal functions
signal-handler: Exported functions
signal-pointer: Internal functions
socket: Exported generic functions
socket: Exported generic functions
socket: Exported generic functions
socket-accept-cb: Internal functions
socket-accept-error-listener: Exported generic functions
socket-accept-error-listener: Exported generic functions
socket-accept-error-server: Internal generic functions
socket-accept-error-server: Internal generic functions
socket-buffer: Internal generic functions
socket-buffer: Internal generic functions
socket-buffering-p: Internal generic functions
socket-buffering-p: Internal generic functions
socket-c: Exported generic functions
socket-c: Exported generic functions
socket-closed: Exported generic functions
socket-closed: Exported generic functions
socket-closed-p: Exported functions
socket-connect-cb: Internal functions
socket-connected: Internal generic functions
socket-connected: Internal generic functions
socket-data: Exported generic functions
socket-data: Exported generic functions
socket-direction: Internal generic functions
socket-direction: Internal generic functions
socket-drain-read-buffer: Internal generic functions
socket-drain-read-buffer: Internal generic functions
socket-server: Internal functions
socket-server-bind: Internal generic functions
socket-server-bind: Internal generic functions
socket-server-bind: Internal generic functions
socket-server-c: Internal generic functions
socket-server-c: Internal generic functions
socket-server-closed: Internal generic functions
socket-server-closed: Internal generic functions
socket-server-stream: Internal generic functions
socket-server-stream: Internal generic functions
spawn: Exported functions
start-event-loop: Exported functions
stats: Exported functions
stream-append-bytes: Internal generic functions
stream-append-bytes: Internal generic functions
stream-buffer: Internal generic functions
stream-buffer: Internal generic functions
stream-output-type: Internal generic functions
stream-output-type: Internal generic functions
stream-socket: Exported functions
streamish: Exported generic functions
streamish: Exported generic functions
streamish: Exported generic functions
streamish: Exported generic functions
streamish-alloc-cb: Internal functions
streamish-c: Internal generic functions
streamish-c: Internal generic functions
streamish-close-cb: Internal functions
streamish-closed: Exported generic functions
streamish-closed: Exported generic functions
streamish-closed-p: Exported functions
streamish-convert-data: Internal functions
streamish-data: Internal generic functions
streamish-data: Internal generic functions
streamish-drain-read-buffer: Internal generic functions
streamish-drain-read-buffer: Internal generic functions
streamish-read-cb: Internal functions
streamish-read-start: Internal functions
streamish-shutdown-cb: Internal functions
streamish-write: Exported generic functions
streamish-write: Exported generic functions
streamish-write: Exported generic functions
streamish-write: Exported generic functions
streamish-write-cb: Internal functions

T
tcp-connect: Exported functions
tcp-connect-new: Internal functions
tcp-server: Exported functions
tcp-server-bind-error-addr: Internal generic functions
tcp-server-bind-error-addr: Internal generic functions
tcp-server-bind-error-port: Internal generic functions
tcp-server-bind-error-port: Internal generic functions
tcp-server-closed: Internal functions
tcp-server-new: Internal functions
tcp-socket: Exported generic functions
tcp-socket: Exported generic functions
timer-cb: Internal functions
timer-close-cb: Internal functions
trigger-notifier: Exported functions

U
unref: Exported generic functions
unref: Exported generic functions
unref: Exported generic functions

W
walk-cb: Internal functions
with-delay: Exported macros
with-event-loop: Exported macros
with-foreign-object*: Exported macros
with-interval: Exported macros
with-ip-to-sockaddr: Exported macros
with-lock: Exported macros
write-pending-socket-data: Internal generic functions
write-pending-socket-data: Internal generic functions
write-socket-data: Exported functions
write-to-buffer: Exported functions
write-to-uvstream: Internal functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   L   M   N   P   R   S   T   U   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *   +  
A   B   C   D   E   F   I   L   M   N   O   P   S  
Index Entry  Section

*
*buffer-size*: Exported special variables
*buffer-writes*: Exported special variables
*data-registry*: Exported special variables
*enable-threading*: Exported special variables
*evcb-err*: Internal special variables
*event-base*: Exported special variables
*event-base-next-id*: Exported special variables
*event-base-registry*: Internal special variables
*event-base-registry-lock*: Internal special variables
*function-registry*: Exported special variables
*input-buffer*: Exported special variables
*ipv4-scanner*: Exported special variables
*ipv6-scanner*: Exported special variables
*loop-close-iters*: Internal special variables
*output-buffer*: Exported special variables
*passthrough-errors*: Exported special variables
*safe-sldb-quit-restart*: Exported special variables

+
+af-inet+: Exported constants
+af-inet6+: Exported constants
+af-unix+: Exported constants
+af-unspec+: Exported constants
+sigabrt+: Exported constants
+sigalrm+: Exported constants
+sigbus+: Exported constants
+sigchld+: Exported constants
+sigcont+: Exported constants
+sigemt+: Exported constants
+sigfpe+: Exported constants
+sighup+: Exported constants
+sigill+: Exported constants
+siginfo+: Exported constants
+sigint+: Exported constants
+sigio+: Exported constants
+sigkill+: Exported constants
+sigpipe+: Exported constants
+sigprof+: Exported constants
+sigquit+: Exported constants
+sigsegv+: Exported constants
+sigstop+: Exported constants
+sigsys+: Exported constants
+sigterm+: Exported constants
+sigtrap+: Exported constants
+sigtstp+: Exported constants
+sigttin+: Exported constants
+sigttou+: Exported constants
+sigurg+: Exported constants
+sigusr1+: Exported constants
+sigusr2+: Exported constants
+sigvtalrm+: Exported constants
+sigwinch+: Exported constants
+sigxcpu+: Exported constants
+sigxfsz+: Exported constants

A
addr: Exported conditions

B
buffer: Exported classes
buffer: Exported classes
bufferingp: Exported classes

C
c: Exported classes
c: Exported classes
c: Exported classes
c: Exported classes
c: Exported classes
c: Exported classes
c: Exported classes
c: Internal classes
c: Internal classes
c: Internal classes
catch-app-errors: Exported classes
closed: Exported classes
closed: Exported classes
closed: Internal classes
code: Exported conditions
connected: Exported classes
Constant, +af-inet+: Exported constants
Constant, +af-inet6+: Exported constants
Constant, +af-unix+: Exported constants
Constant, +af-unspec+: Exported constants
Constant, +sigabrt+: Exported constants
Constant, +sigalrm+: Exported constants
Constant, +sigbus+: Exported constants
Constant, +sigchld+: Exported constants
Constant, +sigcont+: Exported constants
Constant, +sigemt+: Exported constants
Constant, +sigfpe+: Exported constants
Constant, +sighup+: Exported constants
Constant, +sigill+: Exported constants
Constant, +siginfo+: Exported constants
Constant, +sigint+: Exported constants
Constant, +sigio+: Exported constants
Constant, +sigkill+: Exported constants
Constant, +sigpipe+: Exported constants
Constant, +sigprof+: Exported constants
Constant, +sigquit+: Exported constants
Constant, +sigsegv+: Exported constants
Constant, +sigstop+: Exported constants
Constant, +sigsys+: Exported constants
Constant, +sigterm+: Exported constants
Constant, +sigtrap+: Exported constants
Constant, +sigtstp+: Exported constants
Constant, +sigttin+: Exported constants
Constant, +sigttou+: Exported constants
Constant, +sigurg+: Exported constants
Constant, +sigusr1+: Exported constants
Constant, +sigusr2+: Exported constants
Constant, +sigvtalrm+: Exported constants
Constant, +sigwinch+: Exported constants
Constant, +sigxcpu+: Exported constants
Constant, +sigxfsz+: Exported constants

D
data: Exported classes
data: Exported classes
data-registry: Exported classes
direction: Exported classes
dns-base: Exported classes
dns-ref-count: Exported classes
drain-read-buffer: Exported classes
drain-read-buffer: Exported classes

E
error-output: Internal classes
event: Exported conditions
exit-functions: Exported classes

F
freed: Exported classes
freed: Exported classes
freed: Exported classes
freed: Exported classes
function-registry: Exported classes

I
id: Exported classes
input: Internal classes

L
listener: Exported conditions
listener: Exported conditions
lock: Exported classes

M
msg: Exported conditions

N
notifier: Internal conditions
num-connections-in: Exported classes
num-connections-out: Exported classes

O
output: Internal classes

P
port: Exported conditions

S
send-errors-to-eventcb: Exported classes
server: Exported conditions
server: Exported conditions
signal-handlers: Exported classes
single-shot: Exported classes
Slot, addr: Exported conditions
Slot, buffer: Exported classes
Slot, buffer: Exported classes
Slot, bufferingp: Exported classes
Slot, c: Exported classes
Slot, c: Exported classes
Slot, c: Exported classes
Slot, c: Exported classes
Slot, c: Exported classes
Slot, c: Exported classes
Slot, c: Exported classes
Slot, c: Internal classes
Slot, c: Internal classes
Slot, c: Internal classes
Slot, catch-app-errors: Exported classes
Slot, closed: Exported classes
Slot, closed: Exported classes
Slot, closed: Internal classes
Slot, code: Exported conditions
Slot, connected: Exported classes
Slot, data: Exported classes
Slot, data: Exported classes
Slot, data-registry: Exported classes
Slot, direction: Exported classes
Slot, dns-base: Exported classes
Slot, dns-ref-count: Exported classes
Slot, drain-read-buffer: Exported classes
Slot, drain-read-buffer: Exported classes
Slot, error-output: Internal classes
Slot, event: Exported conditions
Slot, exit-functions: Exported classes
Slot, freed: Exported classes
Slot, freed: Exported classes
Slot, freed: Exported classes
Slot, freed: Exported classes
Slot, function-registry: Exported classes
Slot, id: Exported classes
Slot, input: Internal classes
Slot, listener: Exported conditions
Slot, listener: Exported conditions
Slot, lock: Exported classes
Slot, msg: Exported conditions
Slot, notifier: Internal conditions
Slot, num-connections-in: Exported classes
Slot, num-connections-out: Exported classes
Slot, output: Internal classes
Slot, port: Exported conditions
Slot, send-errors-to-eventcb: Exported classes
Slot, server: Exported conditions
Slot, server: Exported conditions
Slot, signal-handlers: Exported classes
Slot, single-shot: Exported classes
Slot, stream: Internal classes
Slot, streamish: Exported conditions
Slot, streamish: Exported conditions
Slot, streamish: Exported conditions
Slot, streamish: Exported classes
Special Variable, *buffer-size*: Exported special variables
Special Variable, *buffer-writes*: Exported special variables
Special Variable, *data-registry*: Exported special variables
Special Variable, *enable-threading*: Exported special variables
Special Variable, *evcb-err*: Internal special variables
Special Variable, *event-base*: Exported special variables
Special Variable, *event-base-next-id*: Exported special variables
Special Variable, *event-base-registry*: Internal special variables
Special Variable, *event-base-registry-lock*: Internal special variables
Special Variable, *function-registry*: Exported special variables
Special Variable, *input-buffer*: Exported special variables
Special Variable, *ipv4-scanner*: Exported special variables
Special Variable, *ipv6-scanner*: Exported special variables
Special Variable, *loop-close-iters*: Internal special variables
Special Variable, *output-buffer*: Exported special variables
Special Variable, *passthrough-errors*: Exported special variables
Special Variable, *safe-sldb-quit-restart*: Exported special variables
stream: Internal classes
streamish: Exported conditions
streamish: Exported conditions
streamish: Exported conditions
streamish: Exported classes

Jump to:   *   +  
A   B   C   D   E   F   I   L   M   N   O   P   S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   A   B   C   D   E   F   I   N   O   P   S   T  
Index Entry  Section

A
async-input-stream: Exported classes
async-io-stream: Exported classes
async-output-stream: Exported classes
async-stream: Exported classes

B
bytes-or-string: Exported types

C
callback: Exported types
cl-async: The cl-async system
cl-async: The cl-async package
cl-async-base: The cl-async-base system
cl-async-base: The cl-async-base package
cl-async-util: The cl-async-util system
cl-async-util: The cl-async-util package
Class, async-input-stream: Exported classes
Class, async-io-stream: Exported classes
Class, async-output-stream: Exported classes
Class, async-stream: Exported classes
Class, event: Exported classes
Class, event-base: Exported classes
Class, fs-monitor: Internal classes
Class, idler: Exported classes
Class, notifier: Exported classes
Class, pipe: Internal classes
Class, pipe-mixin: Internal classes
Class, pipe-server: Exported classes
Class, poller: Exported classes
Class, process: Internal classes
Class, socket: Exported classes
Class, socket-server: Internal classes
Class, streamish: Exported classes
Class, tcp-mixin: Internal classes
Class, tcp-server: Exported classes
Class, tcp-socket: Exported classes
Condition, dns-error: Exported conditions
Condition, event-error: Exported conditions
Condition, event-freed: Exported conditions
Condition, event-info: Exported conditions
Condition, filesystem-eacces: Exported conditions
Condition, filesystem-enoent: Exported conditions
Condition, filesystem-eperm: Exported conditions
Condition, filesystem-error: Exported conditions
Condition, notifier-freed: Internal conditions
Condition, socket-aborted: Exported conditions
Condition, socket-accept-error: Exported conditions
Condition, socket-address-in-use: Exported conditions
Condition, socket-closed: Exported conditions
Condition, socket-eof: Exported conditions
Condition, socket-error: Exported conditions
Condition, socket-info: Exported conditions
Condition, socket-refused: Exported conditions
Condition, socket-reset: Exported conditions
Condition, socket-timeout: Exported conditions
Condition, streamish-broken-pipe: Exported conditions
Condition, streamish-canceled: Exported conditions
Condition, streamish-closed: Exported conditions
Condition, streamish-eof: Exported conditions
Condition, streamish-error: Exported conditions
Condition, streamish-info: Exported conditions
Condition, tcp-accept-error: Exported conditions
Condition, tcp-eof: Exported conditions
Condition, tcp-error: Exported conditions
Condition, tcp-info: Exported conditions
Condition, tcp-refused: Exported conditions
Condition, tcp-reset: Exported conditions
Condition, tcp-server-bind-error: Exported conditions
Condition, tcp-timeout: Exported conditions

D
dns-error: Exported conditions

E
event: Exported classes
event-base: Exported classes
event-error: Exported conditions
event-freed: Exported conditions
event-info: Exported conditions

F
filesystem-eacces: Exported conditions
filesystem-enoent: Exported conditions
filesystem-eperm: Exported conditions
filesystem-error: Exported conditions
fs-monitor: Internal classes

I
idler: Exported classes

N
notifier: Exported classes
notifier-freed: Internal conditions

O
octet: Exported types
octet-vector: Exported types

P
Package, cl-async: The cl-async package
Package, cl-async-base: The cl-async-base package
Package, cl-async-util: The cl-async-util package
pipe: Internal classes
pipe-mixin: Internal classes
pipe-server: Exported classes
poller: Exported classes
process: Internal classes

S
socket: Exported classes
socket-aborted: Exported conditions
socket-accept-error: Exported conditions
socket-address-in-use: Exported conditions
socket-closed: Exported conditions
socket-eof: Exported conditions
socket-error: Exported conditions
socket-info: Exported conditions
socket-refused: Exported conditions
socket-reset: Exported conditions
socket-server: Internal classes
socket-timeout: Exported conditions
streamish: Exported classes
streamish-broken-pipe: Exported conditions
streamish-canceled: Exported conditions
streamish-closed: Exported conditions
streamish-eof: Exported conditions
streamish-error: Exported conditions
streamish-info: Exported conditions
System, cl-async: The cl-async system
System, cl-async-base: The cl-async-base system
System, cl-async-util: The cl-async-util system

T
tcp-accept-error: Exported conditions
tcp-eof: Exported conditions
tcp-error: Exported conditions
tcp-info: Exported conditions
tcp-mixin: Internal classes
tcp-refused: Exported conditions
tcp-reset: Exported conditions
tcp-server: Exported classes
tcp-server-bind-error: Exported conditions
tcp-socket: Exported classes
tcp-timeout: Exported conditions
Type, bytes-or-string: Exported types
Type, callback: Exported types
Type, octet: Exported types
Type, octet-vector: Exported types

Jump to:   A   B   C   D   E   F   I   N   O   P   S   T