This is the cl-messagepack-rpc Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:09:19 2024 GMT+0.
cl-messagepack-rpc/cl-messagepack-rpc.asd
cl-messagepack-rpc/src/package.lisp
cl-messagepack-rpc/src/utils.lisp
cl-messagepack-rpc/src/conditions.lisp
cl-messagepack-rpc/src/future.lisp
cl-messagepack-rpc/src/connection.lisp
cl-messagepack-rpc/src/event-loop.lisp
cl-messagepack-rpc/src/messages.lisp
cl-messagepack-rpc/src/session.lisp
cl-messagepack-rpc/src/client.lisp
The main system appears first, followed by any subsystem dependency.
cl-messagepack-rpc
A Common Lisp implementation of the MessagePack-RPC specification, which uses MessagePack serialization format to achieve efficient remote procedure calls (RPCs).
Andrej Dolenc <andrej.dolenc@student.uni-lj.si>
MIT
cl-messagepack
(system).
cl-async
(system).
cl-libuv
(system).
cffi
(system).
flexi-streams
(system).
trivial-backtrace
(system).
alexandria
(system).
src/package.lisp
(file).
src/utils.lisp
(file).
src/conditions.lisp
(file).
src/future.lisp
(file).
src/connection.lisp
(file).
src/event-loop.lisp
(file).
src/messages.lisp
(file).
src/session.lisp
(file).
src/client.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-messagepack-rpc/cl-messagepack-rpc.asd
cl-messagepack-rpc/src/package.lisp
cl-messagepack-rpc/src/utils.lisp
cl-messagepack-rpc/src/conditions.lisp
cl-messagepack-rpc/src/future.lisp
cl-messagepack-rpc/src/connection.lisp
cl-messagepack-rpc/src/event-loop.lisp
cl-messagepack-rpc/src/messages.lisp
cl-messagepack-rpc/src/session.lisp
cl-messagepack-rpc/src/client.lisp
cl-messagepack-rpc/cl-messagepack-rpc.asd
cl-messagepack-rpc
(system).
cl-messagepack-rpc/src/package.lisp
cl-messagepack-rpc
(system).
cl-messagepack-rpc/src/utils.lisp
src/package.lisp
(file).
cl-messagepack-rpc
(system).
symbol-concat
(function).
while
(macro).
zip
(function).
cl-messagepack-rpc/src/conditions.lisp
src/utils.lisp
(file).
cl-messagepack-rpc
(system).
call-error
(condition).
no-method-error
(condition).
rpc-error
(condition).
transport-error
(condition).
message
(reader method).
(setf message)
(writer method).
cl-messagepack-rpc/src/future.lisp
src/conditions.lisp
(file).
cl-messagepack-rpc
(system).
finish
(method).
finishedp
(reader method).
(setf finishedp)
(writer method).
future
(class).
join
(method).
result
(reader method).
(setf result)
(writer method).
err
(reader method).
(setf err)
(writer method).
event-loop
(reader method).
(setf event-loop)
(writer method).
cl-messagepack-rpc/src/connection.lisp
src/future.lisp
(file).
cl-messagepack-rpc
(system).
connect-pipe
(function).
connect-stream
(function).
connect-tcp
(function).
send
(generic function).
*default-pooling-rate*
(special variable).
on-connection-close
(function).
with-event-loop-bindings
(macro).
cl-messagepack-rpc/src/event-loop.lisp
src/connection.lisp
(file).
cl-messagepack-rpc
(system).
clean
(function).
init
(function).
run-forever
(function).
run-once
(function).
cl-messagepack-rpc/src/messages.lisp
src/event-loop.lisp
(file).
cl-messagepack-rpc
(system).
define-rpc-type
(macro).
cl-messagepack-rpc/src/session.lisp
src/messages.lisp
(file).
cl-messagepack-rpc
(system).
call
(method).
call-async
(method).
notify
(method).
register-callback
(method).
remove-callback
(method).
request
(method).
*max-request-id*
(special variable).
active-requests
(reader method).
(setf active-requests)
(writer method).
apply-callback
(method).
callback-handler
(method).
callbacks
(reader method).
(setf callbacks)
(writer method).
event-loop
(reader method).
(setf event-loop)
(writer method).
extended-types
(reader method).
(setf extended-types)
(writer method).
get-unique-request-id
(function).
lookup-table
(reader method).
(setf lookup-table)
(writer method).
make-notification
(function).
make-request
(function).
make-response
(function).
notificationp
(function).
on-message
(method).
on-notification
(method).
on-request
(method).
on-response
(method).
parse-notification
(function).
parse-request
(function).
parse-response
(function).
requestp
(function).
responsep
(function).
send-notification
(method).
send-request
(method).
send-response
(method).
session
(class).
socket
(reader method).
(setf socket)
(writer method).
cl-messagepack-rpc/src/client.lisp
src/session.lisp
(file).
cl-messagepack-rpc
(system).
client
(class).
initialize-instance
(method).
Packages are listed by definition order.
messagepack-rpc.event-loop
el
bordeaux-threads
.
cffi
.
cl-async
.
common-lisp
.
messagepack-rpc.conditions
.
messagepack-rpc.utils
.
clean
(function).
connect-pipe
(function).
connect-stream
(function).
connect-tcp
(function).
finish
(generic function).
finishedp
(generic reader).
(setf finishedp)
(generic writer).
future
(class).
init
(function).
join
(generic function).
result
(generic reader).
(setf result)
(generic writer).
run-forever
(function).
run-once
(function).
send
(generic function).
*default-pooling-rate*
(special variable).
err
(generic reader).
(setf err)
(generic writer).
event-loop
(generic reader).
(setf event-loop)
(generic writer).
on-connection-close
(function).
with-event-loop-bindings
(macro).
messagepack-rpc.conditions
common-lisp
.
call-error
(condition).
no-method-error
(condition).
rpc-error
(condition).
transport-error
(condition).
message
(generic reader).
(setf message)
(generic writer).
messagepack-rpc.utils
common-lisp
.
symbol-concat
(function).
while
(macro).
zip
(function).
messagepack-rpc
mrpc
alexandria
.
common-lisp
.
flexi-streams
.
messagepack
.
messagepack-rpc.conditions
.
messagepack-rpc.event-loop
.
messagepack-rpc.utils
.
trivial-backtrace
.
call
(generic function).
call-async
(generic function).
client
(class).
notify
(generic function).
register-callback
(generic function).
remove-callback
(generic function).
request
(generic function).
*max-request-id*
(special variable).
active-requests
(generic reader).
(setf active-requests)
(generic writer).
apply-callback
(generic function).
callback-handler
(generic function).
callbacks
(generic reader).
(setf callbacks)
(generic writer).
define-rpc-type
(macro).
event-loop
(generic reader).
(setf event-loop)
(generic writer).
extended-types
(generic reader).
(setf extended-types)
(generic writer).
get-unique-request-id
(function).
lookup-table
(generic reader).
(setf lookup-table)
(generic writer).
make-notification
(function).
make-request
(function).
make-response
(function).
notificationp
(function).
on-message
(generic function).
on-notification
(generic function).
on-request
(generic function).
on-response
(generic function).
parse-notification
(function).
parse-request
(function).
parse-response
(function).
requestp
(function).
responsep
(function).
send-notification
(generic function).
send-request
(generic function).
send-response
(generic function).
session
(class).
socket
(generic reader).
(setf socket)
(generic writer).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Clean up and properly close the event-loop, and throw an error with-error if it is supplied.
Establish a connection on top of event-base via named pipe, calling CALLBACK with new data when it is available.
Establish a connection on top of event-base via input and output streams, calling CALLBACK with new data when it is available.
Establish a connection on top of event-base via TCP, calling CALLBACK with new data when it is available.
Initialize a new event-loop and return it.
Run event loop forever, blocking the execution and processing all received messages.
Run event loop once, blocking the execution of the thread until a new message is received.
Concatenate symbol names.
Zip lists together.
Send BYTES via SOCKET using EVENT-BASE event-loop
client
) &key extended-types host port file input-stream output-stream pooling-rate) ¶error
.
(quote "")
:message
:finished
:result
(error "must specify the event-loop which the object should follow")
:event-loop
Elapsed time in seconds between two consecutive reads for connect-stream
Maximal request id used
Define helper functions for constructing, sending, destructing and verifying messagepack-rpc types.
Make cl-async think the event loop was running all along, because it otherwise sometimes refuses to work.
Return a unique, not yet used request id.
Encode parameters into a packet ready to be sent as a NOTIFICATION.
Encode parameters into a packet ready to be sent as a REQUEST.
Encode parameters into a packet ready to be sent as a RESPONSE.
Predicate to check if msg is NOTIFICATION.
Parse msg into a property list, where keys are :METHOD, :PARAMS and values are corresponding values from msg.
Parse msg into a property list, where keys are :ID, :METHOD, :PARAMS and values are corresponding values from msg.
Parse msg into a property list, where keys are :ID, :ERROR, :RESULT and values are corresponding values from msg.
Predicate to check if msg is REQUEST.
Predicate to check if msg is RESPONSE.
(setf active-requests)
.
active-requests
.
apply-callback
.
call
.
call-async
.
callback-handler
.
(setf callbacks)
.
callbacks
.
(setf event-loop)
.
event-loop
.
(setf extended-types)
.
extended-types
.
(setf lookup-table)
.
lookup-table
.
notify
.
on-message
.
on-notification
.
on-request
.
on-response
.
register-callback
.
remove-callback
.
request
.
send-notification
.
send-request
.
send-response
.
(setf socket)
.
socket
.
(messagepack-rpc.event-loop:init)
:event-loop
(make-hash-table :test (quote equal))
(quote nil)
(messagepack:make-lookup-table)
(make-hash-table)
Jump to: | (
A C D E F G I J L M N O P R S W Z |
---|
Jump to: | (
A C D E F G I J L M N O P R S W Z |
---|
Jump to: | *
A C E F L M R S |
---|
Jump to: | *
A C E F L M R S |
---|
Jump to: | C F M N P R S T |
---|
Jump to: | C F M N P R S T |
---|