Form |
Description |
(SXRPC <version>) |
Flags that this connection uses SXRPC and is the
given version. |
(REJECT <reason> <opts...>) |
Rejects the connection for the given reason. |
(OK) |
Connection was accepted. |
(ASK <property>) |
Asks for the value of a given property. |
(TELL <property> <value>) |
Indicates the value of a given property. |
Name |
Options |
Description |
bad-version |
<valid-version> |
Does not know how to handle that protocol version. |
Syntax |
Description |
(key ...) |
Denotes a form. |
key |
Denotes an unwrapped string. Spaces or the chars
"()[]{}'\;#| are not allowed. |
"text" |
Denotes a wrapped string. Wrapped strings may contain
spaces or other such chars, though '"', newlines, ... are to be escaped (c-stlye
'\' notation). |
|mime| |
Denotes a glob of base64 data (optional). |
Command |
Description |
(pass <proc> (args ...)) |
Pass args to proc without sending a return, proc
uses "Link Notation". |
(call <proc> (args ...)) |
Calls the target identified in proc and uses args.
Sends a return. |
(return <value>) |
Sends a return value. Returns are to be sent in
the same order calls are recieved. |
(error <err-name> <opts...>) |
Flags that there was an error with the message. |
Name |
Options |
Description |
bad-command |
<command-name> |
Should be sent by a node in response to an unknown
command. The sender should stop sending this command. |
bad-type |
<type-name> |
Should be sent by a node in response to an unknown
type. The sender should stop sending this type. |
bad-proc |
<proc> |
Should be sent by a node in response to an invalid
function. |
Form |
Description |
(int <value>) |
Denotes an integer value. |
(float <value>) |
Denotes a float value. |
(string <string>) |
Denotes the value as a string. |
(base64 <data...>) |
Denotes the following string as a glob of base64
encoded data (needs to be a normal string, not a glob of data, though). |
(time <time-str>) |
Denotes the time in iso 8601 form 'yyyymmddThh:mm:ss' |
(map {<key> <value>}...) |
Generate a 'map' between key and value in each
case. Key is a string naming the value. |
(array <values...>) |
Generate an array of values. |
(link <link-notation>) |
Identifies an object via a link (optional). |
Name |
Description |
(true) |
The value corresponding to the boolean true. |
(false) |
The value corresponding to the boolean false. |
(null) |
The null value. |