blob: 2655639a570d009e0b82abb7d6411988f83d6f46 (
plain)
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
35
36
37
38
39
|
[Client] Romeo
jid: user@localhost
password: password
[Client] Juliet
jid: juliet@localhost
password: password
---------
Romeo connects
Juliet connects
Romeo sends:
<presence/>
Romeo receives:
<presence from="${Romeo's full JID}" />
Romeo sends:
<iq type="get" id="roster1">
<query xmlns='jabber:iq:roster'/>
</iq>
Romeo receives:
<iq type="result" id="roster1">
<query xmlns="jabber:iq:roster"/>
</iq>
Romeo disconnects
#Juliet receives:
# <presence from="${Romeo's full JID}" />
#
#Juliet receives:
# <presence from="${Romeo's full JID}" type="unavailable" />
#
#Juliet disconnects
|