mirror of
https://github.com/moparisthebest/xeps
synced 2025-02-16 07:10:15 -05:00
PubSub Server Info: change connection type 'both' to 'bidi'
Remove ambiguity with regards to having more than one connection to a remote domain. With this update, each actual (eg TCP) connection is represented by a distinct `connection` element.
This commit is contained in:
parent
57b90ecb88
commit
da26a65685
@ -73,7 +73,7 @@
|
||||
<serverinfo xmlns='urn:xmpp:serverinfo:0'>
|
||||
<domain>shakespeare.lit</domain>
|
||||
</serverinfo>]]></example>
|
||||
<p>The optional 'federation' child element is used to denote remote XMPP domains with which the local domain is federating. Each federated domain is added as a 'connection' child-element to the 'federation' element, that has an optional 'type' attribute, defining the directionality of the connection (one of 'incoming', 'outgoing' and 'both'). The domain name of the remote XMPP domain is added in a 'domain' child element.</p>
|
||||
<p>The optional 'federation' child element is used to denote remote XMPP domains with which the local domain is federating. Each actual (eg TCP) connection to a federated domain is added as a 'connection' child-element to the 'federation' element, that has an optional 'type' attribute, defining the directionality of the connection (one of 'incoming', 'outgoing' and 'bidi'). The domain name of the remote XMPP domain is added in a 'domain' child element.</p>
|
||||
<example caption="Data Format with Federated Domains"><![CDATA[
|
||||
<serverinfo xmlns="urn:xmpp:serverinfo:0">
|
||||
<domain>shakespeare.lit</domain>
|
||||
@ -81,7 +81,7 @@
|
||||
<connection type="incoming">
|
||||
<domain>denmark.lit</domain>
|
||||
</connection>
|
||||
<connection type="both">
|
||||
<connection type="bidi">
|
||||
<domain>montague.net</domain>
|
||||
</connection>
|
||||
<connection type="outgoing">
|
||||
@ -121,7 +121,7 @@
|
||||
<connection type="incoming">
|
||||
<domain>denmark.lit</domain>
|
||||
</connection>
|
||||
<connection type="both">
|
||||
<connection type="bidi">
|
||||
<domain>montague.net</domain>
|
||||
</connection>
|
||||
<connection type="outgoing">
|
||||
@ -170,7 +170,7 @@
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="incoming" />
|
||||
<xs:enumeration value="outgoing" />
|
||||
<xs:enumeration value="both" />
|
||||
<xs:enumeration value="bidi" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user