This is the jsonrpc Reference Manual, version 0.3.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 05:36:03 2024 GMT+0.
jsonrpc/jsonrpc.asd
jsonrpc/main/file-type.lisp
jsonrpc/request-response/file-type.lisp
jsonrpc/errors/file-type.lisp
jsonrpc/transport/interface/file-type.lisp
jsonrpc/connection/file-type.lisp
jsonrpc/class/file-type.lisp
jsonrpc/mapper/file-type.lisp
jsonrpc/utils/file-type.lisp
The main system appears first, followed by any subsystem dependency.
jsonrpc
jsonrpc/main
jsonrpc/request-response
jsonrpc/errors
jsonrpc/transport/interface
jsonrpc/connection
jsonrpc/class
jsonrpc/mapper
jsonrpc/utils
jsonrpc
JSON-RPC 2.0 server/client implementation
Eitaro Fukamachi
BSD 2-Clause
0.3.2
jsonrpc/main
(system).
jsonrpc/main
Eitaro Fukamachi
BSD 2-Clause
jsonrpc/request-response
(system).
jsonrpc/transport/interface
(system).
jsonrpc/class
(system).
jsonrpc/errors
(system).
jsonrpc/request-response
Eitaro Fukamachi
BSD 2-Clause
jsonrpc/errors
(system).
yason
(system).
alexandria
(system).
jsonrpc/transport/interface
Eitaro Fukamachi
BSD 2-Clause
jsonrpc/connection
(system).
bordeaux-threads
(system).
event-emitter
(system).
chanl
(system).
jsonrpc/connection
Eitaro Fukamachi
BSD 2-Clause
jsonrpc/request-response
(system).
bordeaux-threads
(system).
dissect
(system).
event-emitter
(system).
chanl
(system).
vom
(system).
jsonrpc/class
Eitaro Fukamachi
BSD 2-Clause
jsonrpc/mapper
(system).
jsonrpc/transport/interface
(system).
jsonrpc/connection
(system).
jsonrpc/request-response
(system).
jsonrpc/errors
(system).
jsonrpc/utils
(system).
bordeaux-threads
(system).
event-emitter
(system).
alexandria
(system).
jsonrpc/mapper
Eitaro Fukamachi
BSD 2-Clause
jsonrpc/errors
(system).
dissect
(system).
jsonrpc/request-response
(system).
Files are sorted by type and then listed depth-first from the systems components trees.
jsonrpc/jsonrpc.asd
jsonrpc/main/file-type.lisp
jsonrpc/request-response/file-type.lisp
jsonrpc/errors/file-type.lisp
jsonrpc/transport/interface/file-type.lisp
jsonrpc/connection/file-type.lisp
jsonrpc/class/file-type.lisp
jsonrpc/mapper/file-type.lisp
jsonrpc/utils/file-type.lisp
jsonrpc/main/file-type.lisp
jsonrpc/main
(system).
make-client
(function).
make-server
(function).
jsonrpc/request-response/file-type.lisp
jsonrpc/request-response
(system).
encode
(method).
encode
(method).
make-error-response
(function).
make-request
(function).
make-response
(function).
parse-message
(function).
request
(structure).
request-id
(reader).
(setf request-id)
(writer).
request-method
(reader).
(setf request-method)
(writer).
request-params
(reader).
(setf request-params)
(writer).
response
(structure).
response-error
(reader).
(setf response-error)
(writer).
response-error-code
(function).
response-error-message
(function).
response-id
(reader).
(setf response-id)
(writer).
response-result
(reader).
(setf response-result)
(writer).
copy-request
(function).
copy-response
(function).
request-p
(function).
response-p
(function).
valid-request-p
(function).
valid-response-p
(function).
jsonrpc/errors/file-type.lisp
jsonrpc/errors
(system).
*debug-on-error*
(special variable).
encode
(method).
jsonrpc-callback-error
(condition).
jsonrpc-error
(condition).
jsonrpc-error-code
(reader method).
(setf jsonrpc-error-code)
(writer method).
jsonrpc-error-message
(reader method).
(setf jsonrpc-error-message)
(writer method).
jsonrpc-internal-error
(condition).
jsonrpc-invalid-params
(condition).
jsonrpc-invalid-request
(condition).
jsonrpc-invalid-response
(condition).
jsonrpc-method-not-found
(condition).
jsonrpc-parse-error
(condition).
jsonrpc-server-error
(condition).
jsonrpc/transport/interface/file-type.lisp
jsonrpc/transport/interface
(system).
receive-message-using-transport
(generic function).
run-processing-loop
(generic function).
run-reading-loop
(generic function).
send-message-using-transport
(generic function).
start-client
(generic function).
start-server
(generic function).
transport
(class).
transport-connection
(reader method).
(setf transport-connection)
(writer method).
transport-message-callback
(reader method).
(setf transport-message-callback)
(writer method).
transport-threads
(reader method).
(setf transport-threads)
(writer method).
jsonrpc/connection/file-type.lisp
jsonrpc/connection
(system).
*connection*
(special variable).
add-message-to-outbox
(function).
add-message-to-queue
(generic function).
connection
(class).
connection-outbox
(reader method).
(setf connection-outbox)
(writer method).
connection-request-callback
(reader method).
(setf connection-request-callback)
(writer method).
connection-request-queue
(reader method).
(setf connection-request-queue)
(writer method).
connection-socket
(reader method).
(setf connection-socket)
(writer method).
process-request
(generic function).
wait-for-ready
(generic function).
notify-ready
(generic function).
process-wait
(class).
set-callback-for-id
(function).
jsonrpc/class/file-type.lisp
jsonrpc/class
(system).
*default-timeout*
(special variable).
bind-server-to-transport
(function).
broadcast
(generic function).
call
(generic function).
call-async
(generic function).
call-async-to
(function).
call-to
(generic function).
client
(class).
client-connect
(function).
client-connect-using-class
(function).
client-disconnect
(function).
jsonrpc-transport
(reader method).
(setf jsonrpc-transport)
(writer method).
multicall-async
(generic function).
notify
(generic function).
notify-async
(generic function).
notify-to
(function).
receive-message
(function).
send-message
(generic function).
server
(class).
server-listen
(function).
*call-to-error*
(special variable).
*call-to-result*
(special variable).
ensure-connected
(function).
hash-exists-p
(function).
jsonrpc
(class).
jsonrpc-params
(type).
server-client-connections
(reader method).
(setf server-client-connections)
(writer method).
jsonrpc/mapper/file-type.lisp
jsonrpc/mapper
(system).
clear-methods
(generic function).
dispatch
(generic function).
exposable
(class).
expose
(generic function).
exposable-mapper
(reader method).
(setf exposable-mapper)
(writer method).
jsonrpc/utils/file-type.lisp
jsonrpc/utils
(system).
find-mode-class
(function).
make-id
(function).
random-port
(function).
*transport-load-lock*
(special variable).
port-available-p
(function).
Packages are listed by definition order.
jsonrpc/mapper
jsonrpc/connection
jsonrpc/errors
jsonrpc/class
jsonrpc/transport/interface
jsonrpc/request-response
jsonrpc
jsonrpc/utils
jsonrpc/mapper
common-lisp
.
jsonrpc/errors
.
clear-methods
(generic function).
dispatch
(generic function).
exposable
(class).
expose
(generic function).
register-method
(generic function).
exposable-mapper
(generic reader).
(setf exposable-mapper)
(generic writer).
jsonrpc/connection
jsonrpc/connection provides a class ‘connection’ for holding data of each connections, like inbox and outbox.
common-lisp
.
*connection*
(special variable).
add-message-to-outbox
(function).
add-message-to-queue
(generic function).
connection
(class).
connection-outbox
(generic reader).
(setf connection-outbox)
(generic writer).
connection-request-callback
(generic reader).
(setf connection-request-callback)
(generic writer).
connection-request-queue
(generic reader).
(setf connection-request-queue)
(generic writer).
connection-socket
(generic reader).
(setf connection-socket)
(generic writer).
process-request
(generic function).
wait-for-ready
(generic function).
notify-ready
(generic function).
process-wait
(class).
set-callback-for-id
(function).
jsonrpc/errors
common-lisp
.
*debug-on-error*
(special variable).
jsonrpc-callback-error
(condition).
jsonrpc-error
(condition).
jsonrpc-error-code
(generic reader).
(setf jsonrpc-error-code)
(generic writer).
jsonrpc-error-message
(generic reader).
(setf jsonrpc-error-message)
(generic writer).
jsonrpc-internal-error
(condition).
jsonrpc-invalid-params
(condition).
jsonrpc-invalid-request
(condition).
jsonrpc-invalid-response
(condition).
jsonrpc-method-not-found
(condition).
jsonrpc-parse-error
(condition).
jsonrpc-server-error
(condition).
jsonrpc/class
common-lisp
.
*default-timeout*
(special variable).
bind-server-to-transport
(function).
broadcast
(generic function).
call
(generic function).
call-async
(generic function).
call-async-to
(function).
call-to
(generic function).
client
(class).
client-connect
(function).
client-connect-using-class
(function).
client-disconnect
(function).
jsonrpc-transport
(generic reader).
(setf jsonrpc-transport)
(generic writer).
multicall-async
(generic function).
notify
(generic function).
notify-async
(generic function).
notify-to
(function).
receive-message
(function).
send-message
(generic function).
server
(class).
server-listen
(function).
*call-to-error*
(special variable).
*call-to-result*
(special variable).
ensure-connected
(function).
hash-exists-p
(function).
jsonrpc
(class).
jsonrpc-params
(type).
server-client-connections
(generic reader).
(setf server-client-connections)
(generic writer).
jsonrpc/transport/interface
common-lisp
.
receive-message-using-transport
(generic function).
run-processing-loop
(generic function).
run-reading-loop
(generic function).
send-message-using-transport
(generic function).
start-client
(generic function).
start-server
(generic function).
transport
(slot).
transport
(class).
transport-connection
(generic reader).
(setf transport-connection)
(generic writer).
transport-message-callback
(generic reader).
(setf transport-message-callback)
(generic writer).
transport-threads
(generic reader).
(setf transport-threads)
(generic writer).
jsonrpc/request-response
common-lisp
.
jsonrpc/errors
.
make-error-response
(function).
make-request
(function).
make-response
(function).
parse-message
(function).
request
(structure).
request-id
(reader).
(setf request-id)
(writer).
request-method
(reader).
(setf request-method)
(writer).
request-params
(reader).
(setf request-params)
(writer).
response
(structure).
response-error
(reader).
(setf response-error)
(writer).
response-error-code
(function).
response-error-message
(function).
response-id
(reader).
(setf response-id)
(writer).
response-result
(reader).
(setf response-result)
(writer).
copy-request
(function).
copy-response
(function).
request-p
(function).
response-p
(function).
valid-request-p
(function).
valid-response-p
(function).
jsonrpc
jsonrpc/main
common-lisp
.
jsonrpc/class
.
jsonrpc/errors
.
jsonrpc/request-response
.
jsonrpc/transport/interface
.
make-client
(function).
make-server
(function).
jsonrpc/utils
common-lisp
.
find-mode-class
(function).
make-id
(function).
random-port
(function).
*transport-load-lock*
(special variable).
port-available-p
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Open an interactive debugger on any error.
Initializes all necessary event handlers inside TRANSPORT to process calls to the SERVER.
This function can be usefule if you want to create server and transport instance manually, and then to start transport as part of a bigger server.
Return a port number not in use from 50000 to 60000.
id
.
id
.
connection
) (messages list
)) ¶connection
) (message request
)) ¶connection
) (message response
)) ¶Makes a synchronouse RPC call. Should return an instance of JSONRPC/REQUEST-RESPONSE:RESPONSE class.
jsonrpc
) (to connection
) (method string
) &optional params &rest options) ¶connection
)) ¶automatically generated reader method
connection
)) ¶automatically generated writer method
connection
)) ¶automatically generated reader method
connection
)) ¶automatically generated writer method
connection
)) ¶automatically generated reader method
connection
)) ¶automatically generated writer method
connection
)) ¶automatically generated reader method
connection
)) ¶automatically generated writer method
jsonrpc-error
)) ¶jsonrpc-error
)) ¶code
.
jsonrpc-error
)) ¶jsonrpc-error
)) ¶connection
) (requests list
)) ¶connection
) (request request
)) ¶process-wait
)) ¶jsonrpc-error
) &optional stream) ¶yason
.
event-emitter
.
process-wait
.
add-message-to-queue
.
add-message-to-queue
.
add-message-to-queue
.
call-to
.
(setf connection-outbox)
.
connection-outbox
.
(setf connection-request-callback)
.
connection-request-callback
.
(setf connection-request-queue)
.
connection-request-queue
.
(setf connection-socket)
.
connection-socket
.
process-request
.
process-request
.
:socket
:request-callback
(make-instance (quote chanl:unbounded-channel))
(make-hash-table :test (quote equal))
(bordeaux-threads:make-recursive-lock "jsonrpc/connection response-lock")
(make-hash-table :test (quote equal))
(make-instance (quote chanl:unbounded-channel))
(make-hash-table :test (quote equal))
process-wait
)) ¶Jump to: | (
A B C D E F G H J M N P R S T V W |
---|
Jump to: | (
A B C D E F G H J M N P R S T V W |
---|
Jump to: | %
*
C E I M O P R S T |
---|
Jump to: | %
*
C E I M O P R S T |
---|
Jump to: | C E F J P R S T |
---|
Jump to: | C E F J P R S T |
---|