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

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

?? x3795.htm

?? Its a xmpp protocol book
?? HTM
字號:
<HTML
><HEAD
><TITLE
>Resources and Priority</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 Technology Basics"
HREF="c3612.htm"><LINK
REL="PREVIOUS"
TITLE="Jabber Identifiers"
HREF="x3625.htm"><LINK
REL="NEXT"
TITLE="XML Streams"
HREF="x3837.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="x3625.htm"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 5. Jabber Technology Basics</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x3837.htm"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="JABTDG-CH-5-SECT-5.2"
>Resources and Priority</A
></H1
><P
>In the previous section, we saw how the <TT
CLASS="LITERAL"
>resource</TT
> is used to &ldquo;qualify&rdquo; certain queries to a servername, to hold information
such as version numbers, and to represent users in a conference room.
However, the resource is traditionally seen as a way of making a distinction
between simultaneous connections by a user to the same Jabber server.
For example, if you connect to a Jabber server using the same username and password on three different machines (or "resources"), the Jabber server will look at the resource part of the JID to determine which client to route messages to.</P
><P
>For the purpose of this example, let's say that the three resources are a workstation, laptop, and a PDA. Each client is connected to the same Jabber server, so the <TT
CLASS="LITERAL"
>resource</TT
> part of the JID can be used to distinguish between the three connections. They could also be used to differentiate between the three connections coming from the same client host.</P
><P
>The classic explanation serves us well here: In a work situation, I might
be connected to my Jabber server using a client on my workstation. I
might also be connected, with the same
<TT
CLASS="LITERAL"
>username</TT
>, to my Jabber server on my
laptop that's sitting next to my workstation. Furthermore, I might have
a handheld device that runs a small Jabber client, that I'm connected
with too.</P
><P
>On each client machine, I'm connecting using the same credentials (username
and password) to the same Jabber server. So the
<TT
CLASS="LITERAL"
>resource</TT
> part of a JID can
be used to distinguish between my three connections. The three 'resources'
are my workstation, laptop and handheld, in this example. In another example,
they might be used to differentiate between three different connections
coming from the same client host (say, my desktop).</P
><P
>The <TT
CLASS="LITERAL"
>resource</TT
> part of a JID allows a
user to be connected to Jabber (specifically the JSM, which manages
users and sees user sessions as separate entities) multiple times.</P
><P
>"But", I hear you say, "what happens when someone sends you a message?
To which client is the message sent?"</P
><P
>This is where the concept of connection <I
CLASS="EMPHASIS"
>priority</I
>
comes to our aid.
Each Jabber client connection can be given a priority.


When a user has more than one concurrent connection to a Jabber server,
the priority is used to determine to which connection any messages intended
for that user should be sent.
<A
NAME="MESSAGES"
HREF="#FTN.MESSAGES"
>[1]</A
>

The connection with the highest priority value is the connection to which
the messages are sent.
<A
NAME="AEN3813"
HREF="#FTN.AEN3813"
>[2]</A
></P
><P
><A
HREF="x3795.htm#JABTDG-CH-5-FIG-1"
>Figure 5-1</A
>
shows priority in action. In this example, Sabine's message is sent to the Jabber
client on the Desktop, as it has a higher priority. Note that with Jabber priority,
1 has a lower priority than, say, 5. The higher the number, the higher the priority.</P
><DIV
CLASS="FIGURE"
><A
NAME="JABTDG-CH-5-FIG-1"
></A
><P
><B
>Figure 5-1. Resources, Priority, and Message Delivery</B
></P
><PRE
CLASS="SCREEN"
>&#13;   Sender                                           Recipient
   ------                                           ---------
  sabine@yak                                        dj@yak
                     +---------------+
  +--------+         |               |         +------------------+
  |        |         |    Jabber     |         | Client 1         |
  | Client |---------|    Server     |---------| Resource: Laptop |
  |        |         |               |         | Priority: 1      |
  +--------+         |      yak      |         +------------------+
                     |               |           dj@jak/Laptop
                     |               |
   Message ------------------+       |         +------------------+
   to dj@yak         |       |       |         | Client 2         |
                     |       |       |---------| Resource: Desktop|
                     |       +---------------&#62; | Priority: 2      |
                     |               |         +------------------+
                     +---------------+           dj@yak/Desktop&#13;</PRE
></DIV
><P
>If there is a priority tie, for example if I have connected to my Jabber
server with a client on my laptop (where I specified the resource &ldquo;Laptop&rdquo;)
and also with a client on my desktop (where I specified the resource
&ldquo;Desktop&rdquo;), and the settings in <I
CLASS="EMPHASIS"
>both</I
> clients have
their priorities set to the value
1, the <I
CLASS="EMPHASIS"
>most recent</I
> connection
to be made wins and receives the messages.</P
><P
>It is also possible to direct messages to a particular client. Taking
the example from
<A
HREF="x3795.htm#JABTDG-CH-5-FIG-1"
>Figure 5-1</A
>,
if <TT
CLASS="LITERAL"
>sabine@yak</TT
>
were to specify <TT
CLASS="LITERAL"
>dj@yak/Laptop</TT
> instead of <TT
CLASS="LITERAL"
>dj@yak</TT
> as the
recipient for a message, her message would
go to Client 1 (<TT
CLASS="LITERAL"
>Laptop</TT
>), not Client 2 (<TT
CLASS="LITERAL"
>Desktop</TT
>), despite Client 1's lower priority value.</P
><P
>Priorities are
specified when a user sends presence information. We will see this later in
<A
HREF="x4089.htm"
>the section called <I
>The Jabber Building Blocks</I
></A
>.
It
makes sense for the priority to be associated with a user's presence,
rather than a user's client connection. For example, if the priority was specified
at connection time, the user would have to disconnect and reconnect if
she wanted to change priority. As it stands, she just has to send presence
information containing a new priority value to change it. 
<A
HREF="x3795.htm#JABTDG-CH-5-FIG-PRIORITY"
>Figure 5-2</A
> shows a WinJab client
popup window used to change presence information. The value of the
current priority can be changed.</P
><DIV
CLASS="FIGURE"
><A
NAME="JABTDG-CH-5-FIG-PRIORITY"
></A
><P
><B
>Figure 5-2. Changing presence and priority in the WinJab client</B
></P
><P
><IMG
SRC="CH-5-FIG-PRIORITY.jpg"></P
></DIV
></DIV
><H3
CLASS="FOOTNOTES"
>Notes</H3
><TABLE
BORDER="0"
CLASS="FOOTNOTES"
WIDTH="100%"
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="5%"
><A
NAME="FTN.MESSAGES"
HREF="x3795.htm#MESSAGES"
>[1]</A
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="95%"
><P
>&ldquo;Messages&rdquo; is used in the generic sense; actually any packet destined to
the user is implied. See <A
HREF="x4089.htm"
>the section called <I
>The Jabber Building Blocks</I
></A
> in this
Chapter for information on the types of packets that are send and received.</P
></TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="5%"
><A
NAME="FTN.AEN3813"
HREF="x3795.htm#AEN3813"
>[2]</A
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="95%"
><P
>Priority values must be a positive integer, and cannot be zero or less.</P
></TD
></TR
></TABLE
><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"
><A
HREF="x3625.htm"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="book1.htm"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x3837.htm"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Jabber Identifiers</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="c3612.htm"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>XML Streams</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久99国产精品久久99| 亚洲小说欧美激情另类| 亚洲免费三区一区二区| 久久九九国产精品| 亚洲免费观看在线观看| 人人精品人人爱| 国产91精品在线观看| 欧美日韩情趣电影| 久久蜜桃av一区二区天堂| 亚洲欧美日韩久久| 美女视频黄a大片欧美| 91免费观看在线| 精品av综合导航| 视频一区视频二区在线观看| 国产不卡在线播放| 91精品午夜视频| 亚洲一区二区不卡免费| 成人性生交大片免费看中文网站| 在线成人高清不卡| 亚洲精品成人在线| 成人av在线影院| 国产精品午夜免费| 激情文学综合网| 日韩亚洲欧美一区二区三区| 亚洲人成精品久久久久| 成人免费视频免费观看| www久久精品| 久久不见久久见免费视频1| 337p亚洲精品色噜噜| 亚洲黄色av一区| 欧美三级中文字| 亚洲宅男天堂在线观看无病毒 | www.亚洲免费av| 欧美国产日韩亚洲一区| 91影院在线观看| 亚洲欧美日本在线| 欧美精品三级日韩久久| 日韩国产欧美一区二区三区| 777久久久精品| 韩国成人福利片在线播放| 久久精品一区二区| 色婷婷精品久久二区二区蜜臂av| 亚洲免费在线观看| 日韩一级视频免费观看在线| 蜜桃久久久久久久| 1000部国产精品成人观看| 91片在线免费观看| 三级精品在线观看| 中文字幕一区二区三区不卡 | 国产精品日产欧美久久久久| 色婷婷香蕉在线一区二区| 奇米四色…亚洲| 亚洲免费电影在线| 亚洲精品一线二线三线| 欧美性欧美巨大黑白大战| 美洲天堂一区二卡三卡四卡视频| 国产欧美日韩亚州综合| 在线不卡的av| 91麻豆高清视频| 国产成人aaa| 欧美aⅴ一区二区三区视频| 最新高清无码专区| 欧美电视剧在线观看完整版| 99久久婷婷国产综合精品电影 | 亚洲女爱视频在线| 26uuu国产在线精品一区二区| 欧亚洲嫩模精品一区三区| 成人动漫在线一区| 福利一区福利二区| 久久99久久精品欧美| 日韩电影一区二区三区| 亚洲精品videosex极品| 国产精品久久午夜夜伦鲁鲁| 久久综合精品国产一区二区三区 | 久久国产精品区| 久久国产精品72免费观看| 久色婷婷小香蕉久久| 麻豆视频观看网址久久| 日韩高清不卡一区| 免费视频一区二区| 麻豆久久久久久| 国产精品91xxx| 成人一区二区三区中文字幕| 国产超碰在线一区| 91社区在线播放| 欧美影院一区二区| 欧美一区二区三级| 国产午夜亚洲精品理论片色戒| 精品卡一卡二卡三卡四在线| 欧美激情一区二区三区四区| 亚洲靠逼com| 日韩av电影免费观看高清完整版 | 久久精品国产99国产| 久久综合视频网| 亚洲欧美日韩国产一区二区三区| 午夜久久久影院| 国产精品12区| 欧美精品久久久久久久多人混战| 欧美久久久久中文字幕| 国产亚洲短视频| 午夜电影一区二区| 99久久久久久| 久久综合九色综合97婷婷女人| 最新日韩av在线| 精品一区二区三区久久久| 色8久久人人97超碰香蕉987| 亚洲精品一区二区精华| 一区二区三区日韩欧美| 国产麻豆视频一区| 欧美一区二区三区免费在线看| 1000部国产精品成人观看| 黄页视频在线91| 欧美日韩国产首页| 韩国三级在线一区| 亚洲三级在线观看| 久久国产精品露脸对白| 在线成人高清不卡| 国产一区二区三区香蕉| 欧美在线短视频| 亚洲午夜一二三区视频| bt欧美亚洲午夜电影天堂| 欧美精品一区二区三区很污很色的| 亚洲国产色一区| 69p69国产精品| 久久国产精品无码网站| 精品久久久三级丝袜| 久久国产精品99久久久久久老狼| 在线成人免费视频| 美腿丝袜亚洲三区| 久久先锋影音av鲁色资源网| 国产成人综合自拍| 国产精品欧美综合在线| 91在线你懂得| 亚洲国产aⅴ成人精品无吗| 欧美日韩国产影片| 精品一区二区三区香蕉蜜桃| 中文字幕av一区 二区| 91老司机福利 在线| 日日噜噜夜夜狠狠视频欧美人| 日韩欧美综合一区| 懂色av噜噜一区二区三区av| 一区2区3区在线看| 国产亚洲欧洲一区高清在线观看| 国产ts人妖一区二区| 亚洲宅男天堂在线观看无病毒| 日韩美女天天操| 色久综合一二码| 色噜噜夜夜夜综合网| 国产乱码精品一品二品| 亚洲欧美色图小说| 日韩一区二区三免费高清| 国产福利精品一区二区| 午夜成人免费电影| 自拍偷拍国产精品| 久久免费偷拍视频| 51精品秘密在线观看| 91丨九色丨黑人外教| 国内精品视频666| 免费一级片91| 日韩高清不卡一区二区三区| 亚洲特级片在线| 中文一区二区在线观看| 久久综合中文字幕| 欧美精品一区在线观看| 欧美成人性战久久| 日韩一区二区免费电影| 91精品国产综合久久久蜜臀粉嫩| 在线观看免费一区| 欧美日韩在线精品一区二区三区激情| av在线这里只有精品| 不卡的电视剧免费网站有什么| 国产不卡高清在线观看视频| 福利一区福利二区| 97久久精品人人做人人爽50路 | 91在线小视频| 99精品欧美一区二区蜜桃免费| 99麻豆久久久国产精品免费优播| 国产精品一卡二卡在线观看| 成人免费毛片嘿嘿连载视频| www.66久久| 欧美一区二区三区日韩视频| 日韩免费观看2025年上映的电影 | 美日韩一级片在线观看| 国产成人综合自拍| 色综合久久久网| 日韩亚洲国产中文字幕欧美| 久久久三级国产网站| 亚洲一卡二卡三卡四卡五卡| 亚洲一二三专区| 国产最新精品免费| 欧美午夜电影网| 中文字幕一区在线观看视频| 亚洲电影一级片| 成人国产亚洲欧美成人综合网| 欧美亚洲国产一区二区三区va| 国产日韩欧美激情| 日本欧美大码aⅴ在线播放| 波多野结衣91| 日韩精品一区在线| 三级精品在线观看|