Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the basic-binary-ipc Reference Manual, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 10:47:44 2018 GMT+0.
• Introduction: | What basic-binary-ipc is all about | |
• Systems: | The systems documentation | |
• Modules: | The modules documentation | |
• Files: | The files documentation | |
• Packages: | The packages documentation | |
• Definitions: | The symbols documentation | |
• Indexes: | Concepts, functions, variables and data types |
The basic binary IPC system provides an interface for performing inter process communication using IPv4 or local streams. The interface follows a non-blocking pattern which allows applications to communicate either synchronously or asynchronously.
The interface has been implemented for the following platforms:
The complete documentation to this system can be found in
doc/basic-binary-ipc.html
or
online.
The only requirement for this system is CFFI
.
The file examples/echo-example.lisp
contains an example echo server
and echo client. The code for the server and client is shown below.
The echo server can be started using
(load "examples/echo-example.lisp")
(echo-example:run-server 12345)
The echo client can be executed using
(load "examples/echo-example.lisp")
(echo-example:send-to-server "Hello World" basic-binary-ipc:+ipv4-loopback+ 12345)
(defun run-server (port &optional (host-address +ipv4-loopback+))
(check-type port (unsigned-byte 16))
(check-type host-address string)
(with-socket (server (make-ipv4-tcp-server host-address port :reuse-address t))
(loop
:with buffer-size := 10000
:with buffer := (make-array buffer-size :element-type '(unsigned-byte 8))
:for result := (poll-socket server 'connection-available-p 10)
:when result
:do
(with-socket (client (accept-connection server))
(loop
:for attempts :from 0 :below 3
:for data-available := (poll-socket client 'data-available-p 10)
:when data-available
:do
(let ((bytes-read (read-from-stream client buffer)))
(write-to-stream client buffer :end bytes-read)))))))
(defun send-to-server (string host-address port)
(check-type string string)
(check-type host-address string)
(check-type port (unsigned-byte 16))
(with-socket (client (connect-to-ipv4-tcp-server host-address port))
(unless (poll-socket client 'connection-succeeded-p 10)
(error "Failed to connect to address ~A:~d" host-address port))
(write-to-stream client (babel:string-to-octets string))
(loop
:for attempts :from 0 :below 3
:for data-available := (poll-socket client 'data-available-p 10)
:until data-available
:finally (unless data-available
(error "Echo server not working.")))
(let* ((buffer (make-array 100000 :element-type '(unsigned-byte 8)))
(bytes-read (read-from-stream client buffer)))
(babel:octets-to-string buffer :end bytes-read))))
Next: Modules, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The basic-binary-ipc system: |
Mark Cox
Simplified BSD License variant
A inter-process communication library for transmitting binary data over a stream.
cffi-grovel
basic-binary-ipc.asd (file)
Modules are listed depth-first from the system components tree.
• The basic-binary-ipc/src module: | ||
• The basic-binary-ipc/src/posix module: | ||
• The basic-binary-ipc/src/epoll module: |
Next: The basic-binary-ipc/src/posix module, Previous: Modules, Up: Modules [Contents][Index]
basic-binary-ipc (system)
src/
Next: The basic-binary-ipc/src/epoll module, Previous: The basic-binary-ipc/src module, Up: Modules [Contents][Index]
src (module)
basic-binary-ipc (system)
src/
Previous: The basic-binary-ipc/src/posix module, Up: Modules [Contents][Index]
src/posix (module)
basic-binary-ipc (system)
src/
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files: |
Next: The basic-binary-ipc/src/packages<dot>lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
basic-binary-ipc.asd
basic-binary-ipc (system)
Next: The basic-binary-ipc/src/protocols<dot>lisp file, Previous: The basic-binary-ipc<dot>asd file, Up: Lisp files [Contents][Index]
src (module)
src/packages.lisp
Next: The basic-binary-ipc/src/system-calls<dot>lisp file, Previous: The basic-binary-ipc/src/packages<dot>lisp file, Up: Lisp files [Contents][Index]
packages.lisp (file)
src (module)
src/protocols.lisp
Next: The basic-binary-ipc/src/posix/posix-helpers<dot>lisp file, Previous: The basic-binary-ipc/src/protocols<dot>lisp file, Up: Lisp files [Contents][Index]
protocols.lisp (file)
src (module)
src/system-calls.lisp
Next: The basic-binary-ipc/src/posix/posix-grovel<dot>lisp file, Previous: The basic-binary-ipc/src/system-calls<dot>lisp file, Up: Lisp files [Contents][Index]
src/posix (module)
src/posix-helpers.lisp
Next: The basic-binary-ipc/src/posix/posix-cffi<dot>lisp file, Previous: The basic-binary-ipc/src/posix/posix-helpers<dot>lisp file, Up: Lisp files [Contents][Index]
posix-helpers.lisp (file)
src/posix (module)
src/posix-grovel.lisp
Next: The basic-binary-ipc/src/posix/posix-socket-options<dot>lisp file, Previous: The basic-binary-ipc/src/posix/posix-grovel<dot>lisp file, Up: Lisp files [Contents][Index]
posix-grovel.lisp (file)
src/posix (module)
src/posix-cffi.lisp
Next: The basic-binary-ipc/src/posix/posix-sockets<dot>lisp file, Previous: The basic-binary-ipc/src/posix/posix-cffi<dot>lisp file, Up: Lisp files [Contents][Index]
posix-cffi.lisp (file)
src/posix (module)
src/posix-socket-options.lisp
Next: The basic-binary-ipc/src/posix/posix-poll<dot>lisp file, Previous: The basic-binary-ipc/src/posix/posix-socket-options<dot>lisp file, Up: Lisp files [Contents][Index]
posix-socket-options.lisp (file)
src/posix (module)
src/posix-sockets.lisp
Next: The basic-binary-ipc/src/epoll/epoll-grovel<dot>lisp file, Previous: The basic-binary-ipc/src/posix/posix-sockets<dot>lisp file, Up: Lisp files [Contents][Index]
posix-sockets.lisp (file)
src/posix (module)
src/posix-poll.lisp
Next: The basic-binary-ipc/src/epoll/epoll-cffi<dot>lisp file, Previous: The basic-binary-ipc/src/posix/posix-poll<dot>lisp file, Up: Lisp files [Contents][Index]
src/epoll (module)
src/epoll-grovel.lisp
Next: The basic-binary-ipc/src/epoll/epoll-poller<dot>lisp file, Previous: The basic-binary-ipc/src/epoll/epoll-grovel<dot>lisp file, Up: Lisp files [Contents][Index]
epoll-grovel.lisp (file)
src/epoll (module)
src/epoll-cffi.lisp
Previous: The basic-binary-ipc/src/epoll/epoll-cffi<dot>lisp file, Up: Lisp files [Contents][Index]
epoll-cffi.lisp (file)
src/epoll (module)
src/epoll-poller.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The basic-binary-ipc package: |
packages.lisp (file)
common-lisp
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions: | ||
• Internal definitions: |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported special variables: | ||
• Exported macros: | ||
• Exported functions: | ||
• Exported generic functions: | ||
• Exported conditions: | ||
• Exported classes: |
Next: Exported macros, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
posix-sockets.lisp (file)
posix-sockets.lisp (file)
Next: Exported functions, Previous: Exported special variables, Up: Exported definitions [Contents][Index]
protocols.lisp (file)
protocols.lisp (file)
Next: Exported generic functions, Previous: Exported macros, Up: Exported definitions [Contents][Index]
posix-sockets.lisp (file)
posix-sockets.lisp (file)
protocols.lisp (file)
protocols.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
epoll-poller.lisp (file)
posix-sockets.lisp (file)
Next: Exported conditions, Previous: Exported functions, Up: Exported definitions [Contents][Index]
protocols.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
protocols.lisp (file)
epoll-poller.lisp (file)
protocols.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
protocols.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
protocols.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
protocols.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
protocols.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
protocols.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
protocols.lisp (file)
automatically generated reader method
posix-sockets.lisp (file)
protocols.lisp (file)
automatically generated reader method
posix-sockets.lisp (file)
The pathname to the local socket.
posix-sockets.lisp (file)
automatically generated reader method
automatically generated reader method
protocols.lisp (file)
automatically generated reader method
posix-sockets.lisp (file)
protocols.lisp (file)
epoll-poller.lisp (file)
protocols.lisp (file)
epoll-poller.lisp (file)
protocols.lisp (file)
protocols.lisp (file)
posix-poll.lisp (file)
protocols.lisp (file)
posix-poll.lisp (file)
protocols.lisp (file)
automatically generated reader method
posix-sockets.lisp (file)
protocols.lisp (file)
posix-sockets.lisp (file)
protocols.lisp (file)
posix-sockets.lisp (file)
protocols.lisp (file)
posix-sockets.lisp (file)
protocols.lisp (file)
automatically generated reader method
posix-sockets.lisp (file)
automatically generated reader method
posix-sockets.lisp (file)
protocols.lisp (file)
automatically generated reader method
posix-sockets.lisp (file)
automatically generated reader method
posix-sockets.lisp (file)
Return the POSIX-SOCKET object used by OBJECT.
posix-sockets.lisp (file)
posix-poll.lisp (file)
automatically generated reader method
automatically generated reader method
automatically generated reader method
protocols.lisp (file)
protocols.lisp (file)
protocols.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
automatically generated reader method
posix-sockets.lisp (file)
protocols.lisp (file)
epoll-poller.lisp (file)
protocols.lisp (file)
epoll-poller.lisp (file)
protocols.lisp (file)
posix-sockets.lisp (file)
Next: Exported classes, Previous: Exported generic functions, Up: Exported definitions [Contents][Index]
protocols.lisp (file)
error (condition)
socket (method)
:socket
socket (generic function)
posix-sockets.lisp (file)
condition (condition)
local-pathname (method)
:local-pathname
local-pathname (generic function)
protocols.lisp (file)
error (condition)
posix-error (condition)
socket (method)
:socket
socket (generic function)
Previous: Exported conditions, Up: Exported definitions [Contents][Index]
posix-sockets.lisp (file)
posix-stream-server (class)
:host-address
host-address (generic function)
:port
port (generic function)
posix-sockets.lisp (file)
posix-stream (class)
:remote-host-address
remote-host-address (generic function)
:remote-port
remote-port (generic function)
:local-host-address
local-host-address (generic function)
:local-port
local-port (generic function)
posix-sockets.lisp (file)
posix-stream-server (class)
:local-pathname
local-pathname (generic function)
:delete-on-close-p
delete-on-close-p (generic function)
posix-sockets.lisp (file)
posix-stream (class)
:local-pathname
local-pathname (generic function)
protocols.lisp (file)
standard-object (class)
protocols.lisp (file)
socket (class)
posix-stream-server (class)
protocols.lisp (file)
socket (class)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal constants: | ||
• Internal macros: | ||
• Internal functions: | ||
• Internal generic functions: | ||
• Internal conditions: | ||
• Internal classes: |
Next: Internal macros, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/epoll-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
Next: Internal functions, Previous: Internal constants, Up: Internal definitions [Contents][Index]
system-calls.lisp (file)
epoll-poller.lisp (file)
Provide implementations for COMPUTE-POLL-FD-EVENTS and
PARSE-POLL-FD-EVENTS for the poll-fd event macro NAME. BODY consists
of expressions starting with :CLASSES, :INPUT or :TEST.
(:CLASSES <class1> ... <class N>) represents the classes in which
this event macro should be defined.
(:INPUT <input1> <input2>) are the events that poll(2) should look
for.
(:TEST <expression>) is an expression that determines if the event occurred.
posix-poll.lisp (file)
A symbol macro for declaraing the messages that are to be used when PARSE-POLL-FD-RESULT encounters an event that represents a socket error. BODY is a collection (event-symbol message) forms.
posix-poll.lisp (file)
posix-helpers.lisp (file)
posix-socket-options.lisp (file)
posix-socket-options.lisp (file)
system-calls.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
Next: Internal generic functions, Previous: Internal macros, Up: Internal definitions [Contents][Index]
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
epoll-cffi.lisp (file)
epoll-cffi.lisp (file)
epoll-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-helpers.lisp (file)
posix-helpers.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-cffi.lisp (file)
posix-helpers.lisp (file)
posix-helpers.lisp (file)
posix-poll.lisp (file)
posix-poll.lisp (file)
posix-socket-options.lisp (file)
posix-socket-options.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
epoll-poller.lisp (file)
posix-socket-options.lisp (file)
epoll-poller.lisp (file)
Map the error with integer ERRNUM to a symbol from the grovelled ERRNO-ENUM type.
posix-helpers.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
posix-sockets.lisp (file)
posix-poll.lisp (file)
posix-poll.lisp (file)
posix-sockets.lisp (file)
posix-helpers.lisp (file)
posix-helpers.lisp (file)
posix-helpers.lisp (file)
The predicate POSIX-ERROR-WOULD-BLOCK-P handles the potential sitation where EAGAIN and EWOULDBLOCK are defined to be the same ERRNO constant (this is true on OSX). This causes difficulties with the mapping between error codes and keywords in the enum ERRNO-ENUM.
posix-sockets.lisp (file)
epoll-poller.lisp (file)
epoll-poller.lisp (file)
epoll-poller.lisp (file)
posix-socket-options.lisp (file)
Obtain the POSIX error string for the error with integer ERRNUM.
posix-helpers.lisp (file)
posix-helpers.lisp (file)
Next: Internal conditions, Previous: Internal functions, Up: Internal definitions [Contents][Index]
The name of the foreign function that signalled the posix error.
posix-helpers.lisp (file)
automatically generated reader method
epoll-poller.lisp (file)
automatically generated writer method
epoll-poller.lisp (file)
Return the posix communication style used by the POSIX-SOCKET.
posix-sockets.lisp (file)
automatically generated reader method
Return the list of POLL-EVENTS symbols required for
the events field in the pollfd structure. SOCKET-EVENTS can be a
single symbol or a list of symbols that represent events that can be
detected using poll(2).
posix-poll.lisp (file)
protocols.lisp (file)
Delete the pathname when closing the socket.
posix-sockets.lisp (file)
automatically generated reader method
A table mapping file descriptors to socket objects.
epoll-poller.lisp (file)
automatically generated reader method
The descriptor for the EPOLL object.
epoll-poller.lisp (file)
automatically generated reader method
Return the list of events required for epoll to notify when the event OBJECT occurs.
epoll-poller.lisp (file)
automatically generated reader method
Inspect EVENTS and SOCKET to see if the OBJECT event has occurred.
epoll-poller.lisp (file)
Return the file descriptor of the object.
posix-sockets.lisp (file)
automatically generated reader method
posix-sockets.lisp (file)
The name of the LISP function that wraps the foreign posix function.
posix-helpers.lisp (file)
The maximum number of events to retrieve when invoking epoll_wait.
epoll-poller.lisp (file)
automatically generated reader method
posix-poll.lisp (file)
A table mapping sockets to epoll poller specific information.
epoll-poller.lisp (file)
automatically generated reader method
protocols.lisp (file)
Return the posix namespace used by the POSIX-SOCKET.
posix-sockets.lisp (file)
automatically generated reader method
posix-sockets.lisp (file)
Parse the POLL-EVENTS symbols returned by poll(2)
and determine if any event in SOCKET-EVENTS occurred. SOCKET-EVENTS
may be a symbol or a list of symbols.
posix-poll.lisp (file)
Return the protocol used by the POSIX-SOCKET.
posix-sockets.lisp (file)
automatically generated reader method
posix-sockets.lisp (file)
posix-socket-options.lisp (file)
automatically generated reader method
posix-socket-options.lisp (file)
posix-socket-options.lisp (file)
posix-sockets.lisp (file)
posix-socket-options.lisp (file)
posix-sockets.lisp (file)
The name of the function which invoked the system function that failed.
system-calls.lisp (file)
A user friendly message describing the system call failure.
system-calls.lisp (file)
The error value communicated by the system call.
system-calls.lisp (file)
The name of the system call that failed.
system-calls.lisp (file)
automatically generated reader method
epoll-poller.lisp (file)
Next: Internal classes, Previous: Internal generic functions, Up: Internal definitions [Contents][Index]
posix-poll.lisp (file)
error (condition)
:socket
socket (generic function)
:message
message (generic function)
This error class provides a lisp representation of POSIX errors.
posix-helpers.lisp (file)
system-calls.lisp (file)
error (condition)
posix-error (condition)
:caller
system-function-caller (generic function)
:name
system-function-name (generic function)
:error-value
system-function-error-value (generic function)
:error-message
system-function-error-message (generic function)
Previous: Internal conditions, Up: Internal definitions [Contents][Index]
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
epoll-poller.lisp (file)
standard-object (class)
:events
epoll-events (generic function)
:test-function
test-function (generic function)
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/epoll-grovel.processed-grovel-file
epoll-poller.lisp (file)
poller (class)
:epoll-descriptor
epoll-descriptor (generic function)
:closedp
closedp (generic function)
(setf closedp) (generic function)
:monitor-table
monitor-table (generic function)
:descriptor-socket-table
descriptor-socket-table (generic function)
:maximum-number-of-events
maximum-number-of-events (generic function)
Initarg | Value |
---|---|
:closedp | nil |
:maximum-number-of-events | 100 |
:monitor-table | (make-hash-table) |
:descriptor-socket-table | (make-hash-table) |
posix-sockets.lisp (file)
failed-posix-stream (class)
:remote-port
remote-port (generic function)
:remote-host-address
remote-host-address (generic function)
posix-sockets.lisp (file)
stream-socket (class)
failed-ipv4-tcp-stream (class)
:socket
socket (generic function)
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
protocols.lisp (file)
standard-object (class)
epoll-poller (class)
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
posix-sockets.lisp (file)
standard-object (class)
:namespace
namespace (generic function)
:communication-style
communication-style (generic function)
:protocol
protocol (generic function)
:file-descriptor
(error "file descriptors must be specified.")
file-descriptor (generic function)
:closedp
socket-closed-p (generic function)
posix-sockets.lisp (file)
stream-socket (class)
:socket
socket (generic function)
posix-sockets.lisp (file)
stream-server (class)
:socket
socket (generic function)
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file
posix-socket-options.lisp (file)
standard-object (class)
:base-type
soa-base-type (generic function)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index: | ||
• Function index: | ||
• Variable index: | ||
• Data type index: |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | B F L M |
---|
Jump to: | B F L M |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | %
(
A C D E F G H K L M N O P R S T U W Z |
---|
Jump to: | %
(
A C D E F G H K L M N O P R S T U W Z |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | +
A B C D E F H I L M N O P R S T |
---|
Jump to: | +
A B C D E F H I L M N O P R S T |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | A B C E F I L N P S |
---|
Jump to: | A B C E F I L N P S |
---|