The cl-messagepack-rpc Reference Manual

This is the cl-messagepack-rpc Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Wed May 15 04:14:37 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 cl-messagepack-rpc

A Common Lisp implementation of the MessagePack-RPC specification, which uses MessagePack serialization format to achieve efficient remote procedure calls (RPCs).

Author

Andrej Dolenc <>

License

MIT

Dependencies
  • cl-messagepack (system).
  • cl-async (system).
  • cl-libuv (system).
  • cffi (system).
  • flexi-streams (system).
  • trivial-backtrace (system).
  • alexandria (system).
Source

cl-messagepack-rpc.asd.

Child Components

3 Files

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


3.1 Lisp


3.1.1 cl-messagepack-rpc/cl-messagepack-rpc.asd

Source

cl-messagepack-rpc.asd.

Parent Component

cl-messagepack-rpc (system).

ASDF Systems

cl-messagepack-rpc.


3.1.3 cl-messagepack-rpc/src/utils.lisp

Dependency

src/package.lisp (file).

Source

cl-messagepack-rpc.asd.

Parent Component

cl-messagepack-rpc (system).

Public Interface

3.1.4 cl-messagepack-rpc/src/conditions.lisp

Dependency

src/utils.lisp (file).

Source

cl-messagepack-rpc.asd.

Parent Component

cl-messagepack-rpc (system).

Public Interface
Internals

3.1.5 cl-messagepack-rpc/src/future.lisp

Dependency

src/conditions.lisp (file).

Source

cl-messagepack-rpc.asd.

Parent Component

cl-messagepack-rpc (system).

Public Interface
Internals

3.1.6 cl-messagepack-rpc/src/connection.lisp

Dependency

src/future.lisp (file).

Source

cl-messagepack-rpc.asd.

Parent Component

cl-messagepack-rpc (system).

Public Interface
Internals

3.1.7 cl-messagepack-rpc/src/event-loop.lisp

Dependency

src/connection.lisp (file).

Source

cl-messagepack-rpc.asd.

Parent Component

cl-messagepack-rpc (system).

Public Interface

3.1.8 cl-messagepack-rpc/src/messages.lisp

Dependency

src/event-loop.lisp (file).

Source

cl-messagepack-rpc.asd.

Parent Component

cl-messagepack-rpc (system).

Internals

define-rpc-type (macro).


3.1.9 cl-messagepack-rpc/src/session.lisp

Dependency

src/messages.lisp (file).

Source

cl-messagepack-rpc.asd.

Parent Component

cl-messagepack-rpc (system).

Public Interface
Internals

3.1.10 cl-messagepack-rpc/src/client.lisp

Dependency

src/session.lisp (file).

Source

cl-messagepack-rpc.asd.

Parent Component

cl-messagepack-rpc (system).

Public Interface

4 Packages

Packages are listed by definition order.


4.1 messagepack-rpc.event-loop

Source

src/package.lisp.

Nickname

el

Use List
Used By List

messagepack-rpc.

Public Interface
Internals

4.2 messagepack-rpc.conditions

Source

src/package.lisp.

Use List

common-lisp.

Used By List
Public Interface
Internals

4.3 messagepack-rpc.utils

Source

src/package.lisp.

Use List

common-lisp.

Used By List
Public Interface

4.4 messagepack-rpc

Source

src/package.lisp.

Nickname

mrpc

Use List
Public Interface
Internals

5 Definitions

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


5.1 Public Interface


5.1.1 Macros

Macro: while (test &rest body)

Imitate the standard while loop.

Package

messagepack-rpc.utils.

Source

src/utils.lisp.


5.1.2 Ordinary functions

Function: clean (event-base &optional with-error)

Clean up and properly close the event-loop, and throw an error with-error if it is supplied.

Package

messagepack-rpc.event-loop.

Source

src/event-loop.lisp.

Function: connect-pipe (event-base callback &key file)

Establish a connection on top of event-base via named pipe, calling CALLBACK with new data when it is available.

Package

messagepack-rpc.event-loop.

Source

src/connection.lisp.

Function: connect-stream (event-base callback &key input-stream output-stream pooling-rate)

Establish a connection on top of event-base via input and output streams, calling CALLBACK with new data when it is available.

Package

messagepack-rpc.event-loop.

Source

src/connection.lisp.

Function: connect-tcp (event-base callback &key host port)

Establish a connection on top of event-base via TCP, calling CALLBACK with new data when it is available.

Package

messagepack-rpc.event-loop.

Source

src/connection.lisp.

Function: init ()

Initialize a new event-loop and return it.

Package

messagepack-rpc.event-loop.

Source

src/event-loop.lisp.

Function: run-forever (event-base)

Run event loop forever, blocking the execution and processing all received messages.

Package

messagepack-rpc.event-loop.

Source

src/event-loop.lisp.

Function: run-once (event-base)

Run event loop once, blocking the execution of the thread until a new message is received.

Package

messagepack-rpc.event-loop.

Source

src/event-loop.lisp.

Function: symbol-concat (&rest symbols)

Concatenate symbol names.

Package

messagepack-rpc.utils.

Source

src/utils.lisp.

Function: zip (&rest lists)

Zip lists together.

Package

messagepack-rpc.utils.

Source

src/utils.lisp.


5.1.3 Generic functions

Generic Function: call (session method &rest params)
Package

messagepack-rpc.

Methods
Method: call ((session session) method &rest params)

Invoke CALL-ASYNC with the specified arguments, and call JOIN on the returned future. This call thus blocks the thread until response from the server is received.

Source

src/session.lisp.

Generic Function: call-async (session method &rest params)
Package

messagepack-rpc.

Methods
Method: call-async ((session session) method &rest params)

Use session to call server’s METHOD with specified PARAMS and immediately pass control back to the caller, returning a future object. If you want to later check the results, use JOIN on the future.

Source

src/session.lisp.

Generic Function: finish (future &key result error)
Package

messagepack-rpc.event-loop.

Methods
Method: finish ((future future) &key result error)

Set FUTURE’s status to finished, and set its RESULT and/or ERROR.

Source

src/future.lisp.

Generic Reader: finishedp (object)
Package

messagepack-rpc.event-loop.

Methods
Reader Method: finishedp ((future future))

automatically generated reader method

Source

src/future.lisp.

Target Slot

finished.

Generic Writer: (setf finishedp) (object)
Package

messagepack-rpc.event-loop.

Methods
Writer Method: (setf finishedp) ((future future))

automatically generated writer method

Source

src/future.lisp.

Target Slot

finished.

Generic Function: join (future)
Package

messagepack-rpc.event-loop.

Methods
Method: join ((future future))

Block the execution of current thread until FUTURE has a result from the server. Then either return a result, or throw an error, depending on how the server responded.

Source

src/future.lisp.

Generic Function: notify (session method &rest params)
Package

messagepack-rpc.

Methods
Method: notify ((session session) method &rest params)

Use SESSION to call server’s METHOD with specified PARAMS, immediately returning control to the caller. This call completely ignores server responses.

Source

src/session.lisp.

Generic Function: register-callback (session method callback)
Package

messagepack-rpc.

Methods
Method: register-callback ((session session) method callback)

Register a CALLBACK which will get called when server/client sends request or notification for METHOD.

Source

src/session.lisp.

Generic Function: remove-callback (session method)
Package

messagepack-rpc.

Methods
Method: remove-callback ((session session) method)

Remove a registered callback with name METHOD.

Source

src/session.lisp.

Generic Function: request (session method &rest params)
Package

messagepack-rpc.

Methods
Method: request ((session session) method &rest params)

Alias for CALL.

Source

src/session.lisp.

Generic Reader: result (object)
Package

messagepack-rpc.event-loop.

Methods
Reader Method: result ((future future))

automatically generated reader method

Source

src/future.lisp.

Target Slot

result.

Generic Writer: (setf result) (object)
Package

messagepack-rpc.event-loop.

Methods
Writer Method: (setf result) ((future future))

automatically generated writer method

Source

src/future.lisp.

Target Slot

result.

Generic Function: send (event-base socket bytes)

Send BYTES via SOCKET using EVENT-BASE event-loop

Package

messagepack-rpc.event-loop.

Source

src/connection.lisp.

Methods
Method: send ((event-base event-base) socket msg)
Method: send ((event-base event-base) (socket socket) msg)

5.1.4 Standalone methods

Method: initialize-instance :after ((client client) &key extended-types host port file input-stream output-stream pooling-rate)
Source

src/client.lisp.


5.1.5 Conditions

Condition: call-error
Package

messagepack-rpc.conditions.

Source

src/conditions.lisp.

Direct superclasses

rpc-error.

Direct subclasses

no-method-error.

Condition: no-method-error
Package

messagepack-rpc.conditions.

Source

src/conditions.lisp.

Direct superclasses

call-error.

Condition: rpc-error
Package

messagepack-rpc.conditions.

Source

src/conditions.lisp.

Direct superclasses

error.

Direct subclasses
Direct methods
Direct slots
Slot: message
Initform

(quote "")

Initargs

:message

Readers

message.

Writers

(setf message).

Condition: transport-error
Package

messagepack-rpc.conditions.

Source

src/conditions.lisp.

Direct superclasses

rpc-error.


5.1.6 Classes

Class: client
Package

messagepack-rpc.

Source

src/client.lisp.

Direct superclasses

session.

Direct methods

initialize-instance.

Class: future
Package

messagepack-rpc.event-loop.

Source

src/future.lisp.

Direct methods
Direct slots
Slot: finished
Initargs

:finished

Readers

finishedp.

Writers

(setf finishedp).

Slot: result
Initargs

:result

Readers

result.

Writers

(setf result).

Slot: err
Initargs

:error

Readers

err.

Writers

(setf err).

Slot: event-loop
Initform

(error "must specify the event-loop which the object should follow")

Initargs

:event-loop

Readers

event-loop.

Writers

(setf event-loop).


5.2 Internals


5.2.1 Special variables

Special Variable: *default-pooling-rate*

Elapsed time in seconds between two consecutive reads for connect-stream

Package

messagepack-rpc.event-loop.

Source

src/connection.lisp.

Special Variable: *max-request-id*

Maximal request id used

Package

messagepack-rpc.

Source

src/session.lisp.


5.2.2 Macros

Macro: define-rpc-type (type-name type-id &rest components)

Define helper functions for constructing, sending, destructing and verifying messagepack-rpc types.

Package

messagepack-rpc.

Source

src/messages.lisp.

Macro: with-event-loop-bindings ((event-base) &body body)

Make cl-async think the event loop was running all along, because it otherwise sometimes refuses to work.

Package

messagepack-rpc.event-loop.

Source

src/connection.lisp.


5.2.3 Ordinary functions

Function: get-unique-request-id ()

Return a unique, not yet used request id.

Package

messagepack-rpc.

Source

src/session.lisp.

Function: make-notification (method params)

Encode parameters into a packet ready to be sent as a NOTIFICATION.

Package

messagepack-rpc.

Source

src/session.lisp.

Function: make-request (id method params)

Encode parameters into a packet ready to be sent as a REQUEST.

Package

messagepack-rpc.

Source

src/session.lisp.

Function: make-response (id error result)

Encode parameters into a packet ready to be sent as a RESPONSE.

Package

messagepack-rpc.

Source

src/session.lisp.

Function: notificationp (msg)

Predicate to check if msg is NOTIFICATION.

Package

messagepack-rpc.

Source

src/session.lisp.

Function: on-connection-close (ev)
Package

messagepack-rpc.event-loop.

Source

src/connection.lisp.

Function: parse-notification (msg)

Parse msg into a property list, where keys are :METHOD, :PARAMS and values are corresponding values from msg.

Package

messagepack-rpc.

Source

src/session.lisp.

Function: parse-request (msg)

Parse msg into a property list, where keys are :ID, :METHOD, :PARAMS and values are corresponding values from msg.

Package

messagepack-rpc.

Source

src/session.lisp.

Function: parse-response (msg)

Parse msg into a property list, where keys are :ID, :ERROR, :RESULT and values are corresponding values from msg.

Package

messagepack-rpc.

Source

src/session.lisp.

Function: requestp (msg)

Predicate to check if msg is REQUEST.

Package

messagepack-rpc.

Source

src/session.lisp.

Function: responsep (msg)

Predicate to check if msg is RESPONSE.

Package

messagepack-rpc.

Source

src/session.lisp.


5.2.4 Generic functions

Generic Reader: active-requests (object)
Package

messagepack-rpc.

Methods
Reader Method: active-requests ((session session))

automatically generated reader method

Source

src/session.lisp.

Target Slot

active-requests.

Generic Writer: (setf active-requests) (object)
Package

messagepack-rpc.

Methods
Writer Method: (setf active-requests) ((session session))

automatically generated writer method

Source

src/session.lisp.

Target Slot

active-requests.

Generic Function: apply-callback (session method params)
Package

messagepack-rpc.

Methods
Method: apply-callback ((session session) method params)

Find appropriate callback for session and call it with params, or trigger no-method-error if no method with correct name is registered.

Source

src/session.lisp.

Generic Function: callback-handler (session bytes)
Package

messagepack-rpc.

Methods
Method: callback-handler ((session session) bytes)

Decode messages from BYTES and call ON-MESSAGE with the decoded data. This method gets registered with SESSION’s event-loop as the default callback handler.

Source

src/session.lisp.

Generic Reader: callbacks (object)
Package

messagepack-rpc.

Methods
Reader Method: callbacks ((session session))

automatically generated reader method

Source

src/session.lisp.

Target Slot

callbacks.

Generic Writer: (setf callbacks) (object)
Package

messagepack-rpc.

Methods
Writer Method: (setf callbacks) ((session session))

automatically generated writer method

Source

src/session.lisp.

Target Slot

callbacks.

Generic Reader: err (object)
Package

messagepack-rpc.event-loop.

Methods
Reader Method: err ((future future))

automatically generated reader method

Source

src/future.lisp.

Target Slot

err.

Generic Writer: (setf err) (object)
Package

messagepack-rpc.event-loop.

Methods
Writer Method: (setf err) ((future future))

automatically generated writer method

Source

src/future.lisp.

Target Slot

err.

Generic Reader: event-loop (object)
Package

messagepack-rpc.event-loop.

Methods
Reader Method: event-loop ((future future))

automatically generated reader method

Source

src/future.lisp.

Target Slot

event-loop.

Generic Writer: (setf event-loop) (object)
Package

messagepack-rpc.event-loop.

Methods
Writer Method: (setf event-loop) ((future future))

automatically generated writer method

Source

src/future.lisp.

Target Slot

event-loop.

Generic Reader: event-loop (object)
Package

messagepack-rpc.

Methods
Reader Method: event-loop ((session session))

automatically generated reader method

Source

src/session.lisp.

Target Slot

event-loop.

Generic Writer: (setf event-loop) (object)
Package

messagepack-rpc.

Methods
Writer Method: (setf event-loop) ((session session))

automatically generated writer method

Source

src/session.lisp.

Target Slot

event-loop.

Generic Reader: extended-types (object)
Package

messagepack-rpc.

Methods
Reader Method: extended-types ((session session))

automatically generated reader method

Source

src/session.lisp.

Target Slot

extended-types.

Generic Writer: (setf extended-types) (object)
Package

messagepack-rpc.

Methods
Writer Method: (setf extended-types) ((session session))

automatically generated writer method

Source

src/session.lisp.

Target Slot

extended-types.

Generic Reader: lookup-table (object)
Package

messagepack-rpc.

Methods
Reader Method: lookup-table ((session session))

automatically generated reader method

Source

src/session.lisp.

Target Slot

lookup-table.

Generic Writer: (setf lookup-table) (object)
Package

messagepack-rpc.

Methods
Writer Method: (setf lookup-table) ((session session))

automatically generated writer method

Source

src/session.lisp.

Target Slot

lookup-table.

Generic Reader: message (condition)
Generic Writer: (setf message) (condition)
Package

messagepack-rpc.conditions.

Methods
Reader Method: message ((condition rpc-error))
Writer Method: (setf message) ((condition rpc-error))
Source

src/conditions.lisp.

Target Slot

message.

Generic Function: on-message (session message)
Package

messagepack-rpc.

Methods
Method: on-message ((session session) message)

Properly handle a newly received message by dispatching it to the correct handler based on its type.

Source

src/session.lisp.

Generic Function: on-notification (session &key method params)
Package

messagepack-rpc.

Methods
Method: on-notification ((session session) &key method params)

Handle a new notification from the server by calling the appropriate callback.

Source

src/session.lisp.

Generic Function: on-request (session &key id method params)
Package

messagepack-rpc.

Methods
Method: on-request ((session session) &key id method params)

Handle a new request from the server, calling the appropriate callback and responding with its return value if the call is successful, or catch the error and respond with it.

Source

src/session.lisp.

Generic Function: on-response (session &key id error result)
Package

messagepack-rpc.

Methods
Method: on-response ((session session) &key id error result)

Handle a response from the server by finishing the appropriate future from active-requests of the session with the received result or error.

Source

src/session.lisp.

Generic Function: send-notification (session method params)
Package

messagepack-rpc.

Methods
Method: send-notification ((session session) method params)

Encode parameters into a NOTIFICATION packet and send it using session object.

Source

src/session.lisp.

Generic Function: send-request (session id method params)
Package

messagepack-rpc.

Methods
Method: send-request ((session session) id method params)

Encode parameters into a REQUEST packet and send it using session object.

Source

src/session.lisp.

Generic Function: send-response (session id error result)
Package

messagepack-rpc.

Methods
Method: send-response ((session session) id error result)

Encode parameters into a RESPONSE packet and send it using session object.

Source

src/session.lisp.

Generic Reader: socket (object)
Package

messagepack-rpc.

Methods
Reader Method: socket ((session session))

automatically generated reader method

Source

src/session.lisp.

Target Slot

socket.

Generic Writer: (setf socket) (object)
Package

messagepack-rpc.

Methods
Writer Method: (setf socket) ((session session))

automatically generated writer method

Source

src/session.lisp.

Target Slot

socket.


5.2.5 Classes

Class: session
Package

messagepack-rpc.

Source

src/session.lisp.

Direct subclasses

client.

Direct methods
Direct slots
Slot: event-loop
Initform

(messagepack-rpc.event-loop:init)

Initargs

:event-loop

Readers

event-loop.

Writers

(setf event-loop).

Slot: socket
Readers

socket.

Writers

(setf socket).

Slot: callbacks
Initform

(make-hash-table :test (quote equal))

Readers

callbacks.

Writers

(setf callbacks).

Slot: extended-types
Initform

(quote nil)

Readers

extended-types.

Writers

(setf extended-types).

Slot: lookup-table
Initform

(messagepack:make-lookup-table)

Readers

lookup-table.

Writers

(setf lookup-table).

Slot: active-requests
Initform

(make-hash-table)

Readers

active-requests.

Writers

(setf active-requests).


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   (  
A   C   D   E   F   G   I   J   L   M   N   O   P   R   S   W   Z  
Index Entry  Section

(
(setf active-requests): Private generic functions
(setf active-requests): Private generic functions
(setf callbacks): Private generic functions
(setf callbacks): Private generic functions
(setf err): Private generic functions
(setf err): Private generic functions
(setf event-loop): Private generic functions
(setf event-loop): Private generic functions
(setf event-loop): Private generic functions
(setf event-loop): Private generic functions
(setf extended-types): Private generic functions
(setf extended-types): Private generic functions
(setf finishedp): Public generic functions
(setf finishedp): Public generic functions
(setf lookup-table): Private generic functions
(setf lookup-table): Private generic functions
(setf message): Private generic functions
(setf message): Private generic functions
(setf result): Public generic functions
(setf result): Public generic functions
(setf socket): Private generic functions
(setf socket): Private generic functions

A
active-requests: Private generic functions
active-requests: Private generic functions
apply-callback: Private generic functions
apply-callback: Private generic functions

C
call: Public generic functions
call: Public generic functions
call-async: Public generic functions
call-async: Public generic functions
callback-handler: Private generic functions
callback-handler: Private generic functions
callbacks: Private generic functions
callbacks: Private generic functions
clean: Public ordinary functions
connect-pipe: Public ordinary functions
connect-stream: Public ordinary functions
connect-tcp: Public ordinary functions

D
define-rpc-type: Private macros

E
err: Private generic functions
err: Private generic functions
event-loop: Private generic functions
event-loop: Private generic functions
event-loop: Private generic functions
event-loop: Private generic functions
extended-types: Private generic functions
extended-types: Private generic functions

F
finish: Public generic functions
finish: Public generic functions
finishedp: Public generic functions
finishedp: Public generic functions
Function, clean: Public ordinary functions
Function, connect-pipe: Public ordinary functions
Function, connect-stream: Public ordinary functions
Function, connect-tcp: Public ordinary functions
Function, get-unique-request-id: Private ordinary functions
Function, init: Public ordinary functions
Function, make-notification: Private ordinary functions
Function, make-request: Private ordinary functions
Function, make-response: Private ordinary functions
Function, notificationp: Private ordinary functions
Function, on-connection-close: Private ordinary functions
Function, parse-notification: Private ordinary functions
Function, parse-request: Private ordinary functions
Function, parse-response: Private ordinary functions
Function, requestp: Private ordinary functions
Function, responsep: Private ordinary functions
Function, run-forever: Public ordinary functions
Function, run-once: Public ordinary functions
Function, symbol-concat: Public ordinary functions
Function, zip: Public ordinary functions

G
Generic Function, (setf active-requests): Private generic functions
Generic Function, (setf callbacks): Private generic functions
Generic Function, (setf err): Private generic functions
Generic Function, (setf event-loop): Private generic functions
Generic Function, (setf event-loop): Private generic functions
Generic Function, (setf extended-types): Private generic functions
Generic Function, (setf finishedp): Public generic functions
Generic Function, (setf lookup-table): Private generic functions
Generic Function, (setf message): Private generic functions
Generic Function, (setf result): Public generic functions
Generic Function, (setf socket): Private generic functions
Generic Function, active-requests: Private generic functions
Generic Function, apply-callback: Private generic functions
Generic Function, call: Public generic functions
Generic Function, call-async: Public generic functions
Generic Function, callback-handler: Private generic functions
Generic Function, callbacks: Private generic functions
Generic Function, err: Private generic functions
Generic Function, event-loop: Private generic functions
Generic Function, event-loop: Private generic functions
Generic Function, extended-types: Private generic functions
Generic Function, finish: Public generic functions
Generic Function, finishedp: Public generic functions
Generic Function, join: Public generic functions
Generic Function, lookup-table: Private generic functions
Generic Function, message: Private generic functions
Generic Function, notify: Public generic functions
Generic Function, on-message: Private generic functions
Generic Function, on-notification: Private generic functions
Generic Function, on-request: Private generic functions
Generic Function, on-response: Private generic functions
Generic Function, register-callback: Public generic functions
Generic Function, remove-callback: Public generic functions
Generic Function, request: Public generic functions
Generic Function, result: Public generic functions
Generic Function, send: Public generic functions
Generic Function, send-notification: Private generic functions
Generic Function, send-request: Private generic functions
Generic Function, send-response: Private generic functions
Generic Function, socket: Private generic functions
get-unique-request-id: Private ordinary functions

I
init: Public ordinary functions
initialize-instance: Public standalone methods

J
join: Public generic functions
join: Public generic functions

L
lookup-table: Private generic functions
lookup-table: Private generic functions

M
Macro, define-rpc-type: Private macros
Macro, while: Public macros
Macro, with-event-loop-bindings: Private macros
make-notification: Private ordinary functions
make-request: Private ordinary functions
make-response: Private ordinary functions
message: Private generic functions
message: Private generic functions
Method, (setf active-requests): Private generic functions
Method, (setf callbacks): Private generic functions
Method, (setf err): Private generic functions
Method, (setf event-loop): Private generic functions
Method, (setf event-loop): Private generic functions
Method, (setf extended-types): Private generic functions
Method, (setf finishedp): Public generic functions
Method, (setf lookup-table): Private generic functions
Method, (setf message): Private generic functions
Method, (setf result): Public generic functions
Method, (setf socket): Private generic functions
Method, active-requests: Private generic functions
Method, apply-callback: Private generic functions
Method, call: Public generic functions
Method, call-async: Public generic functions
Method, callback-handler: Private generic functions
Method, callbacks: Private generic functions
Method, err: Private generic functions
Method, event-loop: Private generic functions
Method, event-loop: Private generic functions
Method, extended-types: Private generic functions
Method, finish: Public generic functions
Method, finishedp: Public generic functions
Method, initialize-instance: Public standalone methods
Method, join: Public generic functions
Method, lookup-table: Private generic functions
Method, message: Private generic functions
Method, notify: Public generic functions
Method, on-message: Private generic functions
Method, on-notification: Private generic functions
Method, on-request: Private generic functions
Method, on-response: Private generic functions
Method, register-callback: Public generic functions
Method, remove-callback: Public generic functions
Method, request: Public generic functions
Method, result: Public generic functions
Method, send: Public generic functions
Method, send: Public generic functions
Method, send-notification: Private generic functions
Method, send-request: Private generic functions
Method, send-response: Private generic functions
Method, socket: Private generic functions

N
notificationp: Private ordinary functions
notify: Public generic functions
notify: Public generic functions

O
on-connection-close: Private ordinary functions
on-message: Private generic functions
on-message: Private generic functions
on-notification: Private generic functions
on-notification: Private generic functions
on-request: Private generic functions
on-request: Private generic functions
on-response: Private generic functions
on-response: Private generic functions

P
parse-notification: Private ordinary functions
parse-request: Private ordinary functions
parse-response: Private ordinary functions

R
register-callback: Public generic functions
register-callback: Public generic functions
remove-callback: Public generic functions
remove-callback: Public generic functions
request: Public generic functions
request: Public generic functions
requestp: Private ordinary functions
responsep: Private ordinary functions
result: Public generic functions
result: Public generic functions
run-forever: Public ordinary functions
run-once: Public ordinary functions

S
send: Public generic functions
send: Public generic functions
send: Public generic functions
send-notification: Private generic functions
send-notification: Private generic functions
send-request: Private generic functions
send-request: Private generic functions
send-response: Private generic functions
send-response: Private generic functions
socket: Private generic functions
socket: Private generic functions
symbol-concat: Public ordinary functions

W
while: Public macros
with-event-loop-bindings: Private macros

Z
zip: Public ordinary functions


A.4 Data types

Jump to:   C   F   M   N   P   R   S   T  
Index Entry  Section

C
call-error: Public conditions
cl-messagepack-rpc: The cl-messagepack-rpc system
cl-messagepack-rpc.asd: The cl-messagepack-rpc/cl-messagepack-rpc․asd file
Class, client: Public classes
Class, future: Public classes
Class, session: Private classes
client: Public classes
Condition, call-error: Public conditions
Condition, no-method-error: Public conditions
Condition, rpc-error: Public conditions
Condition, transport-error: Public conditions

F
File, cl-messagepack-rpc.asd: The cl-messagepack-rpc/cl-messagepack-rpc․asd file
File, src/client.lisp: The cl-messagepack-rpc/src/client․lisp file
File, src/conditions.lisp: The cl-messagepack-rpc/src/conditions․lisp file
File, src/connection.lisp: The cl-messagepack-rpc/src/connection․lisp file
File, src/event-loop.lisp: The cl-messagepack-rpc/src/event-loop․lisp file
File, src/future.lisp: The cl-messagepack-rpc/src/future․lisp file
File, src/messages.lisp: The cl-messagepack-rpc/src/messages․lisp file
File, src/package.lisp: The cl-messagepack-rpc/src/package․lisp file
File, src/session.lisp: The cl-messagepack-rpc/src/session․lisp file
File, src/utils.lisp: The cl-messagepack-rpc/src/utils․lisp file
future: Public classes

M
messagepack-rpc: The messagepack-rpc package
messagepack-rpc.conditions: The messagepack-rpc․conditions package
messagepack-rpc.event-loop: The messagepack-rpc․event-loop package
messagepack-rpc.utils: The messagepack-rpc․utils package

N
no-method-error: Public conditions

P
Package, messagepack-rpc: The messagepack-rpc package
Package, messagepack-rpc.conditions: The messagepack-rpc․conditions package
Package, messagepack-rpc.event-loop: The messagepack-rpc․event-loop package
Package, messagepack-rpc.utils: The messagepack-rpc․utils package

R
rpc-error: Public conditions

S
session: Private classes
src/client.lisp: The cl-messagepack-rpc/src/client․lisp file
src/conditions.lisp: The cl-messagepack-rpc/src/conditions․lisp file
src/connection.lisp: The cl-messagepack-rpc/src/connection․lisp file
src/event-loop.lisp: The cl-messagepack-rpc/src/event-loop․lisp file
src/future.lisp: The cl-messagepack-rpc/src/future․lisp file
src/messages.lisp: The cl-messagepack-rpc/src/messages․lisp file
src/package.lisp: The cl-messagepack-rpc/src/package․lisp file
src/session.lisp: The cl-messagepack-rpc/src/session․lisp file
src/utils.lisp: The cl-messagepack-rpc/src/utils․lisp file
System, cl-messagepack-rpc: The cl-messagepack-rpc system

T
transport-error: Public conditions