Ignore:
Timestamp:
01/07/07 20:08:46 (18 years ago)
Author:
psmith
Message:

Start of remote authorization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/home/psmith/restructure/src/protocol/yarpc/yarpc-state-machine.lisp

    r29 r30  
    3939;; Escape character is '^]'.
    4040;; (test-rpc "who" 2 's)
    41 ;; response - who 2 'S âˆ‘
     41;; response - who 2 'S
    4242;;
    4343(defclass yarpc-state-machine (async-fd)())
     
    5959    (apply (first rpc-call-list) (rest rpc-call-list))))
    6060
    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()
    6267  (list 3 "as" 's (code-char #x2211)))
    6368
    64 (defun test-rpc-string(a b c)
     69(defremote test-rpc-string(a b c)
    6570  (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.