The cl-mtgnet Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-mtgnet Reference Manual

This is the cl-mtgnet Reference Manual, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 03:26:31 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

* About
  CL-MTGNET is a client library for the MTGNet RPC protocol. The library
  handles all the details of marshalling and unmarshalling, including
  matching out-of-order responses to the appropriate request.

* Dependencies
  This library depends on the CL-NETSTRING+ library, as well as the
  quicklisp-installable CL-JSON and TRIVIAL-UTF-8 libs.

* API
  Remote methods are treated like FFI calls: the client creates
  definitions for the methods it wishes to use, and can then call
  those methods as if they were local functions.

** Method Definition
   Most clients will want to use the high-level macros to define
   method functions that handle the details of calling. The method
   definition macro is relatively simple:

#+begin_src lisp
  (defmacro define-rpc-method ((method &optional service  &key notification) &body args))
#+end_src

   =method= and =service= are symbols naming the method and the
   service =method= belongs to. =define-rpc-method= will create a
   function named ==, which takes a socket stream, a symbol
   naming the service, and the arguments of the method. If =service=
   is provided, the function will be named =-= and
   will not take a service symbol as a parameter. Note that both
   =method= and =service= symbols will be processed by CL-JSON, so
   the standard name-mangling applies (e.g. =describe-method= will
   become =describeMethod= when sent to the server).

   If =notification= is not supplied or is =nil=, the function will
   return a future object that will return the value of the method (or
   signal an error) when =wait= is called on it. If =notification= is
   not =nil=, the function will return immediately with no value
   (since no response is expected from the server).

*** Examples
#+begin_src lisp
  ;; Define a method without specifying a service
  (define-rpc-method
     ;; Method name
     (describe-method)
     ;; Method arguments
     method-name)
  
  ;; Invoke the method on the 'server' service
  ;; (wait (describe-method sock 'server "version")) => [...]
  
  ;; Define a method on a specific service
  (define-rpc-method (describe-method server) method-name)
  
  ;; (wait (server-describe-method "version")) => [...]
  
  ;; Define a notification method
  (define-rpc-method (poke server :notification t) msg)
  
  ;; Note the lack of a WAIT call here
  ;; (server-poke "Poked for no reason!") => No value
#+end_src

** Batched Calls
   The MTGNet protocol features the ability to send requests to the
   server in a batch, with the guarantee that the server will hold the
   responses for those calls until they're all ready before returning
   them. Clients can submit a batch of calls using the
   =with-batch-calls= macro:
#+begin_src lisp
  ;; With STREAM, DESCRIBE-METHOD and VERSION defined elsewhere...
  (let (describe-future
        version-future)
    (with-batch-calls
        (setf describe-future (server-describe-method sock "version")
              version-future (server-version sock)))
    (values (wait description-future)
            ;; This will return immediately
            (wait version-future)))
#+end_src

   Any method calls made within a =with-batch-calls= macro won't be
   submitted to the server until the end of the block. *Note*: since
   none of the calls in a =with-batch-calls= block will be submitted
   until the block is left, calling =wait= on one of the returned
   futures will deadlock.

** Futures
   The non-notification functions created with =define-rpc-method=
   return a future object that will hold the return value of the
   method or signal an error if there was one. =wait= can be used to
   retrieve a completion value or signal an error: it takes a future
   object, and returns when that future completes.

   Right now the underlying IO mechanism isn't really
   asynchronous. =wait= drives the IO processing, so if a lot of
   requests are made and =wait= is never called, the socket buffer
   could fill and cause the server to block. This shouldn't be an
   issue under most workloads, however.
   
* Future TODOs
  - Use an asynch IO mechanism to avoid the need to call =wait=.
  - Add timeouts and keepalive options for rpc methods.
  - Accept strings as well as symbols for method and service names.
  - Use typespec values from the server to do typechecking where
    possible.
    - This could be a performance issue, so this may need to be a
      disable-able feature.
  - Allow clients to specify non-mangled names?
  - Document signaled conditions once they're all in place.
  - Give the client some control over the encoding of arguments passed
    to methods.
    - Either allow client to supply pre-encoded values (potential
      badness here), or supply encoder functions.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

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


Previous: , Up: Systems   [Contents][Index]

2.1 cl-mtgnet

Author

Matthew Stickney <mtstickney@gmail.com>

License

MIT

Description

Client library for the MTGNet RPC protocol.

Dependencies
Source

cl-mtgnet.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

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


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 cl-mtgnet.asd

Location

cl-mtgnet.asd

Systems

cl-mtgnet (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 cl-mtgnet/package.lisp

Parent

cl-mtgnet (system)

Location

package.lisp

Packages

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 cl-mtgnet/marshall.lisp

Dependency

package.lisp (file)

Parent

cl-mtgnet (system)

Location

marshall.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 cl-mtgnet/transport.lisp

Dependency

marshall.lisp (file)

Parent

cl-mtgnet (system)

Location

transport.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.5 cl-mtgnet/framer.lisp

Dependency

transport.lisp (file)

Parent

cl-mtgnet (system)

Location

framer.lisp

Exported Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.6 cl-mtgnet/cl-mtgnet.lisp

Dependency

framer.lisp (file)

Parent

cl-mtgnet (system)

Location

cl-mtgnet.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 cl-mtgnet

Source

package.lisp (file)

Nickname

mtgnet

Use List

common-lisp


Previous: , Up: Packages   [Contents][Index]

4.2 mtgnet-sys

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

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


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Special variables

Special Variable: *default-encoder*
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Macros

Macro: with-batch-calls (CON &optional BATCH-REQ) &body BODY

Arrange for RPC calls in this block to collect their calls into one request, which will be sent at the end of the block.

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Functions

Function: build-rpc-call JSON-OBJ
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: build-rpc-error JSON-OBJ
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: build-rpc-request OBJ
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: build-rpc-response OBJ
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: build-rpc-result JSON-OBJ
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: build-rpc-warning-list OBJ
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: invoke-rpc-method CON SERVICE METHOD ARGS &key NOTIFICATION
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Function: make-call-obj SERVICE METHOD PARAMETERS &key NOTIFICATION
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Function: make-result-promise CON ID

Return a promise that produces a result with an id of ID from CON.

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Function: make-rpc-call &key (SERVICE SERVICE) (METHOD METHOD) (ARGS ARGS) (ID ID)
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: make-rpc-error &key (MESSAGE MESSAGE) (CODE CODE) (DATA DATA)
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: make-rpc-result &key (DATA DATA) (ERROR ERROR) (WARNINGS WARNINGS) (ID ID)
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: marshall-rpc-call OBJ
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: marshall-rpc-error OBJ
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: marshall-rpc-request OBJ
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: marshall-rpc-response OBJ
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: marshall-rpc-result OBJ
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: marshall-rpc-warning-list OBJ
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-call-args INSTANCE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-call-id INSTANCE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-call-method INSTANCE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-call-p OBJECT
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-call-promise CON RPC-CALL
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Function: rpc-call-service INSTANCE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-error-code INSTANCE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-error-data INSTANCE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-error-message INSTANCE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-error-p OBJECT
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-request-p THING
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-response-p THING
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-result-data INSTANCE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-result-error INSTANCE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-result-id INSTANCE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-result-p OBJECT
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-result-warnings INSTANCE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: rpc-warning-list-p THING
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: unmarshall-rpc-call JSON-STRING
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: unmarshall-rpc-error JSON-STRING
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: unmarshall-rpc-request STR
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: unmarshall-rpc-response STR
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: unmarshall-rpc-result JSON-STRING
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: unmarshall-rpc-warning-list STR
Package

mtgnet-sys

Source

marshall.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Generic functions

Generic Function: add-result CON RESULT

Add an RPC result to the results received by CON.

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Methods
Method: add-result (CON rpc-connection) RESULT
Generic Function: connect CON

Connect CON to the remote end.

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Methods
Method: connect (CON rpc-connection)
Generic Function: disconnect CON &key ABORT

Disconnect the connection CON.

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Methods
Method: disconnect (CON rpc-connection) &key ABORT
Generic Function: frame-data FRAMER &rest DATAE

Frame one or more data fragments for transmission.

Package

mtgnet-sys

Source

framer.lisp (file)

Methods
Method: frame-data (FRAMER netstring-framer) &rest DATAE
Generic Function: frame-data* FRAMER DATAE

Frame multiple data fragments for transmission.

Package

mtgnet-sys

Source

framer.lisp (file)

Methods
Method: frame-data* (FRAMER netstring-framer) DATAE
Generic Function: netstring-state OBJECT
Generic Function: (setf netstring-state) NEW-VALUE OBJECT
Package

mtgnet-sys

Methods
Method: netstring-state (NETSTRING-FRAMER netstring-framer)

automatically generated reader method

Source

framer.lisp (file)

Method: (setf netstring-state) NEW-VALUE (NETSTRING-FRAMER netstring-framer)

automatically generated writer method

Source

framer.lisp (file)

Generic Function: process-next-response CON

Process the next response, without triggering an additional read if one is already in progress.

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Methods
Method: process-next-response (CON rpc-connection)
Generic Function: read-frame FRAMER TRANSPORT

Read a frame from TRANSPORT.

Package

mtgnet-sys

Source

framer.lisp (file)

Methods
Method: read-frame (FRAMER netstring-framer) TRANSPORT
Generic Function: read-request CON

Read and unmarshall an RPC request from CON.

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Methods
Method: read-request (CON rpc-connection)
Generic Function: read-response CON

Read and unmarshall an RPC response from CON.

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Methods
Method: read-response (CON rpc-connection)
Generic Function: receive-frame CON

Read and return a frame of data sent over CON. Wraps READ-FRAME, mostly for extension convenience.

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Methods
Method: receive-frame (CON rpc-connection)
Generic Function: remote-error-code CONDITION
Generic Function: (setf remote-error-code) NEW-VALUE CONDITION
Package

mtgnet-sys

Methods
Method: remote-error-code (CONDITION remote-error)
Method: (setf remote-error-code) NEW-VALUE (CONDITION remote-error)
Source

cl-mtgnet.lisp (file)

Generic Function: remote-error-data CONDITION
Generic Function: (setf remote-error-data) NEW-VALUE CONDITION
Package

mtgnet-sys

Methods
Method: remote-error-data (CONDITION remote-error)
Method: (setf remote-error-data) NEW-VALUE (CONDITION remote-error)
Source

cl-mtgnet.lisp (file)

Generic Function: remote-error-msg CONDITION
Generic Function: (setf remote-error-msg) NEW-VALUE CONDITION
Package

mtgnet-sys

Methods
Method: remote-error-msg (CONDITION remote-error)
Method: (setf remote-error-msg) NEW-VALUE (CONDITION remote-error)
Source

cl-mtgnet.lisp (file)

Generic Function: remote-error-type CONDITION
Generic Function: (setf remote-error-type) NEW-VALUE CONDITION
Package

mtgnet-sys

Methods
Method: remote-error-type (CONDITION remote-error)
Method: (setf remote-error-type) NEW-VALUE (CONDITION remote-error)
Source

cl-mtgnet.lisp (file)

Generic Function: remote-warning-code CONDITION
Generic Function: (setf remote-warning-code) NEW-VALUE CONDITION
Package

mtgnet-sys

Methods
Method: remote-warning-code (CONDITION remote-warning)
Method: (setf remote-warning-code) NEW-VALUE (CONDITION remote-warning)
Source

cl-mtgnet.lisp (file)

Generic Function: remote-warning-data CONDITION
Generic Function: (setf remote-warning-data) NEW-VALUE CONDITION
Package

mtgnet-sys

Methods
Method: remote-warning-data (CONDITION remote-warning)
Method: (setf remote-warning-data) NEW-VALUE (CONDITION remote-warning)
Source

cl-mtgnet.lisp (file)

Generic Function: remote-warning-msg CONDITION
Generic Function: (setf remote-warning-msg) NEW-VALUE CONDITION
Package

mtgnet-sys

Methods
Method: remote-warning-msg (CONDITION remote-warning)
Method: (setf remote-warning-msg) NEW-VALUE (CONDITION remote-warning)
Source

cl-mtgnet.lisp (file)

Generic Function: send-frame CON &rest DATAE

Use CON’s framer to write a frame over CON’s transport. Mostly for extension convenience.

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Methods
Method: send-frame (CON rpc-connection) &rest DATAE
Generic Function: send-frame* CON DATAE

Use CON’s framer to write a frame over CON’s transport. Wraps WRITE-FRAME, mostly for extension convenience.

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Methods
Method: send-frame* (CON rpc-connection) DATAE
Generic Function: send-request CON REQUEST

Marshall and send REQUEST over CON.

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Methods
Method: send-request (CON rpc-connection) REQUEST
Generic Function: send-response CON RESPONSE

Marshall and send RESPONSE over CON.

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Methods
Method: send-response (CON rpc-connection) RESPONSE
Generic Function: submit-batch CON CALL-OBJS
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Methods
Method: submit-batch (CON rpc-connection) CALL-OBJS
Generic Function: transport-connect TRANSPORT

Connect TRANSPORT to the remote end, if necessary.

Package

mtgnet-sys

Source

transport.lisp (file)

Methods
Method: transport-connect (TRANSPORT string-input-transport)
Method: transport-connect TRANSPORT
Generic Function: transport-disconnect TRANSPORT &key ABORT

Disconnect TRANSPORT from the remote end, if necessary.

Package

mtgnet-sys

Source

transport.lisp (file)

Methods
Method: transport-disconnect (TRANSPORT string-output-transport) &key ABORT
Method: transport-disconnect TRANSPORT &key ABORT
Generic Function: transport-flush TRANSPORT

Flush buffers associated with TRANSPORT, if any.

Package

mtgnet-sys

Source

transport.lisp (file)

Methods
Method: transport-flush (TRANSPORT string-output-transport)
Method: transport-flush TRANSPORT
Generic Function: transport-read TRANSPORT SIZE

Read the next SIZE elements of data from TRANSPORT.

Package

mtgnet-sys

Source

transport.lisp (file)

Methods
Method: transport-read (TRANSPORT string-input-transport) SIZE
Generic Function: transport-read-into! TRANSPORT SEQ &key START END

Destructively modify SEQ with elements from TRANSPORT.

Package

mtgnet-sys

Source

transport.lisp (file)

Methods
Method: transport-read-into! (TRANSPORT string-input-transport) SEQ &key START END
Generic Function: transport-write TRANSPORT DATA

Send DATA to the remote end of TRANSPORT.

Package

mtgnet-sys

Source

transport.lisp (file)

Methods
Method: transport-write (TRANSPORT string-output-transport) DATA
Generic Function: unframe-data FRAMER FRAME

Return the data framed by FRAME.

Package

mtgnet-sys

Source

framer.lisp (file)

Methods
Method: unframe-data (FRAMER netstring-framer) FRAME
Generic Function: write-frame FRAMER TRANSPORT DATAE

Send multiple data fragments as a single frame over TRANSPORT

Package

mtgnet-sys

Source

framer.lisp (file)

Methods
Method: write-frame (FRAMER netstring-framer) TRANSPORT DATAE

Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.5 Conditions

Condition: duplicate-result-id ()
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Direct superclasses

condition (condition)

Direct slots
Slot: id
Condition: invalid-json-obj ()
Package

mtgnet-sys

Source

marshall.lisp (file)

Direct superclasses

error (condition)

Direct methods
Direct slots
Slot: type
Initargs

:type

Readers

obj-type (generic function)

Writers

(setf obj-type) (generic function)

Slot: json
Initargs

:json

Readers

obj-json (generic function)

Writers

(setf obj-json) (generic function)

Condition: remote-error ()
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Direct superclasses

error (condition)

Direct methods
Direct slots
Slot: type
Initargs

:type

Readers

remote-error-type (generic function)

Writers

(setf remote-error-type) (generic function)

Slot: msg
Initargs

:msg

Readers

remote-error-msg (generic function)

Writers

(setf remote-error-msg) (generic function)

Slot: code
Initargs

:code

Readers

remote-error-code (generic function)

Writers

(setf remote-error-code) (generic function)

Slot: data
Initargs

:data

Readers

remote-error-data (generic function)

Writers

(setf remote-error-data) (generic function)

Direct Default Initargs
InitargValue
:datanil
Condition: remote-warning ()
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Direct superclasses

warning (condition)

Direct methods
Direct slots
Slot: msg
Initargs

:msg

Readers

remote-warning-msg (generic function)

Writers

(setf remote-warning-msg) (generic function)

Slot: code
Initargs

:code

Readers

remote-warning-code (generic function)

Writers

(setf remote-warning-code) (generic function)

Slot: data
Initargs

:data

Readers

remote-warning-data (generic function)

Writers

(setf remote-warning-data) (generic function)

Direct Default Initargs
InitargValue
:datanil

Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.6 Structures

Structure: rpc-call ()

A single method invocation.

Package

mtgnet-sys

Source

marshall.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: service
Type

string

Initform

""

Readers

rpc-call-service (function)

Writers

(setf rpc-call-service) (function)

Slot: method
Type

string

Initform

""

Readers

rpc-call-method (function)

Writers

(setf rpc-call-method) (function)

Slot: args
Type

list

Initform

(quote nil)

Readers

rpc-call-args (function)

Writers

(setf rpc-call-args) (function)

Slot: id
Readers

rpc-call-id (function)

Writers

(setf rpc-call-id) (function)

Structure: rpc-error ()

Error object contained in a failed rpc-result.

Package

mtgnet-sys

Source

marshall.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: message
Type

string

Initform

""

Readers

rpc-error-message (function)

Writers

(setf rpc-error-message) (function)

Slot: code
Initform

0

Readers

rpc-error-code (function)

Writers

(setf rpc-error-code) (function)

Slot: data
Readers

rpc-error-data (function)

Writers

(setf rpc-error-data) (function)

Structure: rpc-result ()

The result of an RPC method invocation.

Package

mtgnet-sys

Source

marshall.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: data
Readers

rpc-result-data (function)

Writers

(setf rpc-result-data) (function)

Slot: error
Readers

rpc-result-error (function)

Writers

(setf rpc-result-error) (function)

Slot: warnings
Initform

(quote nil)

Readers

rpc-result-warnings (function)

Writers

(setf rpc-result-warnings) (function)

Slot: id
Readers

rpc-result-id (function)

Writers

(setf rpc-result-id) (function)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.7 Classes

Class: data-framer ()
Package

mtgnet-sys

Source

framer.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses

netstring-framer (class)

Class: netstring-framer ()
Package

mtgnet-sys

Source

framer.lisp (file)

Direct superclasses

data-framer (class)

Direct methods
Direct slots
Slot: state
Initform

(cl-netstring+:make-decoder-state)

Readers

netstring-state (generic function)

Writers

(setf netstring-state) (generic function)

Class: rpc-connection ()

Class representing a connection to an RPC server

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: transport
Initargs

:transport

Readers

connection-transport (generic function)

Writers

(setf connection-transport) (generic function)

Slot: framer
Initargs

:framer

Readers

connection-framer (generic function)

Writers

(setf connection-framer) (generic function)

Slot: next-response
Readers

next-response-promise (generic function)

Writers

(setf next-response-promise) (generic function)

Slot: result-bucket
Initform

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

Readers

result-bucket (generic function)

Writers

(setf result-bucket) (generic function)

Slot: result-waiters
Initform

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

Readers

result-waiters (generic function)

Writers

(setf result-waiters) (generic function)

Slot: current-request
Readers

current-request (generic function)

Writers

(setf current-request) (generic function)

Class: string-input-transport ()
Package

mtgnet-sys

Source

transport.lisp (file)

Direct superclasses

synchronous-transport (class)

Direct methods
Direct slots
Slot: stream
Readers

input-stream (generic function)

Writers

(setf input-stream) (generic function)

Slot: data
Initargs

:data

Readers

input-data (generic function)

Writers

(setf input-data) (generic function)

Slot: external-format
Initargs

:external-format

Readers

external-format (generic function)

Writers

(setf external-format) (generic function)

Class: string-output-transport ()
Package

mtgnet-sys

Source

transport.lisp (file)

Direct superclasses

synchronous-transport (class)

Direct methods
Direct slots
Slot: stream
Readers

output-stream (generic function)

Writers

(setf output-stream) (generic function)

Slot: external-format
Initargs

:external-format

Readers

external-format (generic function)

Writers

(setf external-format) (generic function)

Class: synchronous-transport ()
Package

mtgnet-sys

Direct subclasses
Class: transport ()
Package

mtgnet-sys

Source

transport.lisp (file)

Direct superclasses

standard-object (class)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.8 Types

Type: rpc-request ()
Package

mtgnet-sys

Source

marshall.lisp (file)

Type: rpc-response ()
Package

mtgnet-sys

Source

marshall.lisp (file)

Type: rpc-warning-list ()
Package

mtgnet-sys

Source

marshall.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Macros

Macro: bind-args (ARG-VAR ENCODER-VAR &optional TYPESPEC-VAR) ARG-OBJ &body BODY
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Macro: define-json-obj NAME &body BODY
Package

mtgnet-sys

Source

marshall.lisp (file)

Macro: define-object-array NAME TYPE
Package

mtgnet-sys

Source

marshall.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Functions

Function: build-arg-list LIST
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: cat-symbol SYMBOL &rest REST
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: copy-rpc-call INSTANCE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: copy-rpc-error INSTANCE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: copy-rpc-result INSTANCE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: encode-field FIELD VALUE &optional ENCODER

Encode VALUE as an object field named FIELD, using ENCODER to encode VALUE.

Package

mtgnet-sys

Source

marshall.lisp (file)

Function: has-key KEY MAP
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Function: marshall-arg-list ARGS
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: optional-slot-p S
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: read-result-with-id CON ID

Read responses from CON, storing results until a request containing a response with id ID arrives. Will process all results in a response before returning.

Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Function: register-waiter CON ID RESOLVE-FN REJECT-FN
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Function: reject-waiter CON ID &rest VALS
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Function: resolve-waiter CON ID &rest VALS
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Function: serial-slot-p S
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: slot-key S
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: slot-marshall-type S
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: slot-optional-p SLOT TYPE
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: slot-symbol S
Package

mtgnet-sys

Source

marshall.lisp (file)

Function: unregister-waiter CON ID
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Function: waiter-exists-p CON ID
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Function: waiter-reject-fn ENTRY
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)

Function: waiter-resolve-fn ENTRY
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Generic functions

Generic Function: connection-framer OBJECT
Generic Function: (setf connection-framer) NEW-VALUE OBJECT
Package

mtgnet-sys

Methods
Method: connection-framer (RPC-CONNECTION rpc-connection)

automatically generated reader method

Source

cl-mtgnet.lisp (file)

Method: (setf connection-framer) NEW-VALUE (RPC-CONNECTION rpc-connection)

automatically generated writer method

Source

cl-mtgnet.lisp (file)

Generic Function: connection-transport OBJECT
Generic Function: (setf connection-transport) NEW-VALUE OBJECT
Package

mtgnet-sys

Methods
Method: connection-transport (RPC-CONNECTION rpc-connection)

automatically generated reader method

Source

cl-mtgnet.lisp (file)

Method: (setf connection-transport) NEW-VALUE (RPC-CONNECTION rpc-connection)

automatically generated writer method

Source

cl-mtgnet.lisp (file)

Generic Function: current-request OBJECT
Generic Function: (setf current-request) NEW-VALUE OBJECT
Package

mtgnet-sys

Methods
Method: current-request (RPC-CONNECTION rpc-connection)

automatically generated reader method

Source

cl-mtgnet.lisp (file)

Method: (setf current-request) NEW-VALUE (RPC-CONNECTION rpc-connection)

automatically generated writer method

Source

cl-mtgnet.lisp (file)

Generic Function: external-format OBJECT
Generic Function: (setf external-format) NEW-VALUE OBJECT
Package

mtgnet-sys

Methods
Method: external-format (STRING-INPUT-TRANSPORT string-input-transport)

automatically generated reader method

Source

transport.lisp (file)

Method: (setf external-format) NEW-VALUE (STRING-INPUT-TRANSPORT string-input-transport)

automatically generated writer method

Source

transport.lisp (file)

Method: external-format (STRING-OUTPUT-TRANSPORT string-output-transport)

automatically generated reader method

Source

transport.lisp (file)

Method: (setf external-format) NEW-VALUE (STRING-OUTPUT-TRANSPORT string-output-transport)

automatically generated writer method

Source

transport.lisp (file)

Generic Function: input-data OBJECT
Generic Function: (setf input-data) NEW-VALUE OBJECT
Package

mtgnet-sys

Methods
Method: input-data (STRING-INPUT-TRANSPORT string-input-transport)

automatically generated reader method

Source

transport.lisp (file)

Method: (setf input-data) NEW-VALUE (STRING-INPUT-TRANSPORT string-input-transport)

automatically generated writer method

Source

transport.lisp (file)

Generic Function: input-stream OBJECT
Generic Function: (setf input-stream) NEW-VALUE OBJECT
Package

mtgnet-sys

Methods
Method: input-stream (STRING-INPUT-TRANSPORT string-input-transport)

automatically generated reader method

Source

transport.lisp (file)

Method: (setf input-stream) NEW-VALUE (STRING-INPUT-TRANSPORT string-input-transport)

automatically generated writer method

Source

transport.lisp (file)

Generic Function: next-response-promise OBJECT
Generic Function: (setf next-response-promise) NEW-VALUE OBJECT
Package

mtgnet-sys

Methods
Method: next-response-promise (RPC-CONNECTION rpc-connection)

automatically generated reader method

Source

cl-mtgnet.lisp (file)

Method: (setf next-response-promise) NEW-VALUE (RPC-CONNECTION rpc-connection)

automatically generated writer method

Source

cl-mtgnet.lisp (file)

Generic Function: obj-json CONDITION
Generic Function: (setf obj-json) NEW-VALUE CONDITION
Package

mtgnet-sys

Methods
Method: obj-json (CONDITION invalid-json-obj)
Method: (setf obj-json) NEW-VALUE (CONDITION invalid-json-obj)
Source

marshall.lisp (file)

Generic Function: obj-type CONDITION
Generic Function: (setf obj-type) NEW-VALUE CONDITION
Package

mtgnet-sys

Methods
Method: obj-type (CONDITION invalid-json-obj)
Method: (setf obj-type) NEW-VALUE (CONDITION invalid-json-obj)
Source

marshall.lisp (file)

Generic Function: output-stream OBJECT
Generic Function: (setf output-stream) NEW-VALUE OBJECT
Package

mtgnet-sys

Methods
Method: output-stream (STRING-OUTPUT-TRANSPORT string-output-transport)

automatically generated reader method

Source

transport.lisp (file)

Method: (setf output-stream) NEW-VALUE (STRING-OUTPUT-TRANSPORT string-output-transport)

automatically generated writer method

Source

transport.lisp (file)

Generic Function: result-bucket OBJECT
Generic Function: (setf result-bucket) NEW-VALUE OBJECT
Package

mtgnet-sys

Methods
Method: result-bucket (RPC-CONNECTION rpc-connection)

automatically generated reader method

Source

cl-mtgnet.lisp (file)

Method: (setf result-bucket) NEW-VALUE (RPC-CONNECTION rpc-connection)

automatically generated writer method

Source

cl-mtgnet.lisp (file)

Generic Function: result-waiters OBJECT
Generic Function: (setf result-waiters) NEW-VALUE OBJECT
Package

mtgnet-sys

Methods
Method: result-waiters (RPC-CONNECTION rpc-connection)

automatically generated reader method

Source

cl-mtgnet.lisp (file)

Method: (setf result-waiters) NEW-VALUE (RPC-CONNECTION rpc-connection)

automatically generated writer method

Source

cl-mtgnet.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Types

Type: id ()
Package

mtgnet-sys

Source

cl-mtgnet.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
cl-mtgnet.asd: The cl-mtgnet<dot>asd file
cl-mtgnet/cl-mtgnet.lisp: The cl-mtgnet/cl-mtgnet<dot>lisp file
cl-mtgnet/framer.lisp: The cl-mtgnet/framer<dot>lisp file
cl-mtgnet/marshall.lisp: The cl-mtgnet/marshall<dot>lisp file
cl-mtgnet/package.lisp: The cl-mtgnet/package<dot>lisp file
cl-mtgnet/transport.lisp: The cl-mtgnet/transport<dot>lisp file

F
File, Lisp, cl-mtgnet.asd: The cl-mtgnet<dot>asd file
File, Lisp, cl-mtgnet/cl-mtgnet.lisp: The cl-mtgnet/cl-mtgnet<dot>lisp file
File, Lisp, cl-mtgnet/framer.lisp: The cl-mtgnet/framer<dot>lisp file
File, Lisp, cl-mtgnet/marshall.lisp: The cl-mtgnet/marshall<dot>lisp file
File, Lisp, cl-mtgnet/package.lisp: The cl-mtgnet/package<dot>lisp file
File, Lisp, cl-mtgnet/transport.lisp: The cl-mtgnet/transport<dot>lisp file

L
Lisp File, cl-mtgnet.asd: The cl-mtgnet<dot>asd file
Lisp File, cl-mtgnet/cl-mtgnet.lisp: The cl-mtgnet/cl-mtgnet<dot>lisp file
Lisp File, cl-mtgnet/framer.lisp: The cl-mtgnet/framer<dot>lisp file
Lisp File, cl-mtgnet/marshall.lisp: The cl-mtgnet/marshall<dot>lisp file
Lisp File, cl-mtgnet/package.lisp: The cl-mtgnet/package<dot>lisp file
Lisp File, cl-mtgnet/transport.lisp: The cl-mtgnet/transport<dot>lisp file

Jump to:   C   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (  
A   B   C   D   E   F   G   H   I   M   N   O   P   R   S   T   U   W  
Index Entry  Section

(
(setf connection-framer): Internal generic functions
(setf connection-framer): Internal generic functions
(setf connection-transport): Internal generic functions
(setf connection-transport): Internal generic functions
(setf current-request): Internal generic functions
(setf current-request): Internal generic functions
(setf external-format): Internal generic functions
(setf external-format): Internal generic functions
(setf external-format): Internal generic functions
(setf input-data): Internal generic functions
(setf input-data): Internal generic functions
(setf input-stream): Internal generic functions
(setf input-stream): Internal generic functions
(setf netstring-state): Exported generic functions
(setf netstring-state): Exported generic functions
(setf next-response-promise): Internal generic functions
(setf next-response-promise): Internal generic functions
(setf obj-json): Internal generic functions
(setf obj-json): Internal generic functions
(setf obj-type): Internal generic functions
(setf obj-type): Internal generic functions
(setf output-stream): Internal generic functions
(setf output-stream): Internal generic functions
(setf remote-error-code): Exported generic functions
(setf remote-error-code): Exported generic functions
(setf remote-error-data): Exported generic functions
(setf remote-error-data): Exported generic functions
(setf remote-error-msg): Exported generic functions
(setf remote-error-msg): Exported generic functions
(setf remote-error-type): Exported generic functions
(setf remote-error-type): Exported generic functions
(setf remote-warning-code): Exported generic functions
(setf remote-warning-code): Exported generic functions
(setf remote-warning-data): Exported generic functions
(setf remote-warning-data): Exported generic functions
(setf remote-warning-msg): Exported generic functions
(setf remote-warning-msg): Exported generic functions
(setf result-bucket): Internal generic functions
(setf result-bucket): Internal generic functions
(setf result-waiters): Internal generic functions
(setf result-waiters): Internal generic functions

A
add-result: Exported generic functions
add-result: Exported generic functions

B
bind-args: Internal macros
build-arg-list: Internal functions
build-rpc-call: Exported functions
build-rpc-error: Exported functions
build-rpc-request: Exported functions
build-rpc-response: Exported functions
build-rpc-result: Exported functions
build-rpc-warning-list: Exported functions

C
cat-symbol: Internal functions
connect: Exported generic functions
connect: Exported generic functions
connection-framer: Internal generic functions
connection-framer: Internal generic functions
connection-transport: Internal generic functions
connection-transport: Internal generic functions
copy-rpc-call: Internal functions
copy-rpc-error: Internal functions
copy-rpc-result: Internal functions
current-request: Internal generic functions
current-request: Internal generic functions

D
define-json-obj: Internal macros
define-object-array: Internal macros
disconnect: Exported generic functions
disconnect: Exported generic functions

E
encode-field: Internal functions
external-format: Internal generic functions
external-format: Internal generic functions
external-format: Internal generic functions

F
frame-data: Exported generic functions
frame-data: Exported generic functions
frame-data*: Exported generic functions
frame-data*: Exported generic functions
Function, build-arg-list: Internal functions
Function, build-rpc-call: Exported functions
Function, build-rpc-error: Exported functions
Function, build-rpc-request: Exported functions
Function, build-rpc-response: Exported functions
Function, build-rpc-result: Exported functions
Function, build-rpc-warning-list: Exported functions
Function, cat-symbol: Internal functions
Function, copy-rpc-call: Internal functions
Function, copy-rpc-error: Internal functions
Function, copy-rpc-result: Internal functions
Function, encode-field: Internal functions
Function, has-key: Internal functions
Function, invoke-rpc-method: Exported functions
Function, make-call-obj: Exported functions
Function, make-result-promise: Exported functions
Function, make-rpc-call: Exported functions
Function, make-rpc-error: Exported functions
Function, make-rpc-result: Exported functions
Function, marshall-arg-list: Internal functions
Function, marshall-rpc-call: Exported functions
Function, marshall-rpc-error: Exported functions
Function, marshall-rpc-request: Exported functions
Function, marshall-rpc-response: Exported functions
Function, marshall-rpc-result: Exported functions
Function, marshall-rpc-warning-list: Exported functions
Function, optional-slot-p: Internal functions
Function, read-result-with-id: Internal functions
Function, register-waiter: Internal functions
Function, reject-waiter: Internal functions
Function, resolve-waiter: Internal functions
Function, rpc-call-args: Exported functions
Function, rpc-call-id: Exported functions
Function, rpc-call-method: Exported functions
Function, rpc-call-p: Exported functions
Function, rpc-call-promise: Exported functions
Function, rpc-call-service: Exported functions
Function, rpc-error-code: Exported functions
Function, rpc-error-data: Exported functions
Function, rpc-error-message: Exported functions
Function, rpc-error-p: Exported functions
Function, rpc-request-p: Exported functions
Function, rpc-response-p: Exported functions
Function, rpc-result-data: Exported functions
Function, rpc-result-error: Exported functions
Function, rpc-result-id: Exported functions
Function, rpc-result-p: Exported functions
Function, rpc-result-warnings: Exported functions
Function, rpc-warning-list-p: Exported functions
Function, serial-slot-p: Internal functions
Function, slot-key: Internal functions
Function, slot-marshall-type: Internal functions
Function, slot-optional-p: Internal functions
Function, slot-symbol: Internal functions
Function, unmarshall-rpc-call: Exported functions
Function, unmarshall-rpc-error: Exported functions
Function, unmarshall-rpc-request: Exported functions
Function, unmarshall-rpc-response: Exported functions
Function, unmarshall-rpc-result: Exported functions
Function, unmarshall-rpc-warning-list: Exported functions
Function, unregister-waiter: Internal functions
Function, waiter-exists-p: Internal functions
Function, waiter-reject-fn: Internal functions
Function, waiter-resolve-fn: Internal functions

G
Generic Function, (setf connection-framer): Internal generic functions
Generic Function, (setf connection-transport): Internal generic functions
Generic Function, (setf current-request): Internal generic functions
Generic Function, (setf external-format): Internal generic functions
Generic Function, (setf input-data): Internal generic functions
Generic Function, (setf input-stream): Internal generic functions
Generic Function, (setf netstring-state): Exported generic functions
Generic Function, (setf next-response-promise): Internal generic functions
Generic Function, (setf obj-json): Internal generic functions
Generic Function, (setf obj-type): Internal generic functions
Generic Function, (setf output-stream): Internal generic functions
Generic Function, (setf remote-error-code): Exported generic functions
Generic Function, (setf remote-error-data): Exported generic functions
Generic Function, (setf remote-error-msg): Exported generic functions
Generic Function, (setf remote-error-type): Exported generic functions
Generic Function, (setf remote-warning-code): Exported generic functions
Generic Function, (setf remote-warning-data): Exported generic functions
Generic Function, (setf remote-warning-msg): Exported generic functions
Generic Function, (setf result-bucket): Internal generic functions
Generic Function, (setf result-waiters): Internal generic functions
Generic Function, add-result: Exported generic functions
Generic Function, connect: Exported generic functions
Generic Function, connection-framer: Internal generic functions
Generic Function, connection-transport: Internal generic functions
Generic Function, current-request: Internal generic functions
Generic Function, disconnect: Exported generic functions
Generic Function, external-format: Internal generic functions
Generic Function, frame-data: Exported generic functions
Generic Function, frame-data*: Exported generic functions
Generic Function, input-data: Internal generic functions
Generic Function, input-stream: Internal generic functions
Generic Function, netstring-state: Exported generic functions
Generic Function, next-response-promise: Internal generic functions
Generic Function, obj-json: Internal generic functions
Generic Function, obj-type: Internal generic functions
Generic Function, output-stream: Internal generic functions
Generic Function, process-next-response: Exported generic functions
Generic Function, read-frame: Exported generic functions
Generic Function, read-request: Exported generic functions
Generic Function, read-response: Exported generic functions
Generic Function, receive-frame: Exported generic functions
Generic Function, remote-error-code: Exported generic functions
Generic Function, remote-error-data: Exported generic functions
Generic Function, remote-error-msg: Exported generic functions
Generic Function, remote-error-type: Exported generic functions
Generic Function, remote-warning-code: Exported generic functions
Generic Function, remote-warning-data: Exported generic functions
Generic Function, remote-warning-msg: Exported generic functions
Generic Function, result-bucket: Internal generic functions
Generic Function, result-waiters: Internal generic functions
Generic Function, send-frame: Exported generic functions
Generic Function, send-frame*: Exported generic functions
Generic Function, send-request: Exported generic functions
Generic Function, send-response: Exported generic functions
Generic Function, submit-batch: Exported generic functions
Generic Function, transport-connect: Exported generic functions
Generic Function, transport-disconnect: Exported generic functions
Generic Function, transport-flush: Exported generic functions
Generic Function, transport-read: Exported generic functions
Generic Function, transport-read-into!: Exported generic functions
Generic Function, transport-write: Exported generic functions
Generic Function, unframe-data: Exported generic functions
Generic Function, write-frame: Exported generic functions

H
has-key: Internal functions

I
input-data: Internal generic functions
input-data: Internal generic functions
input-stream: Internal generic functions
input-stream: Internal generic functions
invoke-rpc-method: Exported functions

M
Macro, bind-args: Internal macros
Macro, define-json-obj: Internal macros
Macro, define-object-array: Internal macros
Macro, with-batch-calls: Exported macros
make-call-obj: Exported functions
make-result-promise: Exported functions
make-rpc-call: Exported functions
make-rpc-error: Exported functions
make-rpc-result: Exported functions
marshall-arg-list: Internal functions
marshall-rpc-call: Exported functions
marshall-rpc-error: Exported functions
marshall-rpc-request: Exported functions
marshall-rpc-response: Exported functions
marshall-rpc-result: Exported functions
marshall-rpc-warning-list: Exported functions
Method, (setf connection-framer): Internal generic functions
Method, (setf connection-transport): Internal generic functions
Method, (setf current-request): Internal generic functions
Method, (setf external-format): Internal generic functions
Method, (setf external-format): Internal generic functions
Method, (setf input-data): Internal generic functions
Method, (setf input-stream): Internal generic functions
Method, (setf netstring-state): Exported generic functions
Method, (setf next-response-promise): Internal generic functions
Method, (setf obj-json): Internal generic functions
Method, (setf obj-type): Internal generic functions
Method, (setf output-stream): Internal generic functions
Method, (setf remote-error-code): Exported generic functions
Method, (setf remote-error-data): Exported generic functions
Method, (setf remote-error-msg): Exported generic functions
Method, (setf remote-error-type): Exported generic functions
Method, (setf remote-warning-code): Exported generic functions
Method, (setf remote-warning-data): Exported generic functions
Method, (setf remote-warning-msg): Exported generic functions
Method, (setf result-bucket): Internal generic functions
Method, (setf result-waiters): Internal generic functions
Method, add-result: Exported generic functions
Method, connect: Exported generic functions
Method, connection-framer: Internal generic functions
Method, connection-transport: Internal generic functions
Method, current-request: Internal generic functions
Method, disconnect: Exported generic functions
Method, external-format: Internal generic functions
Method, external-format: Internal generic functions
Method, frame-data: Exported generic functions
Method, frame-data*: Exported generic functions
Method, input-data: Internal generic functions
Method, input-stream: Internal generic functions
Method, netstring-state: Exported generic functions
Method, next-response-promise: Internal generic functions
Method, obj-json: Internal generic functions
Method, obj-type: Internal generic functions
Method, output-stream: Internal generic functions
Method, process-next-response: Exported generic functions
Method, read-frame: Exported generic functions
Method, read-request: Exported generic functions
Method, read-response: Exported generic functions
Method, receive-frame: Exported generic functions
Method, remote-error-code: Exported generic functions
Method, remote-error-data: Exported generic functions
Method, remote-error-msg: Exported generic functions
Method, remote-error-type: Exported generic functions
Method, remote-warning-code: Exported generic functions
Method, remote-warning-data: Exported generic functions
Method, remote-warning-msg: Exported generic functions
Method, result-bucket: Internal generic functions
Method, result-waiters: Internal generic functions
Method, send-frame: Exported generic functions
Method, send-frame*: Exported generic functions
Method, send-request: Exported generic functions
Method, send-response: Exported generic functions
Method, submit-batch: Exported generic functions
Method, transport-connect: Exported generic functions
Method, transport-connect: Exported generic functions
Method, transport-disconnect: Exported generic functions
Method, transport-disconnect: Exported generic functions
Method, transport-flush: Exported generic functions
Method, transport-flush: Exported generic functions
Method, transport-read: Exported generic functions
Method, transport-read-into!: Exported generic functions
Method, transport-write: Exported generic functions
Method, unframe-data: Exported generic functions
Method, write-frame: Exported generic functions

N
netstring-state: Exported generic functions
netstring-state: Exported generic functions
next-response-promise: Internal generic functions
next-response-promise: Internal generic functions

O
obj-json: Internal generic functions
obj-json: Internal generic functions
obj-type: Internal generic functions
obj-type: Internal generic functions
optional-slot-p: Internal functions
output-stream: Internal generic functions
output-stream: Internal generic functions

P
process-next-response: Exported generic functions
process-next-response: Exported generic functions

R
read-frame: Exported generic functions
read-frame: Exported generic functions
read-request: Exported generic functions
read-request: Exported generic functions
read-response: Exported generic functions
read-response: Exported generic functions
read-result-with-id: Internal functions
receive-frame: Exported generic functions
receive-frame: Exported generic functions
register-waiter: Internal functions
reject-waiter: Internal functions
remote-error-code: Exported generic functions
remote-error-code: Exported generic functions
remote-error-data: Exported generic functions
remote-error-data: Exported generic functions
remote-error-msg: Exported generic functions
remote-error-msg: Exported generic functions
remote-error-type: Exported generic functions
remote-error-type: Exported generic functions
remote-warning-code: Exported generic functions
remote-warning-code: Exported generic functions
remote-warning-data: Exported generic functions
remote-warning-data: Exported generic functions
remote-warning-msg: Exported generic functions
remote-warning-msg: Exported generic functions
resolve-waiter: Internal functions
result-bucket: Internal generic functions
result-bucket: Internal generic functions
result-waiters: Internal generic functions
result-waiters: Internal generic functions
rpc-call-args: Exported functions
rpc-call-id: Exported functions
rpc-call-method: Exported functions
rpc-call-p: Exported functions
rpc-call-promise: Exported functions
rpc-call-service: Exported functions
rpc-error-code: Exported functions
rpc-error-data: Exported functions
rpc-error-message: Exported functions
rpc-error-p: Exported functions
rpc-request-p: Exported functions
rpc-response-p: Exported functions
rpc-result-data: Exported functions
rpc-result-error: Exported functions
rpc-result-id: Exported functions
rpc-result-p: Exported functions
rpc-result-warnings: Exported functions
rpc-warning-list-p: Exported functions

S
send-frame: Exported generic functions
send-frame: Exported generic functions
send-frame*: Exported generic functions
send-frame*: Exported generic functions
send-request: Exported generic functions
send-request: Exported generic functions
send-response: Exported generic functions
send-response: Exported generic functions
serial-slot-p: Internal functions
slot-key: Internal functions
slot-marshall-type: Internal functions
slot-optional-p: Internal functions
slot-symbol: Internal functions
submit-batch: Exported generic functions
submit-batch: Exported generic functions

T
transport-connect: Exported generic functions
transport-connect: Exported generic functions
transport-connect: Exported generic functions
transport-disconnect: Exported generic functions
transport-disconnect: Exported generic functions
transport-disconnect: Exported generic functions
transport-flush: Exported generic functions
transport-flush: Exported generic functions
transport-flush: Exported generic functions
transport-read: Exported generic functions
transport-read: Exported generic functions
transport-read-into!: Exported generic functions
transport-read-into!: Exported generic functions
transport-write: Exported generic functions
transport-write: Exported generic functions

U
unframe-data: Exported generic functions
unframe-data: Exported generic functions
unmarshall-rpc-call: Exported functions
unmarshall-rpc-error: Exported functions
unmarshall-rpc-request: Exported functions
unmarshall-rpc-response: Exported functions
unmarshall-rpc-result: Exported functions
unmarshall-rpc-warning-list: Exported functions
unregister-waiter: Internal functions

W
waiter-exists-p: Internal functions
waiter-reject-fn: Internal functions
waiter-resolve-fn: Internal functions
with-batch-calls: Exported macros
write-frame: Exported generic functions
write-frame: Exported generic functions

Jump to:   (  
A   B   C   D   E   F   G   H   I   M   N   O   P   R   S   T   U   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
A   C   D   E   F   I   J   M   N   R   S   T   W  
Index Entry  Section

*
*default-encoder*: Exported special variables

A
args: Exported structures

C
code: Exported conditions
code: Exported conditions
code: Exported structures
current-request: Exported classes

D
data: Exported conditions
data: Exported conditions
data: Exported structures
data: Exported structures
data: Exported classes

E
error: Exported structures
external-format: Exported classes
external-format: Exported classes

F
framer: Exported classes

I
id: Exported conditions
id: Exported structures
id: Exported structures

J
json: Exported conditions

M
message: Exported structures
method: Exported structures
msg: Exported conditions
msg: Exported conditions

N
next-response: Exported classes

R
result-bucket: Exported classes
result-waiters: Exported classes

S
service: Exported structures
Slot, args: Exported structures
Slot, code: Exported conditions
Slot, code: Exported conditions
Slot, code: Exported structures
Slot, current-request: Exported classes
Slot, data: Exported conditions
Slot, data: Exported conditions
Slot, data: Exported structures
Slot, data: Exported structures
Slot, data: Exported classes
Slot, error: Exported structures
Slot, external-format: Exported classes
Slot, external-format: Exported classes
Slot, framer: Exported classes
Slot, id: Exported conditions
Slot, id: Exported structures
Slot, id: Exported structures
Slot, json: Exported conditions
Slot, message: Exported structures
Slot, method: Exported structures
Slot, msg: Exported conditions
Slot, msg: Exported conditions
Slot, next-response: Exported classes
Slot, result-bucket: Exported classes
Slot, result-waiters: Exported classes
Slot, service: Exported structures
Slot, state: Exported classes
Slot, stream: Exported classes
Slot, stream: Exported classes
Slot, transport: Exported classes
Slot, type: Exported conditions
Slot, type: Exported conditions
Slot, warnings: Exported structures
Special Variable, *default-encoder*: Exported special variables
state: Exported classes
stream: Exported classes
stream: Exported classes

T
transport: Exported classes
type: Exported conditions
type: Exported conditions

W
warnings: Exported structures

Jump to:   *  
A   C   D   E   F   I   J   M   N   R   S   T   W  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

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

C
cl-mtgnet: The cl-mtgnet system
cl-mtgnet: The cl-mtgnet package
Class, data-framer: Exported classes
Class, netstring-framer: Exported classes
Class, rpc-connection: Exported classes
Class, string-input-transport: Exported classes
Class, string-output-transport: Exported classes
Class, synchronous-transport: Exported classes
Class, transport: Exported classes
Condition, duplicate-result-id: Exported conditions
Condition, invalid-json-obj: Exported conditions
Condition, remote-error: Exported conditions
Condition, remote-warning: Exported conditions

D
data-framer: Exported classes
duplicate-result-id: Exported conditions

I
id: Internal types
invalid-json-obj: Exported conditions

M
mtgnet-sys: The mtgnet-sys package

N
netstring-framer: Exported classes

P
Package, cl-mtgnet: The cl-mtgnet package
Package, mtgnet-sys: The mtgnet-sys package

R
remote-error: Exported conditions
remote-warning: Exported conditions
rpc-call: Exported structures
rpc-connection: Exported classes
rpc-error: Exported structures
rpc-request: Exported types
rpc-response: Exported types
rpc-result: Exported structures
rpc-warning-list: Exported types

S
string-input-transport: Exported classes
string-output-transport: Exported classes
Structure, rpc-call: Exported structures
Structure, rpc-error: Exported structures
Structure, rpc-result: Exported structures
synchronous-transport: Exported classes
System, cl-mtgnet: The cl-mtgnet system

T
transport: Exported classes
Type, id: Internal types
Type, rpc-request: Exported types
Type, rpc-response: Exported types
Type, rpc-warning-list: Exported types

Jump to:   C   D   I   M   N   P   R   S   T