亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? x6079.htm

?? Its a xmpp protocol book
?? HTM
?? 第 1 頁 / 共 2 頁
字號:
<HTML
><HEAD
><TITLE
>The X Namespaces</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
"><LINK
REL="HOME"
TITLE="Programming Jabber"
HREF="book1.htm"><LINK
REL="UP"
TITLE="Jabber Namespaces"
HREF="c5281.htm"><LINK
REL="PREVIOUS"
TITLE="The IQ Namespaces"
HREF="x5334.htm"><LINK
REL="NEXT"
TITLE="The X::IQ relationship"
HREF="x6299.htm"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Programming Jabber</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x5334.htm"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 5a. Jabber Namespaces</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x6299.htm"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="JABTDG-CH-5A-SECT-3"
>The X Namespaces</A
></H1
><P
>While the IQ namespaces are used in exchanging structured information
in semi-formalized conversations, the X namespaces are more ad-hoc
extensions that add value, context, and information to any type of
packet.</P
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="JABTDG-CH-5A-SECT-3.1"
><TT
CLASS="LITERAL"
>jabber:x:autoupdate</TT
></A
></H2
><P
>The <TT
CLASS="LITERAL"
>jabber:x:autoupdate</TT
> namespace is used to carry
information
on where new version information can be found. Details and an example of
this namespace's usage can be found in the description for the IQ
version; <TT
CLASS="LITERAL"
>jabber:iq:autoupdate</TT
> in
<A
HREF="x5334.htm#JABTDG-CH-5A-SECT-2.4"
>the section called <I
><TT
CLASS="LITERAL"
>jabber:iq:autoupdate</TT
></I
></A
>.</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="JABTDG-CH-5A-SECT-3.2"
><TT
CLASS="LITERAL"
>jabber:x:conference</TT
></A
></H2
><P
>Just as <TT
CLASS="LITERAL"
>jabber:x:autoupdate</TT
> is related to its big
brother <TT
CLASS="LITERAL"
>jabber:iq:autoupdate</TT
>, so too is the
<TT
CLASS="LITERAL"
>jabber:x:conference</TT
> namespace related to
<TT
CLASS="LITERAL"
>jabber:iq:conference</TT
>. The <TT
CLASS="LITERAL"
>&#60;x/&#62;</TT
>
version of the IQ conference namespace is used to convey information
about a conferencing room, usually attached to a message:</P
><P
><PRE
CLASS="SCREEN"
>SEND: &#60;message id='2113' to='robert@company-a.com'&#62;
        &#60;subject&#62;Design Meeting&#60;/subject&#62;
        &#60;body&#62;Robert - you're supposed to be at the meeting now!&#60;/body&#62;
        &#60;x xmlns='jabber:x:conference' jid='meeting1@meetings.company-a.com'/&#62;
      &#60;/message&#62;&#13;</PRE
></P
><P
>If supported by
the receiving client, this will be interpreted as an invitation to the room
and the procedure for joining the room (in this case identified with the JID
<TT
CLASS="LITERAL"
>meeting1@conf.company-a.com</TT
>) can be automatically
initiated:</P
><P
><PRE
CLASS="SCREEN"
>SEND: &#60;iq type='get' id='c4' to='meeting1@meetings.company-a.com'&#62;
        &#60;query xmlns='jabber:iq:conference'/&#62;
      &#60;/iq&#62;</PRE
></P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="JABTDG-CH-5A-SECT-3.3"
><TT
CLASS="LITERAL"
>jabber:x:delay</TT
></A
></H2
><P
>Packets&mdash;those conveying messages and presence&mdash;are sometimes sent to
entities that aren't available at that particular
moment. If they are stored offline, they are timestamped, in the
<TT
CLASS="LITERAL"
>jabber:x:delay</TT
> namespace, so that when they are
finally received, the recipient can use this information to determine when
the packets were originally sent.</P
><P
><PRE
CLASS="SCREEN"
>RECV: &#60;message to='sabine@yak/Work' from='yak'&#62;
        &#60;subject&#62;Weekend at last!&#60;/subject&#62;
        &#60;body&#62;Don't forget Father's Day on Sunday!&#60;/body&#62;
        &#60;x xmlns='jabber:x:delay' from='yak/announce/motd'
           stamp='20010615T09:00:01'&#62;Announced&#60;/x&#62;
        &#60;/message&#62;</PRE
></P
><P
>In this Message Of The Day (MOTD) announcement, we see that as well as
the <TT
CLASS="LITERAL"
>stamp</TT
> attribute showing that the announcement
was sent out on the Friday morning before Father's Day, a short
text description <I
CLASS="EMPHASIS"
>Announced</I
> is included.</P
><P
>The namespace is also used by the <TT
CLASS="LITERAL"
>xdb</TT
> component to
timestamp various fragments of data. Here, we see that Sabine updated
her user registration (using a <TT
CLASS="LITERAL"
>jabber:iq:register</TT
>
query during her session) at the beginning of March.</P
><P
><PRE
CLASS="SCREEN"
>&#60;query xmlns='jabber:iq:register' xdbns='jabber:iq:register'&#62;
  &#60;name&#62;S. Reitz-Adams&#60;/name&#62;
  &#60;email&#62;sabine@reitz-adams.org&#60;/email&#62;
  &#60;x xmlns='jabber:x:delay' stamp='20010302T12:15:42'&#62;updated&#60;/x&#62;
&#60;/query&#62;</PRE
></P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="JABTDG-CH-5A-SECT-3.4"
><TT
CLASS="LITERAL"
>jabber:x:encrypted</TT
></A
></H2
><P
>The relatively new <TT
CLASS="LITERAL"
>jabber:x:encrypted</TT
> namespace can be
used to
implement message-level security. It allows for the attachment of
encrypted data Public Key Infrastructure (PKI) techniques, meaning
that the data is encrypted using the message sender's private key,
and decrypted by the recipient using the sender's public key.</P
><P
><PRE
CLASS="SCREEN"
>SEND: &#60;message to='john@company-a.com' id='m221'&#62;
        &#60;subject&#62;Top Secret!&#60;/subject&#62;
        &#60;x xmlns='jabber:x:encrypted'&#62;
hQEOA7ucqu53AhlPEAP/ZbU6oPnRAbIcUxMK1XRVnkgZ/Agtq1tcTQuEZxbpZLl4
lkKJlkjkJjghyri(*8ygHbkjaja09Ja09sajkls8aj1h0J/a=ajhsa9A1ska191l
        &#60;/x&#62;
      &#60;/message&#62;</PRE
></P
><P
>The Jabber server itself does not currently provide any mechanisms
for key management or exchange; the namespace is for the time being
purely a marked container to hold encrypted data.</P
><P
>There are no components in the Jabber server that can encrypt or
decrypt using PKI tools (such as PGP or GPG); this namespace can
be seen as enabling <I
CLASS="EMPHASIS"
>pure</I
> P2P-encrypted communication in an Out Of Band (OOB) style, in the same way that the <TT
CLASS="LITERAL"
>jabber:iq:oob</TT
>
namespace enables P2P file exchange.</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="JABTDG-CH-5A-SECT-3.5"
><TT
CLASS="LITERAL"
>jabber:x:envelope</TT
></A
></H2
><P
>The <TT
CLASS="LITERAL"
>jabber:x:envelope</TT
> namespace is used to describe
more complex message addressing details than the simple
<TT
CLASS="LITERAL"
>from</TT
> and <TT
CLASS="LITERAL"
>to</TT
> attributes in the
<TT
CLASS="LITERAL"
>&#60;message/&#62;</TT
> packets.</P
><P
>The first area where this namespace is used is in server-side filtering,
a service provided by the JSM's <TT
CLASS="LITERAL"
>mod_filter</TT
> module. For example, when a user sets a filter rule to forward all messages to someone else
while he's not around:

<A
NAME="AEN6140"
HREF="#FTN.AEN6140"
>[1]</A
>&#13;</P
><P
><PRE
CLASS="SCREEN"
>&#60;rule name="absent"&#62;
  &#60;show&#62;xa&#60;/show&#62;
  &#60;forward&#62;john@company-b.com&#60;/forward&#62;
&#60;/rule&#62;</PRE
></P
><P
>a message such as this:</P
><P
><PRE
CLASS="SCREEN"
>&#60;message id='284' to='janet@company-b.com'&#62;
  &#60;body&#62;Can you give me the sales figures for last quarter?&#60;/body&#62;
&#60;/message&#62;</PRE
></P
><P
>will be passed on to <TT
CLASS="LITERAL"
>john@company-b.com</TT
> in
this form:</P
><P
><PRE
CLASS="SCREEN"
>&#60;message id='284' to='janet@company-b.com'&#62;
  &#60;body&#62;Can you give me the sales figures for last quarter?&#60;/body&#62;
  <TT
CLASS="USERINPUT"
><B
>&#60;x xmlns='jabber:x:envelope'&#62;
    &#60;forwardedby jid='janet@company-b.com'&#62;
    &#60;from jid='mark@company-b.com'&#62;
    &#60;cc jid='john@company-b.com'&#62;
  &#60;/x&#62;</B
></TT
>
&#60;/message&#62;</PRE
></P
><P
>to add context information on where the message has come from.</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="JABTDG-CH-5A-SECT-3.6"
><TT
CLASS="LITERAL"
>jabber:x:event</TT
></A
></H2
><P
>Message <I
CLASS="EMPHASIS"
>events</I
> allow clients and servers alike to add information
about the receipt and handling of messages at various stages of
delivery. There are currently four types of events supported in
this namespace:</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
>Composing</DT
><DD
><P
>The composing event, represented by the
<TT
CLASS="LITERAL"
>&#60;composing/&#62;</TT
> tag within the
<TT
CLASS="LITERAL"
>&#60;x/&#62;</TT
> extension qualified by the
<TT
CLASS="LITERAL"
>jabber:x:event</TT
> namespace, can be set by clients
and signifies that the user is composing a reply to the message
just sent.</P
></DD
><DT
>Delivered</DT
><DD
><P
>When a message is received by a client, it can set the
<TT
CLASS="LITERAL"
>&#60;delivered/&#62;</TT
> flag to signify that
the message has been received.</P
></DD
><DT
>Displayed</DT
><DD
><P
>The displayed event is used to indicate that the message sent
has been displayed to the user. This event is set, using the
<TT
CLASS="LITERAL"
>&#60;displayed/&#62;</TT
> tag, by clients.</P
></DD
><DT
>Offline</DT
><DD
><P
>When a message recipient is not connected, the JSM module
<TT
CLASS="LITERAL"
>mod_offline</TT
> will store the message and send it
to the recipient when he is next available. This offline storage
event can be set by the server, using the
<TT
CLASS="LITERAL"
>&#60;offline/&#62;</TT
> tag, to notify the sender
that the message has been stored offline.</P
></DD
></DL
></DIV
><P
>The
<TT
CLASS="LITERAL"
>&#60;composing/&#62;</TT
>,
<TT
CLASS="LITERAL"
>&#60;delivered/&#62;</TT
> and
<TT
CLASS="LITERAL"
>&#60;displayed/&#62;</TT
> events are client events
and are only appropriate to be set by the client. The
<TT
CLASS="LITERAL"
>&#60;composing/&#62;</TT
> event is a server event and
only appropriate to be set by the server.
In all cases, the events are only set if the message originator requests
that they are. Adding a <TT
CLASS="LITERAL"
>jabber:x:event</TT
> extension
to a message like this:</P
><P
><PRE
CLASS="SCREEN"
>SEND: &#60;message to='sabine@yak' id='M31'&#62;
        &#60;subject&#62;Where are you?&#60;/subject&#62;
        &#60;body&#62;Let me know when you get back&#60;/body&#62;
        &#60;x xmlns='jabber:x:event'&#62;
          &#60;displayed/&#62;
          &#60;offline/&#62;
        &#60;/x&#62;
      &#60;/message&#62;</PRE
></P
><P
>is the way to request that we get notified:</P
><P
></P
><UL
><LI
><P
>If and when the message is stored offline by the server in the eventuality that <TT
CLASS="LITERAL"
>sabine</TT
> is not connected.</P
></LI
><LI
><P
>When the message is eventually displayed to Sabine.</P
></LI
></UL
><P
>The former event will be set by the server, the latter by Sabine's client.</P
><P
><I
CLASS="EMPHASIS"
>Setting</I
> an event is similar to requesting one, and
uses the <TT
CLASS="LITERAL"
>jabber:x:event</TT
> namespace. Here is what we
would receive if the server did store our message to Sabine offline:</P
><P
><PRE
CLASS="SCREEN"
>RECV: &#60;message to='dj@yak/Work' id='M31' from='sabine@yak'&#62;
        &#60;x xmlns='jabber:x:event'&#62;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美人牲a欧美精品| 国产不卡视频一区二区三区| 欧美午夜精品久久久久久超碰| 国产精品视频免费| 99国产精品久| 亚洲一区二区视频在线| 日本久久一区二区| 午夜婷婷国产麻豆精品| 91精品综合久久久久久| 老汉av免费一区二区三区 | 亚洲欧美日韩国产成人精品影院 | 色国产综合视频| 亚洲综合在线电影| 欧美日韩激情在线| 免费观看91视频大全| 久久亚洲精华国产精华液| 高清成人在线观看| 亚洲综合偷拍欧美一区色| 欧美精品一卡二卡| 国精产品一区一区三区mba视频| 国产欧美日韩麻豆91| 91丨九色丨尤物| 日韩在线播放一区二区| 久久久久久99久久久精品网站| 不卡的av电影| 亚洲大片精品永久免费| 久久婷婷久久一区二区三区| caoporn国产精品| 日韩中文字幕一区二区三区| 久久久久久久久久看片| 色视频欧美一区二区三区| 久久精品理论片| 亚洲日本青草视频在线怡红院| 欧美精选一区二区| 国产成人精品免费视频网站| 亚洲线精品一区二区三区八戒| 精品国产免费久久| 日本韩国欧美国产| 国产福利精品导航| 午夜视频在线观看一区二区 | 国产精品国产精品国产专区不片 | 久久成人羞羞网站| 亚洲欧洲综合另类| 久久欧美中文字幕| 欧美日产在线观看| 99综合影院在线| 黄色小说综合网站| 亚洲成人精品影院| 亚洲天天做日日做天天谢日日欢| 欧美mv和日韩mv国产网站| 欧美视频一区在线| 丰满白嫩尤物一区二区| 毛片不卡一区二区| 亚洲综合色在线| 国产精品久久夜| 久久先锋资源网| 欧美一区二区精品在线| 色综合久久中文字幕| 国产高清在线精品| 国产综合色精品一区二区三区| 婷婷成人激情在线网| 亚洲蜜臀av乱码久久精品| 国产日韩欧美精品一区| 日韩一区二区三区四区五区六区| 在线观看日韩毛片| 91农村精品一区二区在线| 国产aⅴ综合色| 国产一区二区三区国产| 另类小说视频一区二区| 青青草97国产精品免费观看| 视频在线观看一区| 亚洲第一主播视频| 亚洲小说欧美激情另类| 一区二区三区欧美亚洲| 亚洲女与黑人做爰| 亚洲精品国产无套在线观| 亚洲视频一区在线观看| 1区2区3区精品视频| 国产精品免费av| 成人免费一区二区三区视频| 综合久久久久久久| 日韩理论电影院| 亚洲天堂av一区| 亚洲欧美日韩国产综合在线| 一区二区三区精品| 一区二区不卡在线视频 午夜欧美不卡在| 国产精品丝袜在线| 亚洲色图在线看| 亚洲免费观看高清完整版在线观看 | 97se亚洲国产综合自在线观| 99久久精品国产一区二区三区| 99精品热视频| 欧美在线免费观看亚洲| 7878成人国产在线观看| 欧美va亚洲va国产综合| 国产日产精品一区| 日韩一区在线看| 亚洲国产精品久久不卡毛片| 亚洲成人tv网| 精品无人区卡一卡二卡三乱码免费卡 | 91在线免费视频观看| 91麻豆自制传媒国产之光| 老司机精品视频导航| 免费看日韩精品| 国产69精品久久99不卡| 成人黄动漫网站免费app| 成人av免费在线| 91啦中文在线观看| 欧美老人xxxx18| 精品国产凹凸成av人导航| 久久综合久久综合亚洲| 日本一区二区综合亚洲| 亚洲欧洲色图综合| |精品福利一区二区三区| 偷拍日韩校园综合在线| 精品一区二区三区在线播放视频| 国产精品亚洲第一| 99精品视频在线免费观看| 欧美日韩一区精品| 欧美一区二区三区系列电影| 中文字幕欧美日本乱码一线二线| 日韩理论电影院| 首页亚洲欧美制服丝腿| 精品一区在线看| 99热99精品| 99视频超级精品| 欧美精品免费视频| 亚洲精品一区二区三区四区高清| 日韩一区二区三区免费看| 亚洲色图另类专区| 日日摸夜夜添夜夜添国产精品| 国产一区二区久久| 91在线观看免费视频| 91精品午夜视频| 久久色.com| 亚洲在线中文字幕| 国产一区二区三区电影在线观看 | av在线不卡免费看| 在线免费观看日韩欧美| 国产三级精品在线| 亚洲国产精品久久不卡毛片 | 国产一区二区女| 欧美色图第一页| 国产精品美女久久久久久久| 婷婷综合五月天| 91蜜桃在线观看| 国产亚洲精品精华液| 五月天亚洲婷婷| 成人黄色软件下载| 日韩欧美在线一区二区三区| 亚洲主播在线观看| av在线综合网| 久久综合中文字幕| 五月天激情综合| 99久久免费精品| 久久久99精品免费观看| 久久国产精品一区二区| 欧美日韩午夜在线| 自拍偷自拍亚洲精品播放| 精品一区二区三区免费毛片爱| 欧美日韩中文精品| 欧美国产日韩一二三区| 久久精品999| 欧美人与性动xxxx| 亚洲精品自拍动漫在线| 国产精品888| 91麻豆精品91久久久久同性| 青草国产精品久久久久久| 欧美网站大全在线观看| 亚洲欧美日韩国产综合| 成人av免费观看| 亚洲三级小视频| 97se亚洲国产综合自在线观| 欧美国产日韩亚洲一区| 国产一区二区三区香蕉| 91精品国产综合久久精品 | 日本aⅴ精品一区二区三区| 91福利社在线观看| 亚洲精品国产a| 91丝袜美腿高跟国产极品老师| 国产三级精品视频| 国产黄色91视频| 欧美韩国日本一区| 成人av网站免费| 久久你懂得1024| 97精品国产露脸对白| 亚洲欧美日韩国产另类专区 | 日韩欧美色综合网站| 精品一区二区三区在线播放| 日韩免费电影一区| 久久99精品久久久久| 久久久亚洲午夜电影| 美女视频黄 久久| 国产精品久线在线观看| av亚洲精华国产精华| 亚洲美女精品一区| 欧美日韩一级黄| 丝袜美腿成人在线| 日韩片之四级片| 国产福利一区二区三区视频在线|