Changeset 27 for branches


Ignore:
Timestamp:
01/06/07 04:42:00 (18 years ago)
Author:
psmith
Message:

Added first steps of YetAnotherRPC protocol

Location:
branches/home/psmith/restructure
Files:
6 added
3 edited
1 copied
1 moved

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/home/psmith/restructure/patches/cffi_0.9.2-mem_rw.diff

    r25 r27  
    1919>   (loop for i below count
    2020>       for off from offset by (%foreign-type-size type)
    21 >             do (setf (%mem-ref ptr type off) (aref vector i))
     21>             do (%mem-set (aref vector i) ptr type off)
    2222>                   finally (return i)))
    2323>
  • TabularUnified branches/home/psmith/restructure/run-yarpc.lisp

    r25 r27  
    11(push :nio-debug *features*)
    22(require :asdf)
    3 (require :nio-http)
    4 (nio:start-server 'identity 'identity 'nio-http:http-state-machine :host "127.0.0.1")
     3(require :nio-yarpc)
     4(nio:start-server 'identity 'identity 'nio-yarpc:yarpc-state-machine :host "127.0.0.1")
  • TabularUnified branches/home/psmith/restructure/src/buffer/buffer.lisp

    r14 r27  
    130130;;TODO
    131131;;mem-write-vector (vector ptr type &optional (count (length vector)) (offset 0))
    132 (defmethod bytebuffer-write-string((byte-buffer byte-buffer) str &optional (index 0))
     132(defmethod bytebuffer-write-string((byte-buffer byte-buffer) str &optional (index 0) (external-format :ascii))
    133133  :documentation "Returns number of bytes written to bytebuffer"
    134   (bytebuffer-write-vector byte-buffer (sb-ext:string-to-octets str :external-format :ascii)))
     134  (bytebuffer-write-vector byte-buffer (sb-ext:string-to-octets str :external-format external-format)))
    135135
    136136;;TODO rename
  • TabularUnified branches/home/psmith/restructure/src/buffer/nio-buffer-package.lisp

    r19 r27  
    2828           
    2929            (:export
    30              byte-buffer free-buffer remaining inc-position get-string buffer-buf bytebuffer-write-vector flip map-to-foreign
     30             byte-buffer free-buffer remaining inc-position get-string buffer-buf bytebuffer-write-vector bytebuffer-write-string flip map-to-foreign
    3131             ))
Note: See TracChangeset for help on using the changeset viewer.