Skip to content

Commit

Permalink
XML corrections
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3954 4b5297f7-1745-476d-ba37-a9c6900126ab
  • Loading branch information
Peter Saint-Andre committed Feb 22, 2010
1 parent 4ab3dbc commit 0de2b17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xep-0003.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand Down

0 comments on commit 0de2b17

Please sign in to comment.