Changes between Version 45 and Version 46 of Clojure Client Tutorial
- Timestamp:
- Aug 8, 2011 1:25:33 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Clojure Client Tutorial
v45 v46 58 58 == Client Usage Tutorial == 59 59 60 === Basic Functionality === 60 61 Now it is time to learn to use the client. cd to the top level directory and typu "lein repl". If everything went smoothly you'll see something about no rlwrap and the prompt. 61 62 … … 138 139 Note that control of the terminal does not return until the bot has completed his action. 139 140 141 === Defining New Commands === 140 142 Now say you want to define a function on the fly to send an op to the server, this can be done with either "send-and-forget", "send-and-get", "send-and-get-later", and "send-and-watch". These functions provide a human-readable interface to protocol zero by mapping all of the op codes to keywords. Here is the full list of keyword arguments subject to change). 141 143 … … 423 425 424 426 This function returns a watcher key that can be used to remove the watcher if desired. Note that this example only makes used the (n)ew argument. 427 428 === Controlling Multiple Quagents === 425 429 ---- 426 430