docs/diploma
changeset 329:c4d78cd40827
new ipc state diagram pic
author | meillo@marmaro.de |
---|---|
date | Fri, 23 Jan 2009 21:55:37 +0100 |
parents | 2b1da14922f7 |
children | 0e8c19c4b6ba |
files | thesis/attic/ascii-pics/ipc-protocol.txt thesis/img/Makefile thesis/img/ipc-protocol.pic thesis/input/ipc-protocol.txt |
diffstat | 4 files changed, 57 insertions(+), 15 deletions(-) [+] |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/thesis/attic/ascii-pics/ipc-protocol.txt Fri Jan 23 21:55:37 2009 +0100 1.3 @@ -0,0 +1,15 @@ 1.4 + 1.5 + +---+ connect +---+ 0 +---+ send +---+ 0 +---+ send +---+ 0 +---+ 1.6 + | B |--------->| W |---->| |------>| W |---->| |------>| W |---->| S | 1.7 + +---+ attempt +---+ +---+ hdr +---+ +---+ data +---+ +---+ 1.8 + | | | 1.9 + | 1 | 1 | 1 1.10 + V V V 1.11 + +---+ +---+ +---+ 1.12 + | E | | E | | E | 1.13 + +---+ +---+ +---+ 1.14 + 1.15 +B: begin 1.16 +W: wait 1.17 +E: error 1.18 +S: success
2.1 --- a/thesis/img/Makefile Fri Jan 23 18:40:12 2009 +0100 2.2 +++ b/thesis/img/Makefile Fri Jan 23 21:55:37 2009 +0100 2.3 @@ -14,6 +14,7 @@ 2.4 masqmail-typical-usage.eps \ 2.5 masqmail-channels.eps \ 2.6 proxy-setup.eps \ 2.7 +ipc-protocol.eps \ 2.8 2.9 2.10 .PHONY: all
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/thesis/img/ipc-protocol.pic Fri Jan 23 21:55:37 2009 +0100 3.3 @@ -0,0 +1,41 @@ 3.4 +.PS 3.5 +# ipc-protocol 3.6 + 3.7 +boxwid = 0.3 3.8 +boxht = 0.3 3.9 + 3.10 +linewid = 0.8 3.11 + 3.12 + 3.13 +B: box "B" 3.14 +arrow linewid*1.3 "connection" "attempt" 3.15 + 3.16 +W1: box "W" 3.17 +arrow linewid/2 dashed "0" "" 3.18 +box "" 3.19 +arrow "header" "transfer" 3.20 + 3.21 +W2: box "W" 3.22 +arrow linewid/2 dashed "0" "" 3.23 +box "" 3.24 +arrow "body" "transfer" 3.25 + 3.26 +W3: box "W" 3.27 +arrow linewid/2 dashed "0" "" 3.28 + 3.29 +S: box "S" 3.30 + 3.31 +down 3.32 +arrow dashed down from W1.s " 1" 3.33 +box "E" 3.34 + 3.35 +arrow dashed down from W2.s " 1" 3.36 +box "E" 3.37 + 3.38 +arrow dashed down from W3.s " 1" 3.39 +box "E" 3.40 + 3.41 + 3.42 +"\fI" "B: begin" ljust "W: wait for reply" ljust "E: error" ljust "S: success" ljust "\fR" at B.sw -(0,0.5) 3.43 + 3.44 +.PE
4.1 --- a/thesis/input/ipc-protocol.txt Fri Jan 23 18:40:12 2009 +0100 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,15 +0,0 @@ 4.4 - 4.5 - +---+ connect +---+ 0 +---+ send +---+ 0 +---+ send +---+ 0 +---+ 4.6 - | B |--------->| W |---->| |------>| W |---->| |------>| W |---->| S | 4.7 - +---+ attempt +---+ +---+ hdr +---+ +---+ data +---+ +---+ 4.8 - | | | 4.9 - | 1 | 1 | 1 4.10 - V V V 4.11 - +---+ +---+ +---+ 4.12 - | E | | E | | E | 4.13 - +---+ +---+ +---+ 4.14 - 4.15 -B: begin 4.16 -W: wait 4.17 -E: error 4.18 -S: success