Subject: Some problems about XMPP IM spec
hi~
1.I would like to know how to define a new message type.
ex.chat,error,groupchat,normal...etc.
2.What is the 'priority' mean? I couldn't understand the word 'resource' which in my cite below mean.
cite from http://www.ietf.org/rfc/rfc3921.txt
The OPTIONAL <priority/> element contains non-human-readable XML
character data that specifies the priority level of the resource....
3.<iq xmlns="jabber:client" id="agsXMPP_1" type="set" to="gmail.com"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>MiniClient</resource></bind></iq>
I want to know what does 'id' means.Why does it keep increase and send to server so many times?And if I feel like to know more about these messages where can I find the informations.
thanks a lot~
1.I would like to know how to define a new message type.
ex.chat,error,groupchat,normal...etc.
2.What is the 'priority' mean? I couldn't understand the word 'resource' which in my cite below mean.
cite from http://www.ietf.org/rfc/rfc3921.txt
The OPTIONAL <priority/> element contains non-human-readable XML
character data that specifies the priority level of the resource....
3.<iq xmlns="jabber:client" id="agsXMPP_1" type="set" to="gmail.com"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>MiniClient</resource></bind></iq>
I want to know what does 'id' means.Why does it keep increase and send to server so many times?And if I feel like to know more about these messages where can I find the informations.
thanks a lot~