- Timestamp:
- 01/07/07 20:08:46 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/home/psmith/restructure/src/protocol/yarpc/yarpc-state-machine.lisp ¶
r29 r30 39 39 ;; Escape character is '^]'. 40 40 ;; (test-rpc "who" 2 's) 41 ;; response - who 2 'S â41 ;; response - who 2 'S 42 42 ;; 43 43 (defclass yarpc-state-machine (async-fd)()) … … 59 59 (apply (first rpc-call-list) (rest rpc-call-list)))) 60 60 61 (defun test-rpc-list() 61 62 (defmacro defremote (name args &rest body) 63 `(defun ,name (,@args) ,@body)) 64 65 66 (defremote test-rpc-list() 62 67 (list 3 "as" 's (code-char #x2211))) 63 68 64 (def untest-rpc-string(a b c)69 (defremote test-rpc-string(a b c) 65 70 (format nil "response - ~A ~A ~A ~A~%" a b c (code-char #x2211))) 71 72 73 (defremote my-remote-fn (arg1 arg2) 74 (format t "~A~A~%" arg1 arg2))
Note: See TracChangeset
for help on using the changeset viewer.