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

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

?? messenger.java

?? jxta平臺的開發包
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
/* * * $Id: Messenger.java,v 1.17 2006/01/14 00:48:01 bondolo Exp $ * * Copyright (c) 2004 Sun Microsystems, Inc.  All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright *    notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in *    the documentation and/or other materials provided with the *    distribution. * * 3. The end-user documentation included with the redistribution, *    if any, must include the following acknowledgment: *       "This product includes software developed by the *       Sun Microsystems, Inc. for Project JXTA." *    Alternately, this acknowledgment may appear in the software itself, *    if and wherever such third-party acknowledgments normally appear. * * 4. The names "Sun", "Sun Microsystems, Inc.", "JXTA" and "Project JXTA" *    must not be used to endorse or promote products derived from this *    software without prior written permission. For written *    permission, please contact Project JXTA at http://www.jxta.org. * * 5. Products derived from this software may not be called "JXTA", *    nor may "JXTA" appear in their name, without prior written *    permission of Sun. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED.  IN NO EVENT SHALL SUN MICROSYSTEMS OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of Project JXTA.  For more * information on Project JXTA, please see * <http://www.jxta.org/>. * * This license is based on the BSD license adopted by the Apache Foundation. */package net.jxta.endpoint;import net.jxta.peergroup.PeerGroupID;import net.jxta.util.SimpleSelectable;import java.io.IOException;/** * A Messenger is used to send messages to a destination. * * This interface specifies the allowed observable states for a messenger. (fine grain).  This serves to normalize * the state machines of the various messenger implementations and allows for more meaningfull diagnostics. Implementations may * use substates by adding high order bits, but these should never be reported by the public state observation methods. Most * implementations will not use all these states.   *  * <p/>Each valid state is represented by a integer that is a power of 2. * * <p/>The (coarse grain) constants: <code>USABLE, RESOLVED, TERMINAL, IDLE, SATURATED</code> represent meaningfull partitions of the space of * states. * * <p/>The value of each constant is the bitwise <code>OR</code> of the states for which a given predicate is true: usable or not, * confirmed or not, etc.  Therefore the value of predicate <code>p</code> in state <code>s</code> is <code>(s & p)!=0</code>. * * <p/>These particular predicates are chosen so that they have a relevant truth value for all states. Therefore the bitwise negation * of the corresponding constants represents the obvious: <code>~USABLE</code> really lists all states that mean "not USABLE". * * <p/>These constants may be combined by bit logic operators to represent more predicates.  {@link #waitState} accepts such values as * a parameter. * * <p/>Applications should depend on the coarse grain constants, rather than those denoting descreet states. * * @see net.jxta.endpoint.EndpointService * @see net.jxta.util.SimpleSelector * @see net.jxta.endpoint.EndpointAddress * @see net.jxta.endpoint.Message * @see MessengerState **/public interface Messenger extends SimpleSelectable {    /**     * No message was ever submitted for sending. No connection has ever been attempted.     **/    public static final int UNRESOLVED      = 0x1;    /**     * Initial connection is being attempted. No message is pending.     **/    public static final int RESOLVING       = 0x2;    /**     * Currently connected. No message is pending (being sent implies pending).     **/    public static final int CONNECTED       = 0x4;    /**     * Currently not connected. No message is pending.     **/    public static final int DISCONNECTED    = 0x8;    /**     * Initial connection is being attempted. Messages are pending.     **/    public static final int RESOLPENDING    = 0x10;    /**     * Initial connection is being attempted. Messages are pending. New messages may not be submitted at this time.     **/    public static final int RESOLSATURATED  = 0x20;    /**     * Currently connected and sending messages.     **/    public static final int SENDING         = 0x40;    /**     * Currently sending messages.New messages may not be submitted at this time.     **/    public static final int SENDINGSATURATED= 0x80;    /**     * Currenly trying to re-establish connection. Messages are pending.     **/    public static final int RECONNECTING    = 0x100;    /**     * Currently trying to re-establish connection. New messages may not be submitted at this time.     **/    public static final int RECONSATURATED  = 0x200;    /**     * Attempting initial connection. Close has been requested. Messages are pending.     * New messages may no longer be submitted.     **/    public static final int RESOLCLOSING    = 0x400;        /**     * Currently sending messages. Close has been requested. New messages may no longer be submitted.     **/    public static final int CLOSING         = 0x800;    /**     * Trying to re-establish connection. Close has been requested. Messages are pending.     * New messages may no longer be submitted.     **/    public static final int RECONCLOSING    = 0x1000;    /**     * Failed to establish initial connection. Pending messages are being rejected. New messages may no longer be submitted.     **/    public static final int UNRESOLVING     = 0x2000;    /**     * Failed to re-establish connection.  Pending messages are being rejected. New messages may no longer be submitted.     **/    public static final int BREAKING        = 0x4000;    /**     * Breaking established connection for expedite closure. Pending messages are being rejected.     * New messages may no longer be submitted.     **/    public static final int DISCONNECTING   = 0x8000;    /**     * Failed to establish initial connection. New messages may no longer be submitted. State will never change again.     **/    public static final int UNRESOLVABLE    = 0x10000;    /**     * Failed to re-establish connection.  New messages may no longer be submitted. State will never change again.     **/    public static final int BROKEN          = 0x20000;    /**     * Closed as requested. All pending messages could be sent. New messages may no longer be submitted.     * State will never change again.     **/    public static final int CLOSED          = 0x40000;    /**     * The bitwise OR of all valid states.     **/    public static final int ANYSTATE        = 0x7FFFF;    /* Predicates. */    /**     * Composite state.<p/>     *     * Not known to be broken.     * Messenger may be used to send messages. Viability has not been evaluated yet.     * This is the most useful predicate to applications. USABLE means that     * it is reasonable to try and send a message.     **/    public static final int USABLE        = ( UNRESOLVED | RESOLVING | CONNECTED | DISCONNECTED | RESOLPENDING | RESOLSATURATED | SENDING |                                              SENDINGSATURATED | RECONNECTING | RECONSATURATED);    /**     * Composite state.     *     *  <p/><ul>     *      <li>Messenger was once resolved.</p>     *      <li>Messenger was at least once proven viable. Current usability is      *      not asserted. For example a messenger may be found to be in a      *      TERMINAL state, but also be in a RESOLVED state. Thus proving that      *      the destination of the messenger is sometimes valid.</li>     *  </ul>     **/    public static final int RESOLVED     = (CONNECTED | SENDING | SENDINGSATURATED | CLOSING | CLOSED | DISCONNECTED | RECONNECTING |                                            RECONSATURATED | RECONCLOSING | BREAKING | DISCONNECTING | BROKEN);    /**     * Composite state.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美成人性福生活免费看| 国产曰批免费观看久久久| 亚洲无人区一区| 蜜桃av噜噜一区| 国产99精品国产| 色一区在线观看| 欧美一区在线视频| 中文字幕av不卡| 午夜精品久久久| 欧美性做爰猛烈叫床潮| 欧美电影免费观看完整版| 中文字幕不卡的av| 婷婷久久综合九色综合绿巨人| 国产一区二区精品久久91| 91美女视频网站| 精品国产免费人成在线观看| 国产精品久久久久久久蜜臀| 日韩专区在线视频| 国产精品一卡二卡在线观看| 欧美自拍丝袜亚洲| 国产香蕉久久精品综合网| 性做久久久久久| 国产精品一区二区久久精品爱涩| 色婷婷久久久亚洲一区二区三区| 欧美精品一区二区三区在线播放| 亚洲一区在线观看免费观看电影高清| 狠狠色丁香久久婷婷综| 在线观看免费一区| 国产日韩三级在线| 五月天网站亚洲| 99re在线视频这里只有精品| www久久精品| 亚洲国产精品一区二区www在线| 成人激情视频网站| 欧美成人a视频| 亚洲成人在线观看视频| www.成人网.com| 国产亚洲欧美色| 蜜臀国产一区二区三区在线播放| 一本大道综合伊人精品热热| 国产欧美精品一区二区色综合 | 成人国产精品免费| 3d动漫精品啪啪1区2区免费 | 欧美日韩精品一区二区在线播放| 久久久久久久av麻豆果冻| 五月综合激情网| 91在线高清观看| 欧美国产在线观看| 国产精品一级二级三级| 日韩一区二区三区电影在线观看| 一区二区三区免费| 成人激情免费电影网址| 久久青草国产手机看片福利盒子 | 777欧美精品| 亚洲最快最全在线视频| 波多野结衣中文字幕一区 | 粉嫩久久99精品久久久久久夜| 日韩午夜在线播放| 日韩高清不卡一区二区三区| 在线免费观看一区| 亚洲猫色日本管| 91久久精品国产91性色tv| 综合婷婷亚洲小说| 国产成人精品网址| 国产性天天综合网| 国产99久久久久| 日本一区二区成人在线| 国产精品91xxx| 国产免费久久精品| 成人性生交大片免费看中文| 国产调教视频一区| 国产iv一区二区三区| 手机精品视频在线观看| 欧美写真视频网站| 亚洲国产精品嫩草影院| 欧美日韩1区2区| 日本三级韩国三级欧美三级| 日韩一区国产二区欧美三区| 久久精品久久久精品美女| 精品不卡在线视频| 国产精品资源在线看| 欧美极品美女视频| 91丝袜国产在线播放| 亚洲综合av网| 欧美肥妇毛茸茸| 久久精品国产一区二区三| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 老司机精品视频在线| 久久综合久久99| 成人深夜视频在线观看| 亚洲三级理论片| 欧美日韩一区三区| 日韩av一区二区在线影视| 日韩三级高清在线| 国产经典欧美精品| 1000部国产精品成人观看| 色综合久久久久久久久| 亚洲成a人v欧美综合天堂 | 黑人巨大精品欧美一区| 中文字幕av一区二区三区免费看| 色婷婷av一区二区三区软件| 天天av天天翘天天综合网| 欧美mv日韩mv国产网站app| 懂色av中文一区二区三区| 亚洲日本在线a| 在线不卡的av| 国产精品亚洲人在线观看| 亚洲天堂免费看| 欧美一区二区不卡视频| 国产成人免费视| 一区二区三区91| 精品国产免费视频| 色老头久久综合| 久久精品国产亚洲aⅴ| 中文字幕一区三区| 在线播放国产精品二区一二区四区| 极品美女销魂一区二区三区免费| 国产精品乱人伦| 67194成人在线观看| 岛国精品一区二区| 亚洲超丰满肉感bbw| 国产蜜臀97一区二区三区| 精品视频一区二区不卡| 国产不卡视频在线观看| 亚洲超碰精品一区二区| 亚洲国产精品成人综合| 欧美日韩成人在线| av电影在线观看一区| 青青草原综合久久大伊人精品优势| 国产精品沙发午睡系列990531| 欧美日韩视频一区二区| 国产不卡视频在线观看| 人人狠狠综合久久亚洲| 亚洲欧美日韩在线播放| 亚洲国产日韩一区二区| 国产精品视频看| 欧美电影免费观看高清完整版| 色琪琪一区二区三区亚洲区| 国产精品亚洲视频| 日本午夜一本久久久综合| 亚洲免费在线观看| www国产精品av| 欧美福利一区二区| 91视频在线看| 成人午夜免费电影| 久久精品av麻豆的观看方式| 亚洲综合丝袜美腿| 国产精品美女久久久久av爽李琼| 日韩欧美中文字幕制服| 色国产精品一区在线观看| 国产精品一二三四| 久久精品国产99久久6| 亚洲高清免费一级二级三级| 国产精品视频九色porn| 久久久久久久久久久久久女国产乱 | 日韩欧美久久一区| 欧美性色综合网| 色综合天天视频在线观看| 国产麻豆视频一区| 激情综合色播五月| 亚洲成人免费在线| 亚洲永久免费视频| 亚洲美女电影在线| 亚洲色图视频网| 国产精品免费看片| 国产情人综合久久777777| 在线成人av影院| 精品视频一区二区三区免费| 波多野结衣在线一区| 国产剧情一区二区三区| 日韩高清欧美激情| 性欧美疯狂xxxxbbbb| 亚洲成人免费在线观看| 亚洲三级在线免费| 国产精品夫妻自拍| 中文字幕中文字幕一区二区| 国产精品美女久久久久aⅴ国产馆| 久久香蕉国产线看观看99| 精品国产免费人成电影在线观看四季| 91精品国产aⅴ一区二区| 7777女厕盗摄久久久| 欧美日韩国产一级二级| 制服丝袜亚洲色图| 日韩精品一区二区三区在线观看 | 日韩国产精品久久| 日韩高清不卡一区二区三区| 日本麻豆一区二区三区视频| 奇米影视在线99精品| 蜜臀av性久久久久av蜜臀妖精| 免费成人美女在线观看| 极品少妇xxxx精品少妇偷拍| 国产精品羞羞答答xxdd| 国产成人精品一区二区三区四区| 成人h版在线观看| 91久久免费观看| 欧美丰满嫩嫩电影| 亚洲精品一区二区三区蜜桃下载| 国产欧美视频一区二区三区| 国产精品久久久久久久久动漫 | 国产不卡视频一区二区三区|