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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? rendezvousservice.java

?? jxta平臺(tái)的開發(fā)包
?? JAVA
?? 第 1 頁 / 共 2 頁
字號(hào):
/* *  $Id: RendezVousService.java,v 1.34 2006/05/08 17:56:10 hamada Exp $ * *  Copyright (c) 2001 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.rendezvous;import java.io.IOException;import java.util.Enumeration;import java.util.Vector;import net.jxta.endpoint.EndpointAddress;import net.jxta.endpoint.EndpointListener;import net.jxta.endpoint.Message;import net.jxta.id.ID;import net.jxta.protocol.PeerAdvertisement;import net.jxta.service.Service;/** * The RendezVous Service provides propagation of messages within a JXTA * PeerGroup. * * <p/>While the internal protcol of diffusion is left to the implementation of * the service, the JXTA RendezVous Service defines a subscription mechanism * allowing JXTA peers to receive propagated messages (clients of the service) * or become a repeater of the service (rendezvous peers). * * <p/>The Standard Reference Implementation requires that at least one peer in * a PeerGroup act as a Rendezvous. Rendezvous peers can dynamically join or * leave the PeerGroup over time. * * @see    <a href="http://spec.jxta.org/nonav/v1.0/docbook/JXTAProtocols.html#proto-rvp" target='_blank'>JXTA Protocols Specification : Rendezvous</a> */public interface RendezVousService extends Service {    /**     *  Perform <code>propagate()</code> or <code>walk()</code> using the most     *  appropriate TTL value for the implementation and configuration. The     *  message will almost certainly be sent with a TTL value much less than     *  this value.     */    public final static int DEFAULT_TTL = Integer.MAX_VALUE;    /**     * Add a peer as a new RendezVousService point.     *     * <p/>If/When the RendezVousService accepts the connection, the RendezVous     * service will invoke the RendezVousMonitor.     *     * @param  adv           the advertisement of the RendezVousService peer     * @throws  IOException  When the specified peer is unreachable     */    public void connectToRendezVous(PeerAdvertisement adv) throws IOException;    /**     * Attempt connection to the specified peer as a new RendezVous point.     *     * <p/>If/When the RendezVous accepts the connection, the RendezVous     * service will invoke the RendezVousMonitor.     *     * @param  addr          EndpointAddress of the rendezvous peer     * @throws  IOException  When the specified peer is unreachable     */    public void connectToRendezVous(EndpointAddress addr) throws IOException;    /**     * Disconnect from the specified rendezvous.     *     * @param  peerID  the PeerId of the RendezVous to disconnect from.     */    public void disconnectFromRendezVous(ID peerID);    /**     * Returns an Enumeration of the PeerID all the RendezVous on which this     * Peer is currentely connected.     *     * @return    Enumeration enumeration of RendezVous.     */    public Enumeration getConnectedRendezVous();    /**     * Returns an Enumeration of the PeerID all the RendezVous on which this     * Peer failed to connect to.     *     * @return    Enumeration of the PeerID all the RendezVous on which this     * Peer failed to connect to.     */    public Enumeration getDisconnectedRendezVous();    /**     * Start the local peer as a RendezVous peer.     */    public void startRendezVous();    /**     * Stop the RendezVous function on the local Peer. All connected Peers are     * disconnected.     */    public void stopRendezVous();    /**     * Returns an Enumeration of PeerID of the peers that are currently     * connected.     *     * @return    Enumeration of PeerID of the peers that are currently     * connected.     */    public Enumeration getConnectedPeers();    /**     * Returns a Vector of PeerID of the peers that are currentely     * connected.     *     * @return    Vector of peers connected to that rendezvous     */    public Vector getConnectedPeerIDs();    /**     *  Registers the given listener under the given name to receive messages     *  propagated by the rendezvous service. The given listener will be added     *  only if no other listener is already registered with these names.     *     *  <p/>For historical reasons the messages that will be received are those     *  address to the ServiceName and ServiceParam pair such that this     *  listener's name is equal to their concatenation. For example, if a     *  message is propagated or walked to a service named "Cheese" with a     *  service parameter of "Burger", it will be received by a propagate     *  listener of name "CheeseBurger".     *     * @param  name             The name of the listener.     * @param  listener         An EndpointListener to process the message.     * @return                  true if listener was registered, otherwise false.     * @exception  IOException  if an io error occurs     * @deprecated              The naming convention is contrary to the more recent usage     * of specifying listeners with separate serviceName and serviceParam.     * Prefer {@link #addPropagateListener(String, String, EndpointListener)}.     */    public boolean addPropagateListener(String name, EndpointListener listener) throws IOException;    /**     * Registers the provided listener under the given serviceName and     * serviceParam to receive messages propagated by the Rendezvous service.     * The listener will be added only if no other listener is already     * registered with these names.     *     * @param  serviceName   The serviceName of the listener.     * @param  serviceParam  The serviceParam of the listener.     * @param  listener      An EndpointListener to process the message.     * @return               true if listener was registered, otherwise false.     */    public boolean addPropagateListener(String serviceName, String serviceParam, EndpointListener listener);    /**     * Removes a Listener previously added with addPropagateListener. If the     * given listener is not the one currently registered, nothing is removed.     *     * @param  name      The name of the listener.     * @param  listener  An EndpointListener to process the message.     * @return           the listener removed, null if the listener was not removed.     * @deprecated       The naming convention is contrary to the more recent usage     * of specifying listeners with separate serviceName and serviceParam.     * Prefer {@link #addPropagateListener(String, String, EndpointListener)}.     */    public EndpointListener removePropagateListener(String name, EndpointListener listener);    /**     * Removes a Listener previously added with addPropagateListener.     * If the given listener is not the one currently registered, nothing is removed.     *     * @param  serviceName   The serviceName of the listener.     * @param  serviceParam  The serviceParam of the listener.     * @param  listener      An EndpointListener to process the message.     * @return               the listener removed, <tt>null</tt> if the listener was not registered.     */    public EndpointListener removePropagateListener(String serviceName, String serviceParam, EndpointListener listener);    /**     * Add a listener for RendezVousEvents.     *     * @param  listener  An RendezvousListener to process the event.     */    public void addListener(RendezvousListener listener);    /**     * Removes a Listener previously added with addListener.     *     * @param  listener  the RendezvousListener listener remove     * @return           true if successful     */    public boolean removeListener(RendezvousListener listener);    /**     * Propagates a message to the local network and to as many members of     * the peer group as possible.     *     * <p/>This method sends the message to all peers, rendezvous peers and     * edge peer. This method of propation is very expensive and should     * be used very cautiously. When rendezvous peers are used in order to     * cache index of data, it is more efficient to use the walk() method.     *     * <p/>Only a single HOP at a time is performed. Messages are always     * delivered to the destination handler on arrival. This handler     * is responsible for repropagating further, if deemed appropropriate.     *     * <p/>Loop and TTL control are performed automatically.     *     * <p/>Messages can be propagated via this method for the first time or     * can be re-propagated by re-using a message that came in via propagation.     * In the later case, the TTL and loop detection parameters CANNOT be     * re-initialized. If one wants to "re-propagate" a message with a new TTL     * and blank gateways list one must generate a completely new message.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91美女精品福利| 一卡二卡欧美日韩| 国产精品的网站| 亚洲午夜在线电影| 韩国三级电影一区二区| 99久久精品国产一区二区三区| 91黄色激情网站| 日韩精品一区二区三区四区视频| www激情久久| 依依成人精品视频| 久久成人18免费观看| 色综合一个色综合亚洲| 日韩欧美在线一区二区三区| 国产精品欧美经典| 天天色 色综合| 国产91丝袜在线播放九色| 欧美性视频一区二区三区| 26uuu精品一区二区三区四区在线| 日韩毛片高清在线播放| 免费在线视频一区| 色综合久久88色综合天天免费| 欧美性生活一区| 国产午夜精品一区二区| 亚洲国产精品久久人人爱| 国产黄色精品网站| 欧美肥胖老妇做爰| 亚洲日本在线观看| 狠狠色丁香九九婷婷综合五月| 99久久婷婷国产综合精品| 欧美成人性福生活免费看| 亚洲最色的网站| 成人久久久精品乱码一区二区三区| 欧美三级午夜理伦三级中视频| 日本一区二区成人在线| 麻豆91在线看| 91高清视频在线| 欧美激情中文字幕一区二区| 老司机午夜精品99久久| 欧美性大战xxxxx久久久| 国产精品午夜免费| 国产在线不卡视频| 欧美一卡二卡在线观看| 国产精品白丝在线| 国产精品白丝jk黑袜喷水| 日韩亚洲欧美一区| 亚洲成人手机在线| 色婷婷久久一区二区三区麻豆| 国产婷婷色一区二区三区| 免费成人结看片| 欧美午夜电影一区| 亚洲美女偷拍久久| 成人18精品视频| 久久久精品蜜桃| 国产一区二区三区高清播放| 日韩午夜在线影院| 午夜视频在线观看一区二区| 91亚洲精品乱码久久久久久蜜桃| 国产精品私人影院| 国产69精品久久99不卡| 久久久久国产免费免费| 韩国v欧美v亚洲v日本v| 日韩一区二区视频在线观看| 午夜天堂影视香蕉久久| 欧美亚洲禁片免费| 亚洲电影第三页| 欧美日韩国产综合一区二区| 亚洲一二三四久久| 欧美视频日韩视频| 亚洲一区在线看| 欧美日韩国产高清一区二区| 中文文精品字幕一区二区| 成人小视频免费观看| 国产欧美精品区一区二区三区| 国产在线麻豆精品观看| 久久久久亚洲综合| 国产999精品久久久久久绿帽| 国产人妖乱国产精品人妖| 国产精品一区二区x88av| 日韩欧美一区二区久久婷婷| 日本不卡一二三区黄网| 日韩欧美亚洲国产精品字幕久久久 | 中文字幕在线不卡| 国产一区欧美二区| 国产日产欧美一区二区三区| 成人一区二区在线观看| 成人欧美一区二区三区1314 | 亚洲色图欧美偷拍| 在线观看欧美日本| 青娱乐精品在线视频| 制服视频三区第一页精品| 麻豆精品一区二区综合av| 欧美精品一区二区三区一线天视频 | 色88888久久久久久影院按摩| 亚洲欧美国产高清| 欧美精品一二三| 久久国产乱子精品免费女| 精品盗摄一区二区三区| 欧美体内she精高潮| 日本不卡123| 欧美激情在线看| 在线精品视频小说1| 美女www一区二区| 久久久久9999亚洲精品| 91在线无精精品入口| 午夜av一区二区三区| www国产成人| 91在线国内视频| 日本不卡视频在线观看| 国产日韩欧美一区二区三区乱码 | 亚洲欧美综合另类在线卡通| 欧美探花视频资源| 国产一区视频在线看| 亚洲男人的天堂在线观看| 6080yy午夜一二三区久久| 狠狠色丁香婷婷综合| 一区二区成人在线| 精品精品欲导航| 色婷婷综合久久久中文一区二区| 美女视频黄久久| 亚洲色图在线视频| 91精品国产欧美一区二区| 九九视频精品免费| 亚洲在线视频免费观看| 精品国产乱码久久久久久久| 一本到不卡精品视频在线观看| 石原莉奈一区二区三区在线观看| 欧美经典三级视频一区二区三区| 欧美精品高清视频| 不卡一区二区中文字幕| 日本v片在线高清不卡在线观看| 国产精品国产三级国产| 欧美中文字幕一区| 成人免费高清在线| 蜜臀av国产精品久久久久 | 91极品美女在线| 国产高清不卡二三区| 亚洲18女电影在线观看| 中文字幕av资源一区| 欧美精品日韩精品| 成人免费va视频| 久久国产夜色精品鲁鲁99| 一区二区视频免费在线观看| 国产日产欧美一区| 欧美xxxxx裸体时装秀| 欧美日韩在线直播| 99精品偷自拍| 国产高清在线观看免费不卡| 日韩av电影天堂| 亚洲宅男天堂在线观看无病毒| 国产欧美日韩精品一区| 日韩精品一区二区三区三区免费| 色94色欧美sute亚洲线路二 | 自拍偷在线精品自拍偷无码专区| 日韩一区二区免费电影| 在线观看日韩电影| 91在线观看地址| 风间由美性色一区二区三区| 六月丁香综合在线视频| 视频一区二区不卡| 午夜日韩在线电影| 一二三区精品视频| 亚洲免费成人av| 椎名由奈av一区二区三区| xfplay精品久久| 精品国产乱码久久久久久久久 | 久久99久久精品| 日韩成人一区二区| 五月婷婷另类国产| 亚洲午夜一二三区视频| 一区二区三区四区国产精品| 国产精品久久影院| 国产精品欧美久久久久无广告 | 大白屁股一区二区视频| 国产精品综合网| 国产91色综合久久免费分享| 国产精品一区三区| 国产精品自在欧美一区| 韩国视频一区二区| 国产精品一区专区| 成人性视频免费网站| 成人动漫在线一区| 99久久亚洲一区二区三区青草| 91在线精品一区二区| 色婷婷亚洲婷婷| 91免费国产在线观看| 色婷婷av一区二区三区软件| 色老头久久综合| 欧美午夜在线观看| 91麻豆精品久久久久蜜臀| 在线综合+亚洲+欧美中文字幕| 日韩欧美中文字幕精品| 久久综合色天天久久综合图片| 久久久综合激的五月天| 国产欧美日韩不卡| 1024国产精品| 夜夜精品浪潮av一区二区三区| 亚洲成人手机在线| 极品少妇一区二区三区精品视频| 韩国视频一区二区| av男人天堂一区|