forked from brandon-rhodes/fopnp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path15-imap.diag
34 lines (34 loc) · 836 Bytes
/
15-imap.diag
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
seqdiag {
span_height = 4;
default_fontsize = 10;
Python -> "IMAP Server" [
leftnote="c = IMAPClient(hostname)",
rightnote="TCP accept()"
];
Python <- "IMAP Server" [
label = "* OK IMAP4rev1 Service Ready"
];
Python -> "IMAP Server" [
leftnote="c.login('guido', 'bdfl')",
label = "a001 login guido bdfl"
];
Python <- "IMAP Server" [
label = "a001 OK LOGIN completed"
];
Python -> "IMAP Server" [
leftnote="c.select_folder('inbox')",
label = "a002 select inbox"
];
Python <- "IMAP Server" [
leftnote="{'EXISTS': 3,\n…'RECENT': 0}",
label = "… a002 OK … SELECT completed"
];
Python -> "IMAP Server" [
leftnote="c.logout()",
label = "a003 logout"
];
Python <- "IMAP Server" [
rightnote="TCP close()",
label = "a003 OK LOGOUT completed"
];
}