mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 10:12:19 -05:00
XML corrections
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3954 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
4ab3dbcfb4
commit
0de2b17db9
@ -139,7 +139,7 @@
|
||||
</section1>
|
||||
<section1 topic='Controls'>
|
||||
<p>A Jabber client can send various controls to the PASS service via the set to control how the PASS service behaves, how the server handles a listening port.</p>
|
||||
<section2 topic='<expire/>'>
|
||||
<section2 topic='expire'>
|
||||
<p>This tells the server to shut down the port after a specified number of seconds. After the timeout period, the PASS service MUST send an <iq/> to the JID to tell it that the port has been closed down. It notifies the client with:</p>
|
||||
<example caption='Notification of expiration'><![CDATA[
|
||||
<iq type='set'
|
||||
@ -162,7 +162,7 @@
|
||||
</iq>
|
||||
]]></example>
|
||||
</section2>
|
||||
<section2 topic='<oneshot/>'>
|
||||
<section2 topic='oneshot'>
|
||||
<p>This tells the server to listen once, and then close the port. Even if the <expire/> has not been met, the <oneshot/> overrides that and shuts down the listening port. When this happens the server notifies the client with the following packet:</p>
|
||||
<example caption='Server notifies client of oneshot port closing'><![CDATA[
|
||||
<iq type='set'
|
||||
@ -185,7 +185,7 @@
|
||||
</iq>
|
||||
]]></example>
|
||||
</section2>
|
||||
<section2 topic='<close/>'>
|
||||
<section2 topic='close'>
|
||||
<p>This tells the server to explicitly shut down a listening port. Useful for when the client shuts down and can tell the PASS service to recycle the port. The server sends back:</p>
|
||||
<example caption='Client request to shut down port'><![CDATA[
|
||||
<iq type='set'
|
||||
|
Loading…
Reference in New Issue
Block a user