The weft Reference Manual
Table of Contents
The weft Reference Manual
This is the weft Reference Manual,
generated automatically by Declt version 3.0 "Montgomery Scott"
on Tue Dec 22 15:29:15 2020 GMT+0.
1 Introduction
* Weft, a simple server framework
Weft is a simple network server framework, which handles the details
of listening for connections and handing client connections off to
workers. Work management is done independently of the networking
stuff, and work managers can be created to use whatever strategy is
appropriate for a server.
Unlike [[http://www.thangorodrim.de/software/lisp-network-server/index.html][lisp-network-server]], Weft does not aim to be an
inetd-alike. This simplifies some of the code and allows services to
use different work management strategies. At the moment,
lisp-network-service's caveats about re-defining handlers still hold.
* Class Server
The =server= class is the top-level object for the library, and
holds all the pieces necessary to run the server. When created, a
client must supply or set the =:address=, =:port=, and =:handler=
slots.
Optionally, clients may set the =:manager= slot, which is the task
manager for the server. Clients may also set the =:max-connections=
slot, which will cause the server to refuse new connections when
that many concurrent connections are open. The same limit can be
applied to the threaded task manager with the =:limit= option. If a
manager is supplied with =:manager=, the manager's limit will take
precededence.
** Accessors
*** server-task-manager
Returns or sets the task manager for the server.
*** server-socket
Returns or sets the =usocket:stream-server-usocket= the server is
listening on. This will be NIL if the server isn't currently
running, or an open socket if it's been started.
*** server-address
Returns or sets the address the server will listen on (the server
must be restarted in order for any change to take affect). Can be
any value acceptable to =usocket:socket-listen=.
*** server-port
Returns or sets the port the server will listen on (a restart is
required for changes to take effect). Can be any value acceptable
to =usocket:socket-listen=.
*** server-connection-handler
Returns or sets the connection-handler function for the
server. This function will be called by a wrapper that ensures the
client socket is closed when the handler exits. The handler will
be called with a =usocket:stream-usocket= object and any =:args=
arguments set when the server object was created.
** Operations
*** run
The =run= function is used to start the server. =run='s exact
behavior will depend on the task manager used: with the default
threaded task manager, =run= returns immediately, but with a
single-threaded manager it would almost certainly block.
*** stop
=stop= shuts the server down, including any open client
connections. With some task managers client connection shutdown may
be cooperative, so this function may be blocked for some
time. =stop= returns once the server has been completely shut down.
*** stop-accepting
=stop-accepting= is like =stop=, but only shuts down the listening
socket. Client connections are allowed to continue until they are
closed by the clients. =stop-accepting= returns as soon as the
listening socket has been shut down.
* Default Manager
Weft provides a thread-per-connection implementation of the task
manager (=threaded-task-manager=), which is used by default. Tasks
being run on this manager obey the following protocol:
** *shutdown*
The special variable =*shutdown*= will be set to =t= when the
task should be shut down. The task must make it's own arrangements
to check =*shutdown*= periodically and shut down when
appropriate.
** thread-shutdown
If a task wants to signal that it should be shut down, it may set
=*shutdown*= to =t= and let it's own handlers take care of it, or
signal a condition of type =thread-shutdown=. The condition avoids
any delay in checking =*shutdown*=, and will be handled by the task
manager immediately.
* Task Manager Protocol
Weft can make use of any object that implements the task manager to
handle client connections. The task manager protocol consists of the
following functions:
** add-task
*** Syntax
: (add-task manager thunk)
*** Description
=add-task= takes a thunk to be run as a task and adds it to the
given manager, returning a unique id for the task. =add-task= need
not start a task immediately, but it should at least be queued for
later execution.
If a manager has a limit on the maximum number of concurrent tasks
that can be running, =add-task= should signal an error of type
=manager-full-error=.
** remove-task
*** Syntax
: (remove-task manager id)
*** Description
=remove-task= takes a unique id as returned by =add-task=, and
removes the corresponding task from the manager, if
present. =remove-task= returns =t= if the task was found and
removed, =nil= otherwise.
** stop-task
*** Syntax
: (stop-task manager id)
*** Description
=stop-task= takes a unique task id and shuts that task down, if
present. =stop-task= returns once the task has been stopped, which
may be some time later if task shutdown is cooperative.
** all-tasks
*** Syntax
: (all-tasks manager)
*** Description
Returns a list of ids for all tasks currently managed by the
manager.
2 Systems
The main system appears first, followed by any subsystem dependency.
2.1 weft
- Author
Matthew Stickney <mtstickney@gmail.com>
- License
MIT
- Description
A TCP server framework, like Hunchentoot for TCP.
- Dependencies
- usocket
- bordeaux-threads
- log4cl
- trivial-timeout
- Source
weft.asd (file)
- Components
-
3 Files
Files are sorted by type and then listed depth-first from the systems
components trees.
3.1 Lisp
3.1.1 weft.asd
- Location
weft.asd
- Systems
weft (system)
3.1.2 weft/package.lisp
- Parent
weft (system)
- Location
package.lisp
- Packages
weft
3.1.3 weft/weft.lisp
- Dependency
package.lisp (file)
- Parent
weft (system)
- Location
weft.lisp
- Exported Definitions
-
- Internal Definitions
-
4 Packages
Packages are listed by definition order.
4.1 weft
- Source
package.lisp (file)
- Use List
common-lisp
- Exported Definitions
-
- Internal Definitions
-
5 Definitions
Definitions are sorted by export status, category, package, and then by
lexicographic order.
5.1 Exported definitions
5.1.1 Symbol macros
- Symbol Macro: *shutdown*
-
- Package
weft
- Source
weft.lisp (file)
- Expansion
(weft::ref-val weft::*shutdown-slot*)
5.1.2 Generic functions
- Generic Function: add-task MANAGER THUNK
-
Add a task to execute THUNK to MANAGER. Returns a
unique ID for the task. If the manager cannot accept a new task,
signals an error of type MANAGER-FULL-ERROR.
- Package
weft
- Source
weft.lisp (file)
- Methods
- Method: add-task (MANAGER threaded-task-manager) THUNK
-
- Generic Function: all-tasks MANAGER
-
Return a list of the ids of all tasks in MANAGER.
- Package
weft
- Source
weft.lisp (file)
- Methods
- Method: all-tasks (MANAGER threaded-task-manager)
-
- Generic Function: find-task MANAGER TASK-ID
-
Return the entry for TASK-ID from MANAGER.
- Package
weft
- Source
weft.lisp (file)
- Methods
- Method: find-task (MANAGER threaded-task-manager) (TASK symbol)
-
- Generic Function: remove-task MANAGER TASK
-
Remove TASK from the task-manager MANAGER.
- Package
weft
- Source
weft.lisp (file)
- Methods
- Method: remove-task (MANAGER threaded-task-manager) (TASK symbol)
-
- Generic Function: run SERVER &key BACKLOG ELEMENT-TYPE
-
- Package
weft
- Source
weft.lisp (file)
- Methods
- Method: run (SERVER server) &key BACKLOG ELEMENT-TYPE
-
- Generic Function: server-address OBJECT
-
- Generic Function: (setf server-address) NEW-VALUE OBJECT
-
- Package
weft
- Methods
- Method: server-address (SERVER server)
-
automatically generated reader method
- Source
weft.lisp (file)
- Method: (setf server-address) NEW-VALUE (SERVER server)
-
automatically generated writer method
- Source
weft.lisp (file)
- Generic Function: server-connection-handler OBJECT
-
- Generic Function: (setf server-connection-handler) NEW-VALUE OBJECT
-
- Package
weft
- Methods
- Method: server-connection-handler (SERVER server)
-
automatically generated reader method
- Source
weft.lisp (file)
- Method: (setf server-connection-handler) NEW-VALUE (SERVER server)
-
automatically generated writer method
- Source
weft.lisp (file)
- Generic Function: server-port OBJECT
-
- Generic Function: (setf server-port) NEW-VALUE OBJECT
-
- Package
weft
- Methods
- Method: server-port (SERVER server)
-
automatically generated reader method
- Source
weft.lisp (file)
- Method: (setf server-port) NEW-VALUE (SERVER server)
-
automatically generated writer method
- Source
weft.lisp (file)
- Generic Function: server-socket OBJECT
-
- Generic Function: (setf server-socket) NEW-VALUE OBJECT
-
- Package
weft
- Methods
- Method: server-socket (SERVER server)
-
automatically generated reader method
- Source
weft.lisp (file)
- Method: (setf server-socket) NEW-VALUE (SERVER server)
-
automatically generated writer method
- Source
weft.lisp (file)
- Generic Function: server-task-manager OBJECT
-
- Generic Function: (setf server-task-manager) NEW-VALUE OBJECT
-
- Package
weft
- Methods
- Method: server-task-manager (SERVER server)
-
automatically generated reader method
- Source
weft.lisp (file)
- Method: (setf server-task-manager) NEW-VALUE (SERVER server)
-
automatically generated writer method
- Source
weft.lisp (file)
- Generic Function: slots-available-p MANAGER
-
Return T if there is capacity to add a new task to MANAGER, NIL otherwise.
- Package
weft
- Source
weft.lisp (file)
- Methods
- Method: slots-available-p (MANAGER threaded-task-manager)
-
- Generic Function: stop SERVER
-
- Package
weft
- Source
weft.lisp (file)
- Methods
- Method: stop (SERVER server)
-
- Generic Function: stop-accepting SERVER
-
- Package
weft
- Source
weft.lisp (file)
- Methods
- Method: stop-accepting (SERVER server)
-
- Generic Function: stop-task MANAGER TASK
-
Perform shutdown of the TASK in MANAGER.
- Package
weft
- Source
weft.lisp (file)
- Methods
- Method: stop-task (MANAGER threaded-task-manager) (TASK symbol)
-
5.1.3 Conditions
- Condition: manager-full-error ()
-
- Package
weft
- Source
weft.lisp (file)
- Direct superclasses
error (condition)
- Direct methods
-
- Direct slots
- Slot: manager
-
- Initargs
:manager
- Readers
manager (generic function)
- Writers
(setf manager) (generic function)
- Condition: thread-shutdown ()
-
- Package
weft
- Source
weft.lisp (file)
- Direct superclasses
condition (condition)
5.1.4 Classes
- Class: server ()
-
- Package
weft
- Source
weft.lisp (file)
- Direct superclasses
standard-object (class)
- Direct methods
-
- Direct slots
- Slot: task-manager
-
- Initargs
:manager
- Readers
server-task-manager (generic function)
- Writers
(setf server-task-manager) (generic function)
- Slot: socket
-
- Readers
server-socket (generic function)
- Writers
(setf server-socket) (generic function)
- Slot: address
-
- Initargs
:address
- Readers
server-address (generic function)
- Writers
(setf server-address) (generic function)
- Slot: port
-
- Initargs
:port
- Readers
server-port (generic function)
- Writers
(setf server-port) (generic function)
- Slot: max-connections
-
- Initargs
:max-connections
- Readers
max-connections (generic function)
- Slot: acceptor-task
-
- Readers
server-acceptor-task (generic function)
- Writers
(setf server-acceptor-task) (generic function)
- Slot: connection-handler
-
- Initargs
:handler
- Readers
server-connection-handler (generic function)
- Writers
(setf server-connection-handler) (generic function)
- Slot: handler-args
-
- Initargs
:args
- Readers
server-handler-args (generic function)
- Writers
(setf server-handler-args) (generic function)
- Direct Default Initargs
Initarg | Value |
:args | (quote nil) |
- Class: task-manager ()
-
- Package
weft
- Source
weft.lisp (file)
- Direct superclasses
standard-object (class)
- Direct subclasses
threaded-task-manager (class)
- Direct methods
-
- Direct slots
- Slot: limit
-
- Initargs
:limit
- Readers
task-limit (generic function)
- Writers
(setf task-limit) (generic function)
- Slot: count
-
- Initform
0
- Readers
task-count (generic function)
- Writers
(setf task-count) (generic function)
- Direct Default Initargs
-
- Class: threaded-task-manager ()
-
Class implementing a thread-per-connection task manager.
- Package
weft
- Source
weft.lisp (file)
- Direct superclasses
task-manager (class)
- Direct methods
-
- Direct slots
- Slot: tasks
-
- Initform
(quote nil)
- Readers
tasks (generic function)
- Writers
(setf tasks) (generic function)
- Slot: task-lock
-
- Initform
(bordeaux-threads:make-recursive-lock)
- Readers
task-lock (generic function)
- Slot: shutdown-vars
-
- Initform
(make-hash-table :test (function equal))
- Readers
shutdown-vars (generic function)
- Writers
(setf shutdown-vars) (generic function)
5.2 Internal definitions
5.2.1 Special variables
- Special Variable: *id-counter*
-
- Package
weft
- Source
weft.lisp (file)
5.2.2 Functions
- Function: %ref-lock INSTANCE
-
- Function: (setf %ref-lock) VALUE INSTANCE
-
- Package
weft
- Source
weft.lisp (file)
- Function: %ref-val INSTANCE
-
- Function: (setf %ref-val) VALUE INSTANCE
-
- Package
weft
- Source
weft.lisp (file)
- Function: acceptor-func SERVER
-
- Package
weft
- Source
weft.lisp (file)
- Function: connection-handler-func SERVER SOCK HANDLER
-
Return a wrapper func for HANDLER that will ensure SOCK is closed at exit.
- Package
weft
- Source
weft.lisp (file)
- Function: copy-ref INSTANCE
-
- Package
weft
- Source
weft.lisp (file)
- Function: gen-id ()
-
- Package
weft
- Source
weft.lisp (file)
- Function: make-ref &key (VAL VAL) (LOCK LOCK)
-
- Package
weft
- Source
weft.lisp (file)
- Function: prompt-for TYPE FORMAT-STRING &rest FORMAT-ARGS
-
Prompt for a value of type TYPE, using FORMAT-STRING and FORMAT-ARGS to produce the prompt. Signals an error if the value read is not of type TYPE.
- Package
weft
- Source
weft.lisp (file)
- Function: ref-p OBJECT
-
- Package
weft
- Source
weft.lisp (file)
- Function: ref-val REF
-
- Function: (setf ref-val) VAL REF
-
- Package
weft
- Source
weft.lisp (file)
- Function: size-of OBJ
-
- Package
weft
- Source
weft.lisp (file)
5.2.3 Generic functions
- Generic Function: manager CONDITION
-
- Generic Function: (setf manager) NEW-VALUE CONDITION
-
- Package
weft
- Methods
- Method: manager (CONDITION manager-full-error)
-
- Method: (setf manager) NEW-VALUE (CONDITION manager-full-error)
-
- Source
weft.lisp (file)
- Generic Function: max-connections OBJECT
-
- Package
weft
- Methods
- Method: max-connections (SERVER server)
-
automatically generated reader method
- Source
weft.lisp (file)
- Generic Function: server-acceptor-task OBJECT
-
- Generic Function: (setf server-acceptor-task) NEW-VALUE OBJECT
-
- Package
weft
- Methods
- Method: server-acceptor-task (SERVER server)
-
automatically generated reader method
- Source
weft.lisp (file)
- Method: (setf server-acceptor-task) NEW-VALUE (SERVER server)
-
automatically generated writer method
- Source
weft.lisp (file)
- Generic Function: server-handler-args OBJECT
-
- Generic Function: (setf server-handler-args) NEW-VALUE OBJECT
-
- Package
weft
- Methods
- Method: server-handler-args (SERVER server)
-
automatically generated reader method
- Source
weft.lisp (file)
- Method: (setf server-handler-args) NEW-VALUE (SERVER server)
-
automatically generated writer method
- Source
weft.lisp (file)
- Generic Function: shutdown-vars OBJECT
-
- Generic Function: (setf shutdown-vars) NEW-VALUE OBJECT
-
- Package
weft
- Methods
- Method: shutdown-vars (THREADED-TASK-MANAGER threaded-task-manager)
-
automatically generated reader method
- Source
weft.lisp (file)
- Method: (setf shutdown-vars) NEW-VALUE (THREADED-TASK-MANAGER threaded-task-manager)
-
automatically generated writer method
- Source
weft.lisp (file)
- Generic Function: task-count OBJECT
-
- Generic Function: (setf task-count) NEW-VALUE OBJECT
-
- Package
weft
- Methods
- Method: task-count (TASK-MANAGER task-manager)
-
automatically generated reader method
- Source
weft.lisp (file)
- Method: (setf task-count) NEW-VALUE (TASK-MANAGER task-manager)
-
automatically generated writer method
- Source
weft.lisp (file)
- Generic Function: task-id CONDITION
-
- Generic Function: (setf task-id) NEW-VALUE CONDITION
-
- Package
weft
- Methods
- Method: task-id (CONDITION task-exists-error)
-
- Method: (setf task-id) NEW-VALUE (CONDITION task-exists-error)
-
- Source
weft.lisp (file)
- Generic Function: task-limit OBJECT
-
- Generic Function: (setf task-limit) NEW-VALUE OBJECT
-
- Package
weft
- Methods
- Method: task-limit (TASK-MANAGER task-manager)
-
automatically generated reader method
- Source
weft.lisp (file)
- Method: (setf task-limit) NEW-VALUE (TASK-MANAGER task-manager)
-
automatically generated writer method
- Source
weft.lisp (file)
- Generic Function: task-lock OBJECT
-
- Package
weft
- Methods
- Method: task-lock (THREADED-TASK-MANAGER threaded-task-manager)
-
automatically generated reader method
- Source
weft.lisp (file)
- Generic Function: task-shutdown-p MANAGER TASK-ID
-
Return a boolean indicating whether the task identified by TASK-ID in MANAGER should shut down.
- Package
weft
- Source
weft.lisp (file)
- Writer
(setf task-shutdown-p) (generic function)
- Methods
- Method: task-shutdown-p (MANAGER threaded-task-manager) (TASK-ID symbol)
-
- Generic Function: (setf task-shutdown-p) NEW-VAL MANAGER TASK-ID
-
Set the shutdown variable for the task identified by TASK-ID in MANAGER to NEW-VAL.
- Package
weft
- Source
weft.lisp (file)
- Reader
task-shutdown-p (generic function)
- Methods
- Method: (setf task-shutdown-p) NEW-VAL (MANAGER threaded-task-manager) (TASK-ID symbol)
-
- Generic Function: tasks OBJECT
-
- Generic Function: (setf tasks) NEW-VALUE OBJECT
-
- Package
weft
- Methods
- Method: tasks (THREADED-TASK-MANAGER threaded-task-manager)
-
automatically generated reader method
- Source
weft.lisp (file)
- Method: (setf tasks) NEW-VALUE (THREADED-TASK-MANAGER threaded-task-manager)
-
automatically generated writer method
- Source
weft.lisp (file)
5.2.4 Conditions
- Condition: task-exists-error ()
-
Error thrown when a task with a particular ID already exists.
- Package
weft
- Source
weft.lisp (file)
- Direct superclasses
condition (condition)
- Direct methods
-
- Direct slots
- Slot: id
-
- Initargs
:id
- Readers
task-id (generic function)
- Writers
(setf task-id) (generic function)
5.2.5 Structures
- Structure: ref ()
-
- Package
weft
- Source
weft.lisp (file)
- Direct superclasses
structure-object (structure)
- Direct slots
- Slot: val
-
- Readers
%ref-val (function)
- Writers
(setf %ref-val) (function)
- Slot: lock
-
- Initform
(bordeaux-threads:make-lock)
- Readers
%ref-lock (function)
- Writers
(setf %ref-lock) (function)
Appendix A Indexes
A.1 Concepts
A.2 Functions
| Index Entry | | Section |
|
% | | |
| %ref-lock : | | Internal functions |
| %ref-val : | | Internal functions |
|
( | | |
| (setf %ref-lock) : | | Internal functions |
| (setf %ref-val) : | | Internal functions |
| (setf manager) : | | Internal generic functions |
| (setf manager) : | | Internal generic functions |
| (setf ref-val) : | | Internal functions |
| (setf server-acceptor-task) : | | Internal generic functions |
| (setf server-acceptor-task) : | | Internal generic functions |
| (setf server-address) : | | Exported generic functions |
| (setf server-address) : | | Exported generic functions |
| (setf server-connection-handler) : | | Exported generic functions |
| (setf server-connection-handler) : | | Exported generic functions |
| (setf server-handler-args) : | | Internal generic functions |
| (setf server-handler-args) : | | Internal generic functions |
| (setf server-port) : | | Exported generic functions |
| (setf server-port) : | | Exported generic functions |
| (setf server-socket) : | | Exported generic functions |
| (setf server-socket) : | | Exported generic functions |
| (setf server-task-manager) : | | Exported generic functions |
| (setf server-task-manager) : | | Exported generic functions |
| (setf shutdown-vars) : | | Internal generic functions |
| (setf shutdown-vars) : | | Internal generic functions |
| (setf task-count) : | | Internal generic functions |
| (setf task-count) : | | Internal generic functions |
| (setf task-id) : | | Internal generic functions |
| (setf task-id) : | | Internal generic functions |
| (setf task-limit) : | | Internal generic functions |
| (setf task-limit) : | | Internal generic functions |
| (setf task-shutdown-p) : | | Internal generic functions |
| (setf task-shutdown-p) : | | Internal generic functions |
| (setf tasks) : | | Internal generic functions |
| (setf tasks) : | | Internal generic functions |
|
A | | |
| acceptor-func : | | Internal functions |
| add-task : | | Exported generic functions |
| add-task : | | Exported generic functions |
| all-tasks : | | Exported generic functions |
| all-tasks : | | Exported generic functions |
|
C | | |
| connection-handler-func : | | Internal functions |
| copy-ref : | | Internal functions |
|
F | | |
| find-task : | | Exported generic functions |
| find-task : | | Exported generic functions |
| Function, %ref-lock : | | Internal functions |
| Function, %ref-val : | | Internal functions |
| Function, (setf %ref-lock) : | | Internal functions |
| Function, (setf %ref-val) : | | Internal functions |
| Function, (setf ref-val) : | | Internal functions |
| Function, acceptor-func : | | Internal functions |
| Function, connection-handler-func : | | Internal functions |
| Function, copy-ref : | | Internal functions |
| Function, gen-id : | | Internal functions |
| Function, make-ref : | | Internal functions |
| Function, prompt-for : | | Internal functions |
| Function, ref-p : | | Internal functions |
| Function, ref-val : | | Internal functions |
| Function, size-of : | | Internal functions |
|
G | | |
| gen-id : | | Internal functions |
| Generic Function, (setf manager) : | | Internal generic functions |
| Generic Function, (setf server-acceptor-task) : | | Internal generic functions |
| Generic Function, (setf server-address) : | | Exported generic functions |
| Generic Function, (setf server-connection-handler) : | | Exported generic functions |
| Generic Function, (setf server-handler-args) : | | Internal generic functions |
| Generic Function, (setf server-port) : | | Exported generic functions |
| Generic Function, (setf server-socket) : | | Exported generic functions |
| Generic Function, (setf server-task-manager) : | | Exported generic functions |
| Generic Function, (setf shutdown-vars) : | | Internal generic functions |
| Generic Function, (setf task-count) : | | Internal generic functions |
| Generic Function, (setf task-id) : | | Internal generic functions |
| Generic Function, (setf task-limit) : | | Internal generic functions |
| Generic Function, (setf task-shutdown-p) : | | Internal generic functions |
| Generic Function, (setf tasks) : | | Internal generic functions |
| Generic Function, add-task : | | Exported generic functions |
| Generic Function, all-tasks : | | Exported generic functions |
| Generic Function, find-task : | | Exported generic functions |
| Generic Function, manager : | | Internal generic functions |
| Generic Function, max-connections : | | Internal generic functions |
| Generic Function, remove-task : | | Exported generic functions |
| Generic Function, run : | | Exported generic functions |
| Generic Function, server-acceptor-task : | | Internal generic functions |
| Generic Function, server-address : | | Exported generic functions |
| Generic Function, server-connection-handler : | | Exported generic functions |
| Generic Function, server-handler-args : | | Internal generic functions |
| Generic Function, server-port : | | Exported generic functions |
| Generic Function, server-socket : | | Exported generic functions |
| Generic Function, server-task-manager : | | Exported generic functions |
| Generic Function, shutdown-vars : | | Internal generic functions |
| Generic Function, slots-available-p : | | Exported generic functions |
| Generic Function, stop : | | Exported generic functions |
| Generic Function, stop-accepting : | | Exported generic functions |
| Generic Function, stop-task : | | Exported generic functions |
| Generic Function, task-count : | | Internal generic functions |
| Generic Function, task-id : | | Internal generic functions |
| Generic Function, task-limit : | | Internal generic functions |
| Generic Function, task-lock : | | Internal generic functions |
| Generic Function, task-shutdown-p : | | Internal generic functions |
| Generic Function, tasks : | | Internal generic functions |
|
M | | |
| make-ref : | | Internal functions |
| manager : | | Internal generic functions |
| manager : | | Internal generic functions |
| max-connections : | | Internal generic functions |
| max-connections : | | Internal generic functions |
| Method, (setf manager) : | | Internal generic functions |
| Method, (setf server-acceptor-task) : | | Internal generic functions |
| Method, (setf server-address) : | | Exported generic functions |
| Method, (setf server-connection-handler) : | | Exported generic functions |
| Method, (setf server-handler-args) : | | Internal generic functions |
| Method, (setf server-port) : | | Exported generic functions |
| Method, (setf server-socket) : | | Exported generic functions |
| Method, (setf server-task-manager) : | | Exported generic functions |
| Method, (setf shutdown-vars) : | | Internal generic functions |
| Method, (setf task-count) : | | Internal generic functions |
| Method, (setf task-id) : | | Internal generic functions |
| Method, (setf task-limit) : | | Internal generic functions |
| Method, (setf task-shutdown-p) : | | Internal generic functions |
| Method, (setf tasks) : | | Internal generic functions |
| Method, add-task : | | Exported generic functions |
| Method, all-tasks : | | Exported generic functions |
| Method, find-task : | | Exported generic functions |
| Method, manager : | | Internal generic functions |
| Method, max-connections : | | Internal generic functions |
| Method, remove-task : | | Exported generic functions |
| Method, run : | | Exported generic functions |
| Method, server-acceptor-task : | | Internal generic functions |
| Method, server-address : | | Exported generic functions |
| Method, server-connection-handler : | | Exported generic functions |
| Method, server-handler-args : | | Internal generic functions |
| Method, server-port : | | Exported generic functions |
| Method, server-socket : | | Exported generic functions |
| Method, server-task-manager : | | Exported generic functions |
| Method, shutdown-vars : | | Internal generic functions |
| Method, slots-available-p : | | Exported generic functions |
| Method, stop : | | Exported generic functions |
| Method, stop-accepting : | | Exported generic functions |
| Method, stop-task : | | Exported generic functions |
| Method, task-count : | | Internal generic functions |
| Method, task-id : | | Internal generic functions |
| Method, task-limit : | | Internal generic functions |
| Method, task-lock : | | Internal generic functions |
| Method, task-shutdown-p : | | Internal generic functions |
| Method, tasks : | | Internal generic functions |
|
P | | |
| prompt-for : | | Internal functions |
|
R | | |
| ref-p : | | Internal functions |
| ref-val : | | Internal functions |
| remove-task : | | Exported generic functions |
| remove-task : | | Exported generic functions |
| run : | | Exported generic functions |
| run : | | Exported generic functions |
|
S | | |
| server-acceptor-task : | | Internal generic functions |
| server-acceptor-task : | | Internal generic functions |
| server-address : | | Exported generic functions |
| server-address : | | Exported generic functions |
| server-connection-handler : | | Exported generic functions |
| server-connection-handler : | | Exported generic functions |
| server-handler-args : | | Internal generic functions |
| server-handler-args : | | Internal generic functions |
| server-port : | | Exported generic functions |
| server-port : | | Exported generic functions |
| server-socket : | | Exported generic functions |
| server-socket : | | Exported generic functions |
| server-task-manager : | | Exported generic functions |
| server-task-manager : | | Exported generic functions |
| shutdown-vars : | | Internal generic functions |
| shutdown-vars : | | Internal generic functions |
| size-of : | | Internal functions |
| slots-available-p : | | Exported generic functions |
| slots-available-p : | | Exported generic functions |
| stop : | | Exported generic functions |
| stop : | | Exported generic functions |
| stop-accepting : | | Exported generic functions |
| stop-accepting : | | Exported generic functions |
| stop-task : | | Exported generic functions |
| stop-task : | | Exported generic functions |
|
T | | |
| task-count : | | Internal generic functions |
| task-count : | | Internal generic functions |
| task-id : | | Internal generic functions |
| task-id : | | Internal generic functions |
| task-limit : | | Internal generic functions |
| task-limit : | | Internal generic functions |
| task-lock : | | Internal generic functions |
| task-lock : | | Internal generic functions |
| task-shutdown-p : | | Internal generic functions |
| task-shutdown-p : | | Internal generic functions |
| tasks : | | Internal generic functions |
| tasks : | | Internal generic functions |
|
A.3 Variables
| Index Entry | | Section |
|
* | | |
| *id-counter* : | | Internal special variables |
| *shutdown* : | | Exported symbol macros |
|
A | | |
| acceptor-task : | | Exported classes |
| address : | | Exported classes |
|
C | | |
| connection-handler : | | Exported classes |
| count : | | Exported classes |
|
H | | |
| handler-args : | | Exported classes |
|
I | | |
| id : | | Internal conditions |
|
L | | |
| limit : | | Exported classes |
| lock : | | Internal structures |
|
M | | |
| manager : | | Exported conditions |
| max-connections : | | Exported classes |
|
P | | |
| port : | | Exported classes |
|
S | | |
| shutdown-vars : | | Exported classes |
| Slot, acceptor-task : | | Exported classes |
| Slot, address : | | Exported classes |
| Slot, connection-handler : | | Exported classes |
| Slot, count : | | Exported classes |
| Slot, handler-args : | | Exported classes |
| Slot, id : | | Internal conditions |
| Slot, limit : | | Exported classes |
| Slot, lock : | | Internal structures |
| Slot, manager : | | Exported conditions |
| Slot, max-connections : | | Exported classes |
| Slot, port : | | Exported classes |
| Slot, shutdown-vars : | | Exported classes |
| Slot, socket : | | Exported classes |
| Slot, task-lock : | | Exported classes |
| Slot, task-manager : | | Exported classes |
| Slot, tasks : | | Exported classes |
| Slot, val : | | Internal structures |
| socket : | | Exported classes |
| Special Variable, *id-counter* : | | Internal special variables |
| Symbol Macro, *shutdown* : | | Exported symbol macros |
|
T | | |
| task-lock : | | Exported classes |
| task-manager : | | Exported classes |
| tasks : | | Exported classes |
|
V | | |
| val : | | Internal structures |
|
A.4 Data types