All Manuals > LispWorks User Guide and Reference Manual > 32 The COMM Package

NextPrevUpTopContentsIndex

async-io-state

Structure Type
Summary

An object that can be used to perform asynchronous I/O.

Package

comm

Slots

object

The object of the async-io-state (argument to create-async-io-state).

read-status, write-status

nil for a working socket, :eof for end of file, :timeout, other values mean error.

collection

The wait-state-collection.

user-info

Any Lisp object. LispWorks itself does not use this value for any purpose.

read-timeout, write-timeout

nil, or a positive real representing a time in seconds.

max-read

An integer specifying the maximum number of bytes to try to read between calls to the callback in async-io-state-read-with-checking.

old-length

An integer specifying the length of the old part in the buffer, that is the part that was seen in the previous invocation of the callback in async-io-state-read-with-checking.

name

Any Lisp object. This names the state for debugging purposes.

Readers

async-io-state-object
async-io-state-read-status
async-io-state-write-status
async-io-state-collection

Accessors

async-io-state-user-info
async-io-state-read-timeout
async-io-state-write-timeout
async-io-state-max-read
async-io-state-old-length
async-io-state-name

Description

The structure type async-io-state is an object that can be used to perform asynchronous I/O.

See also

The Async-I/O-State API


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex