📄 book1.htm
字号:
>5-2. <A
HREF="x3795.htm#JABTDG-CH-5-FIG-PRIORITY"
>Changing presence and priority in the WinJab client</A
></DT
><DT
>5-3. <A
HREF="x3837.htm#JABTDG-CH-5-FIG-XMLSTREAMS"
>Client<->Server conversation as a pair of streamed XML documents</A
></DT
><DT
>5a-1. <A
HREF="x5334.htm#JABTDG-CH-5-FIG-6"
>The LDAP hierarchy browsed in <A
HREF="x5334.htm#JABTDG-CH-5A-SECT-2.5.1"
>the section called <I
>Descending the browse hierarchy from an LDAP reflector</I
></A
></A
></DT
><DT
>6-1. <A
HREF="x6334.htm#JABTDG-CH-6-FIG-1"
>XML Stream flow showing registration and authentication</A
></DT
><DT
>6-2. <A
HREF="x6569.htm#JABTDG-CH-6-FIG-2"
>A script implementing the client-side zero-knowledge process</A
></DT
><DT
>6-3. <A
HREF="x6787.htm#JABTDG-CH-6-FIG-3"
>Uses of the <B
CLASS="COMMAND"
>reguser</B
> script</A
></DT
><DT
>6-4. <A
HREF="x6787.htm#JABTDG-CH-6-FIG-4"
>An IQ packet under construction by Net::Jabber::IQ</A
></DT
><DT
>7-1. <A
HREF="x6950.htm#JABTDG-CH-7-FIG-1"
>A typical email CVS notification</A
></DT
><DT
>7-2. <A
HREF="x7229.htm#JABTDG-CH-7-FIG-2"
>Adding <TT
CLASS="LITERAL"
>myserver@gnu.pipetree.com</TT
> to the roster</A
></DT
><DT
>7-3. <A
HREF="x7229.htm#JABTDG-CH-7-FIG-3"
>Creating the authorization packet</A
></DT
><DT
>7-4. <A
HREF="x7229.htm#JABTDG-CH-7-FIG-4"
><I
CLASS="EMPHASIS"
>myserver</I
> becoming available and relaying
its IP address</A
></DT
><DT
>7-5. <A
HREF="x7499.htm#JABTDG-CH-7-FIG-5"
>Handlers and the relationship between the Jabber library and
your script</A
></DT
><DT
>7-6. <A
HREF="x7499.htm#JABTDG-CH-7-FIG-6"
><TT
CLASS="LITERAL"
><presence/></TT
> elements and
roster <TT
CLASS="LITERAL"
><item/></TT
>s in an
"unsubscription conversation"</A
></DT
><DT
>8-1. <A
HREF="x8561.htm#JABTDG-CH-8-FIG-3"
>The LEGO Mindstorms RCX, or "programmable brick"</A
></DT
><DT
>8-2. <A
HREF="x8561.htm#JABTDG-CH-8-FIG-4"
>Our device "looking at" the coffee pot</A
></DT
><DT
>8-3. <A
HREF="x8561.htm#JABTDG-CH-8-FIG-1"
>Running the coffee script in calibration mode</A
></DT
><DT
>8-4. <A
HREF="x8561.htm#JABTDG-CH-8-FIG-2"
>Receiving information on the coffee's status in WinJab</A
></DT
><DT
>8-5. <A
HREF="x9016.htm#JABTDG-CH-8-FIG-5"
>JabberCentral's main page</A
></DT
><DT
>8-6. <A
HREF="x9016.htm#JABTDG-CH-8-FIG-7"
>WinJab's "Agents" menu</A
></DT
><DT
>8-7. <A
HREF="x9016.htm#JABTDG-CH-8-FIG-9"
>Jarl's headline display window</A
></DT
><DT
>8-8. <A
HREF="x9991.htm#JABTDG-CH-8-FIG-10"
>Registering with the RSS punter with JIM</A
></DT
><DT
>8-9. <A
HREF="x9991.htm#JABTDG-CH-8-FIG-11"
>The headline viewer client</A
></DT
><DT
>A-1. <A
HREF="a10211.htm#JABTDG-APP-A-FIG-1"
>Version 1.4.1 <TT
CLASS="FILENAME"
>jabber.xml</TT
> with JUD and Conferencing</A
></DT
></DL
></DIV
><DIV
CLASS="LOT"
><DL
CLASS="LOT"
><DT
><B
>List of Examples</B
></DT
><DT
>1-1. <A
HREF="x437.htm#JABTDG-CH-1-EX-1"
>A simple Jabber script</A
></DT
><DT
>2-1. <A
HREF="x455.htm#JABTDG-CH-2-EX-1"
>Qualifying a fragment extension with a namespace</A
></DT
><DT
>2-2. <A
HREF="x557.htm#JABTDG-CH-2-EX-2"
>A <TT
CLASS="LITERAL"
>jabber:x:delay</TT
> extension adds meaning to a <TT
CLASS="LITERAL"
><presence/></TT
> element</A
></DT
><DT
>2-3. <A
HREF="x557.htm#JABTDG-CH-2-EX-3"
>A <TT
CLASS="LITERAL"
>jabber:x:oob</TT
> extension is the heart of a <TT
CLASS="LITERAL"
><message/></TT
> element</A
></DT
><DT
>2-4. <A
HREF="x624.htm#JABTDG-CH-2-EX-4"
>A typical HTTP request/reponse</A
></DT
><DT
>2-5. <A
HREF="x624.htm#JABTDG-CH-2-EX-5"
>A simple client version query via the IQ model</A
></DT
><DT
>2-6. <A
HREF="x624.htm#JABTDG-CH-2-EX-6"
>A multiple-phase IQ to register a user</A
></DT
><DT
>2-7. <A
HREF="x624.htm#JABTDG-CH-2-EX-7"
>Staggered response from IQ-based search request</A
></DT
><DT
>3-1. <A
HREF="x828.htm#JABTDG-CH-3-EX-1"
>Typical output from <B
CLASS="COMMAND"
>configure</B
></A
></DT
><DT
>3-2. <A
HREF="x828.htm#JABTDG-CH-3-EX-2"
>Typical output from <B
CLASS="COMMAND"
>make</B
></A
></DT
><DT
>4-1. <A
HREF="x1234.htm#JABTDG-CH-4-EX-1"
>A <TT
CLASS="LITERAL"
><log/></TT
> packet</A
></DT
><DT
>4-2. <A
HREF="x1234.htm#JABTDG-CH-4-EX-2"
>An <TT
CLASS="LITERAL"
><xdb/></TT
> data packet</A
></DT
><DT
>4-3. <A
HREF="x1234.htm#JABTDG-CH-4-EX-3"
>Two service packets</A
></DT
><DT
>4-4. <A
HREF="x1234.htm#JABTDG-CH-4-EX-4"
>Loading of the c2s component with <I
CLASS="EMPHASIS"
>library load</I
></A
></DT
><DT
>4-5. <A
HREF="x1234.htm#JABTDG-CH-4-EX-5"
>Loading of the jsm component with <I
CLASS="EMPHASIS"
>library load</I
></A
></DT
><DT
>4-6. <A
HREF="x1234.htm#JABTDG-CH-4-EX-6"
>Invoking an external component with <I
CLASS="EMPHASIS"
>STDIO</I
></A
></DT
><DT
>4-7. <A
HREF="x1581.htm#JABTDG-CH-4-EX-7"
>The <TT
CLASS="LITERAL"
>c2s</TT
> instance configuration in
<TT
CLASS="FILENAME"
>jabber.xml</TT
></A
></DT
><DT
>4-8. <A
HREF="x1740.htm#JABTDG-CH-4-EX-8"
><TT
CLASS="FILENAME"
>jabber.xml</TT
> configuration for the <I
CLASS="EMPHASIS"
>sessions</I
> component instance</A
></DT
><DT
>4-9. <A
HREF="x1740.htm#JABTDG-CH-4-EX-9"
>A message filter with two rules</A
></DT
><DT
>4-10. <A
HREF="x1740.htm#JABTDG-CH-4-EX-10"
><TT
CLASS="FILENAME"
>jabber.xml</TT
> configuration for the <I
CLASS="EMPHASIS"
>xdb</I
> component instance</A
></DT
><DT
>4-11. <A
HREF="x1740.htm#JABTDG-CH-4-EX-12"
>Host and namespace filters in an xdb definition</A
></DT
><DT
>4-12. <A
HREF="x1740.htm#JABTDG-CH-4-EX-13"
><TT
CLASS="FILENAME"
>jabber.xml</TT
> configuration for the <I
CLASS="EMPHASIS"
>c2s</I
> component instance</A
></DT
><DT
>4-13. <A
HREF="x1740.htm#JABTDG-CH-4-EX-14"
><TT
CLASS="FILENAME"
>jabber.xml</TT
> configuration for <I
CLASS="EMPHASIS"
>elogger</I
></A
></DT
><DT
>4-14. <A
HREF="x1740.htm#JABTDG-CH-4-EX-15"
><TT
CLASS="FILENAME"
>jabber.xml</TT
> configuration for <I
CLASS="EMPHASIS"
>rlogger</I
></A
></DT
><DT
>4-15. <A
HREF="x1740.htm#JABTDG-CH-4-EX-16"
><TT
CLASS="FILENAME"
>jabber.xml</TT
> configuration for the <I
CLASS="EMPHASIS"
>dnsrv</I
> component instance</A
></DT
><DT
>4-16. <A
HREF="x1740.htm#JABTDG-CH-4-EX-AAA"
><TT
CLASS="FILENAME"
>jabber.xml</TT
> configuration for the <I
CLASS="EMPHASIS"
>conf</I
> component instance</A
></DT
><DT
>4-17. <A
HREF="x1740.htm#JABTDG-CH-4-EX-BBB"
><TT
CLASS="FILENAME"
>jabber.xml</TT
> configuration for the <I
CLASS="EMPHASIS"
>jud</I
> component instance</A
></DT
><DT
>4-18. <A
HREF="x1740.htm#JABTDG-CH-4-EX-DDD"
><TT
CLASS="FILENAME"
>jabber.xml</TT
> configuration for the <I
CLASS="EMPHASIS"
>s2s</I
> component instance</A
></DT
><DT
>4-19. <A
HREF="x1740.htm#JABTDG-CH-4-EX-EEE"
><TT
CLASS="FILENAME"
>jabber.xml</TT
> configuration for the <I
CLASS="EMPHASIS"
>io</I
> section</A
></DT
><DT
>4-20. <A
HREF="x1740.htm#JABTDG-CH-4-EX-17"
>Specifying SSL certificate & key files per IP address</A
></DT
><DT
>4-21. <A
HREF="x1740.htm#JABTDG-CH-4-EX-18"
>Using
<TT
CLASS="LITERAL"
><allow/></TT
> and
<TT
CLASS="LITERAL"
><deny/></TT
> to control connections</A
></DT
><DT
>4-22. <A
HREF="x1740.htm#JABTDG-CH-4-EX-FFF"
><TT
CLASS="FILENAME"
>jabber.xml</TT
> configuration for the <I
CLASS="EMPHASIS"
>pidfile</I
> section</A
></DT
><DT
>4-23. <A
HREF="x3305.htm#JABTDG-CH-4-EX-19"
>Configuration XML organised with
<TT
CLASS="LITERAL"
><jabberd:include/></TT
></A
></DT
><DT
>4-24. <A
HREF="x3381.htm#JABTDG-CH-4-EX-20"
>Virtual server <TT
CLASS="FILENAME"
>jabber.xml</TT
> configuration</A
></DT
><DT
>5-1. <A
HREF="x3625.htm#JABTDG-CH-5-EX-IQADMIN"
>Querying the server <TT
CLASS="LITERAL"
>yak</TT
> for online users</A
></DT
><DT
>5-2. <A
HREF="x4089.htm#JABTDG-CH-5-EX-HANDFUL"
>A Chunk of Conversation between a Jabber client and a Jabber server</A
></DT
><DT
>5a-1. <A
HREF="x5334.htm#JABTDG-CH-5A-EX-6"
>JIM retrieves user preferences stored in a <TT
CLASS="LITERAL"
>jabber:iq:private</TT
> namespace</A
></DT
><DT
>5a-2. <A
HREF="x5334.htm#JABTDG-CH-5A-EX-7"
>Section of user's spool storage showing public and private data</A
></DT
><DT
>5a-3. <A
HREF="x5334.htm#JABTDG-CH-5A-EX-8"
>An <TT
CLASS="LITERAL"
>agents</TT
> or <TT
CLASS="LITERAL"
>browse</TT
> query reveals registration and search
mechanisms</A
></DT
><DT
>5a-4. <A
HREF="x5334.htm#JABTDG-CH-5A-EX-9"
>A typical roster</A
></DT
><DT
>5a-5. <A
HREF="x6079.htm#JABTDG-CH-5A-EX-10"
>Raising and cancelling the <TT
CLASS="LITERAL"
><composing/></TT
> evevent</A
></DT
><DT
>5a-6. <A
HREF="x6079.htm#JABTDG-CH-5A-EX-11"
>Storage of an offline message with the <TT
CLASS="LITERAL"
>jabber:x:expire</TT
> extension</A
></DT
><DT
>6-1. <A
HREF="x6351.htm#JABTDG-CH-6-EX-1"
>A typical user registration process</A
></DT
><DT
>6-2. <A
HREF="x6351.htm#JABTDG-CH-6-EX-2"
>Changing a password with <TT
CLASS="LITERAL"
>jabber:iq:register</TT
></A
></DT
><DT
>6-3. <A
HREF="x6569.htm#JABTDG-CH-6-EX-3"
>A typical user authentication process</A
></DT
><DT
>7-1. <A
HREF="x6950.htm#JABTDG-CH-7-EX-1"
>A Jabber notification formula in the <TT
CLASS="FILENAME"
>notify</TT
> file</A
></DT
><DT
>7-2. <A
HREF="x6950.htm#JABTDG-CH-7-EX-2"
>Matching users to JIDs in the <TT
CLASS="FILENAME"
>notify</TT
> file</A
></DT
><DT
>7-3. <A
HREF="x7229.htm#JABTDG-CH-7-EX-3"
>An <TT
CLASS="LITERAL"
>ip-up</TT
> starter script</A
></DT
><DT
>7-4. <A
HREF="x7229.htm#JABTDG-CH-7-EX-4"
>An <TT
CLASS="LITERAL"
>ip-down</TT
> stopper script</A
></DT
><DT
>7-5. <A
HREF="x7499.htm#JABTDG-CH-7-EX-5"
>A presence subscription request from
<I
CLASS="EMPHASIS"
>dj@gnu.pipetree.com</I
></A
></DT
><DT
>7-6. <A
HREF="x7499.htm#JABTDG-CH-7-EX-6"
>Acceptance of a presence subscription request from <I
CLASS="EMPHASIS"
>dj@gnu.pipetree.com</I
></A
></DT
><DT
>7-7. <A
HREF="x7499.htm#JABTDG-CH-7-EX-7"
>A presence subscription request with a reason</A
></DT
><DT
>8-1. <A
HREF="x8004.htm#JABTDG-CH-8-EX-1"
>Querying the <I
CLASS="EMPHASIS"
>Conferencing</I
> component's version</A
></DT
><DT
>8-2. <A
HREF="x8004.htm#JABTDG-CH-8-EX-2"
>The Groupchat protocol in action</A
></DT
><DT
>8-3. <A
HREF="x8004.htm#JABTDG-CH-8-EX-3"
>Typical contents of the Keyword assistant's hash</A
></DT
><DT
>8-4. <A
HREF="x8004.htm#JABTDG-CH-8-EX-4"
>A message to a non-existent transient JID is rejected</A
></DT
><DT
>8-5. <A
HREF="x8561.htm#JABTDG-CH-8-EX-5"
>A <TT
CLASS="LITERAL"
><presence/></TT
> element representing the <TT
CLASS="LITERAL"
>NOCOFFEE</TT
> state</A
></DT
><DT
>8-6. <A
HREF="x9016.htm#JABTDG-CH-8-EX-6"
>RSS source for JabberCentral</A
></DT
><DT
>8-7. <A
HREF="x9016.htm#JABTDG-CH-8-EX-7"
>A headline message carrying a JabberCentral news item</A
></DT
><DT
>8-8. <A
HREF="x9016.htm#JABTDG-CH-8-EX-8"
>A component instance definition for our RSS punter mechanism</A
></DT
><DT
>8-9. <A
HREF="x9016.htm#JABTDG-CH-8-EX-9"
>An alternative instance definition for our RSS punter mechanism</A
></DT
><DT
>8-10. <A
HREF="x9016.htm#JABTDG-CH-8-EX-10"
>The RSS component's stream header</A
></DT
><DT
>8-11. <A
HREF="x9016.htm#JABTDG-CH-8-EX-11"
>The server's stream header reply</A
></DT
><DT
>8-12. <A
HREF="x9016.htm#JABTDG-CH-8-EX-12"
>A registration conversation for RSS sources</A
></DT
><DT
>8-13. <A
HREF="x9016.htm#JABTDG-CH-8-EX-13"
>The JSM configuration's <TT
CLASS="LITERAL"
><browse/> section</TT
></A
></DT
><DT
>8-14. <A
HREF="x9016.htm#JABTDG-CH-8-EX-14"
>A Conferencing component responds to a version query</A
></DT
><DT
>8-15. <A
HREF="x9016.htm#JABTDG-CH-8-EX-15"
>Typical contents of the registration hash</A
></DT
><DT
>8-16. <A
HREF="x9016.htm#JABTDG-CH-8-EX-16"
>RSS punter responds to <TT
CLASS="LITERAL"
>jabber:iq:browse</TT
>
requests via <TT
CLASS="FUNCTION"
>iq_browse()</TT
></A
></DT
></DL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
> </TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
> </TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="p3.htm"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
> </TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
> </TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Preface</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -