Tigase8.0 source code analysis: three message transfer articles

The XMPP <message /> section using the basic "push" method to get the information from one place to another. Because the message is usually not informed, they are a "fire-and-forget" (emitted from the object of finding) mechanism to quickly acquire from a place to another information
message section of five different types, by type attribute to distinguish: for example, type chat chat message exchange in real-time dialogue between the two entities, such as instant messaging chat between two friends. In addition to the type attribute, further comprising a message section to and from the address, and it may also contain an id attribute for tracking purposes (IDs we discuss in detail the use of a wider section of IQ). to address is the intended recipient
JabberID, from the sender's address is JabberID. from sending help address provided by the client, but added postmarked by the sender's server to prevent address spoofing.

The following is the complete message flow:

Tigase8 message flow -310790965QQ

Guess you like

Origin www.cnblogs.com/eyecool/p/12621298.html