Começar. É Gratuito
ou inscrever-se com seu endereço de e-mail
XMPP por Mind Map: XMPP

1. CORE

1.1. XMPP Core (RFC-3920)

1.1.1. Client

1.1.1.1. Multiple resources (e.g., devices or locations) MAY connect simultaneously to a server on behalf of each authorized client, with each resource differentiated by the resource identifier of an XMPP address (e.g., <node@domain/ home> vs. <node@domain/work>)

1.1.1.2. RECOMMENDED port for connections between a clientand a server is 5222

1.1.2. Stanza

1.1.2.1. Stanzas

1.1.2.1.1. <presence/>

1.1.2.1.2. <message/>

1.1.2.1.3. <iq/>

1.1.2.2. Encapsulated through XML stream

1.1.2.3. common attributes

1.1.2.3.1. 'to'

1.1.2.3.2. 'from'

1.1.2.3.3. 'id'

1.1.2.3.4. 'type'

1.1.2.3.5. 'xml:lang'

1.1.2.4. errors

1.1.2.4.1. <bad-request/>

1.1.2.4.2. <conflict/>

1.1.2.4.3. <feature-not-implemented/>

1.1.2.4.4. <forbidden/>

1.1.2.4.5. <gone/>

1.1.2.4.6. <internal-server-error/>

1.1.2.4.7. <item-not-found/>

1.1.2.4.8. <jid-malformed/>

1.1.2.4.9. <not-acceptable/>

1.1.2.4.10. <not-allowed/>

1.1.2.4.11. <not-authorized/>

1.1.2.4.12. <payment-required/>

1.1.2.4.13. <recipient-unavailable/>

1.1.2.4.14. <redirect/>

1.1.2.4.15. <registration-required/>

1.1.2.4.16. <remote-server-not-found/>

1.1.2.4.17. <remote-server-timeout/>

1.1.2.4.18. <resource-constraint/>

1.1.2.4.19. <service-unavailable/>

1.1.2.4.20. <subscription-required/>

1.1.2.4.21. <undefined-condition/>

1.1.2.4.22. <unexpected-request/>

1.1.3. XML Stream

1.1.3.1. attributes

1.1.3.1.1. 'to'

1.1.3.1.2. 'from'

1.1.3.1.3. 'id'

1.1.3.1.4. 'xml:lang'

1.1.3.1.5. 'version'

1.1.3.2. error conditions

1.1.3.2.1. <bad-format/>

1.1.3.2.2. <bad-namespace-prefix/>

1.1.3.2.3. <conflict/>

1.1.3.2.4. <connection-timeout/>

1.1.3.2.5. <host-gone/>

1.1.3.2.6. <host-unknown/>

1.1.3.2.7. <improper-addressing/>

1.1.3.2.8. <internal-server-error/>

1.1.3.2.9. <invalid-from/>

1.1.3.2.10. <invalid-id/>

1.1.3.2.11. <invalid-namespace/>

1.1.3.2.12. <invalid-xml/>

1.1.3.2.13. <not-authorized/>

1.1.3.2.14. <policy-violation/>

1.1.3.2.15. <remote-connection-failed/>

1.1.3.2.16. <resource-constraint/>

1.1.3.2.17. <restricted-xml/>

1.1.3.2.18. <see-other-host/>

1.1.3.2.19. <system-shutdown/>

1.1.3.2.20. <undefined-condition/>

1.1.3.2.21. <unsupported-encoding/>

1.1.3.2.22. <unsupported-stanza-type/>

1.1.3.2.23. <unsupported-version/>

1.1.3.2.24. <xml-not-well-formed/>

1.2. XMPP Core (RFC-3921)

2. extensions

2.1. XEP-0001: Extension Protocols

2.1.1. Procedure for accepting/progressing Extension proposals

2.2. XEP-0009: Jabber RPC

2.3. XEP-0030: Service Discovery

2.3.1. A requesting entity may want to discover information about another entity on the network.

2.3.1.1. The target entity's identity

2.3.1.2. The features offered and protocols supported by the target entity.

2.3.2. requesting entity MUST send an IQ stanza of type "get",

2.3.3. Discovering Items

2.4. XEP-0004: Data Forms

2.5. XEP-0077: In-Band Registration

2.6. XEP-0085: Chat State Notifications

2.6.1. Announce through XEP-0030

2.6.1.1. feature of "http://jabber.org/protocol/chatstates":

2.7. XEP-0126: Invisibility

2.8. XEP-0128: Service Discovery Extensions

2.9. XEP-0133: Service Administration

2.10. XEP-0050: Ad-Hoc Commands

2.10.1. Discovering Items

2.10.1.1. Commands

2.10.1.2. Command Information i.e. 'config'

2.10.2. Executing Commands

2.11. XEP-0141: Data Forms Layout

2.12. XEP-0144: Roster Item Exchange

2.13. XEP-0155: Stanza Session Negotiation

2.13.1. This specification defines an XMPP protocol extension for exchanging contact list items, including the ability to suggest whether the item is to be added, deleted, or modified in the contact list of the recipient, as well as the suggested roster group for the item.

2.14. XEP-0156: Discovering Alternative XMPP Connection Methods

2.15. XEP-0158: CAPTCHA Forms

2.16. XEP-0163: Personal Eventing Protocol

2.16.1. This specification defines semantics for using the XMPP publish-subscribe protocol to broadcast state change events associated with an instant messaging and presence account. This profile of pubsub therefore enables a standard XMPP user account to function as a virtual pubsub service, easing the discovery of syndicated data and event notifications associated with such an account.

2.17. XEP-0166: Jingle

2.17.1. This specification defines an XMPP protocol extension for initiating and managing peer-to-peer media sessions between two XMPP entities in a way that is interoperable with existing Internet standards. The protocol provides a pluggable model that enables the core session management semantics (compatible with SIP) to be used for a wide variety of application types (e.g., voice chat, video chat, file transfer) and with a wide variety of transport methods (e.g., TCP, UDP, ICE, application-specific transports).

2.18. XEP-0167: Jingle RTP Sessions

2.19. XEP-0172: User Nickname

2.20. XEP-0174: Serverless Messaging

2.20.1. This specification defines how to communicate over local or wide-area networks using the principles of zero-configuration networking for endpoint discovery and the syntax of XML streams and XMPP messaging for real-time communication. This method uses DNS-based Service Discovery and Multicast DNS to discover entities that support the protocol, including their IP addresses and preferred ports. Any two entities can then negotiate a serverless connection using XML streams in order to exchange XMPP message and IQ stanzas.

2.21. XEP-0182: Application-Specific Error Conditions

2.22. XEP-0184: Message Receipts

2.22.1. This specification defines an XMPP protocol extension for message receipts, whereby the sender of a message can request notification that it has been received by the intended recipient.

2.23. XEP-0191: Simple Communications Blocking

2.24. XEP-0199: XMPP Ping

2.25. XEP-0202: Entity Time

2.26. XEP-0203: Delayed Delivery

2.26.1. This specification defines an XMPP protocol extension for communicating the fact that an XML stanza has been delivered with a delay, for example because a message has been stored on a server while the intended recipient was offline or because a message is contained in the history of a multi-user chat room.

2.27. XEP-0222: Persistent Storage of Public Data via PubSub

2.28. XEP-0223: Persistent Storage of Private Data via PubSub

2.29. XEP-0224: Attention

2.30. XEP-0237: Roster Versioning

2.31. XEP-0045: Multi-User Chat

2.32. XEP-0245: The /me Command

2.33. XEP-0249: Direct MUC Invitations

2.34. XEP-0256: Last Activity in Presence

2.35. XEP-0060: Publish-Subscribe

2.35.1. This specification defines an XMPP protocol extension for generic publish-subscribe functionality. The protocol enables XMPP entities to create nodes (topics) at a pubsub service and publish information at those nodes; an event notification (with or without payload) is then broadcasted to all entities that have subscribed to the node. Pubsub therefore adheres to the classic Observer design pattern and can serve as the foundation for a wide variety of applications, including news feeds, content syndication, rich presence, geolocation, workflow systems, network management systems, and any other application that requires event notifications

2.36. XEP-0248: PubSub Collection Nodes

2.37. XEP-0115: Entity Capabilities

2.37.1. This document defines an XMPP protocol extension for broadcasting and dynamically discovering client, device, or generic entity capabilities. In order to minimize network impact, the transport mechanism is standard XMPP presence broadcast (thus forestalling the need for polling related to service discovery data), the capabilities information can be cached either within a session or across sessions, and the format has been kept as small as possible.

2.37.2. Use Cases

2.37.2.1. Advertising Capabilities

2.37.2.2. Discovering Capabilities

2.38. XEP-0114: Jabber Component Protocol

2.38.1. This specification documents the existing protocol used for communication between servers and "external" components over the Jabber network