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

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

?? discoveryservice.java

?? jxta平臺的開發包
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
     *  search criteria. The selection of advertisements returned may be random      *  or predictable depending upon the network configuration and no      *  particular behaviour should be assumed. In general the narrower the     *  query specified the more exhaustive the responses will be.      *      *  <p/>Discovery can be performed in two ways : <ul>     *      <li>With a {@code null} peerid - The discovery query is     *      propagated on via the Rendezvous Service and via local sub-net     *      utilizing IP multicast.</li>     *      <li>With a provided peerid - The discovery query is forwarded to the     *      specified peer.</li>     *  </ul>     *     *  <p/>The scope of advertisements returned can be narrowed by specifying     *  an {@code attribute} and {@code value} pair. The {@code attribute} is     *  a case-sensitive string matching the name of an Advertisement XML tag     *  who's values will be matched by the {@code value}. Only a limited number     *  of Advertisement XML fields are indexed. {@link     *  net.jxta.document.Advertisement#getIndexFields()} will return the      *  fields on which you may query for a particular Advertisement type.      *      *  <p/>The {@code value} is a case-insensitive string who's value is     *  matched against the values of {@code attribute} fields of Advertisements.     *  The {@code} value may be of several forms :     *  <ul>     *      <li>{@code null} - Don't care. All advertisements with the matching     *      {@code attribute} will be returned.</li>     *      <li>exact value - Only advertisements with an {@code attribute}     *      field who's value exactly matches the string {@code value} will be     *      returned.</li>     *      <li>wild card - Only advertisements with an {@code attribute}     *      field who's value matches the wild card expression {@code value}      *      will be returned. eg. The following expressions all match against     *      "FooBar":     *      <ul>     *          <li>{@code fOo*}</li>     *          <li>{@code *bAr}</li>     *          <li>{@code *OBa*}</li>     *      </ul></li>     *  </ul>     *      * @param peerid If provided the query will be forwarded to the specified     *      peer. If {@code null} then the query will be propagated through the     *      network to peers with matching Advertisements.     *  @param type Discovery type; <tt>PEER</tt>, <tt>GROUP</tt> or <tt>ADV</tt>.     * @param  attribute  indexed element name (see Advertisement(s) for a     *       list of indexed fields. A null attribute indicates any advertisement     *       of specified type     * @param  value      value of attribute to narrow discovery to. Valid values      *      for this parameter or {@code null} (don't care), Exact value, or use     *      of wild card(s) (e.g. if a Advertisement defines <Name>FooBar</name>,     *      a value of "*bar", "foo*", or "*ooB*", will return the Advertisement     * @param  threshold  The maximum number of matching advertisements which     *      be returned by each responding peer. A {@code threshold} of 0, and      *      {@code type} of {@code PEER} has a special behaviour.     * @param  listener   The listener which will be called when advertisement     *      which match this query are discovered or {@code null} if no      *      callback is desired.     * @return query ID for this discovery query.     */    public int getRemoteAdvertisements(String peerid,            int type,            String attribute,            String value,            int threshold,            DiscoveryListener listener);    /**     *  Retrieve locally stored Advertisements. This is an exhaustive search of     *  the locally cached results. All valid known matching results will be      *  returned.     *     *  @param type Discovery type; <tt>PEER</tt>, <tt>GROUP</tt> or <tt>ADV</tt>.     *  @param  attribute     indexed element name (see Advertisement(s) for a     *       list of indexed fields. {@code null} indicates any advertisement     *       of specified type     *  @param  value         value of attribute to narrow discovery to valid     *      values for this parameter are {@code null} (don't care), Exact      *      value, or use of wild card(s) (e.g. if a Advertisement defines      *      <Name>FooBar</name> , a value of "*bar", "foo*", or "*ooB*", will      *      return the Advertisement     *  @return Enumeration of stored advertisements.     *  @throws  IOException Thrown if an error occurs during retrieval.     */    public Enumeration getLocalAdvertisements(int type, String attribute, String value) throws IOException;    /**     * Publish an Advertisement. The Advertisement will expire automatically      * on the local peer after <code>DEFAULT_LIFETIME</code> and will expire on     * other peers after <code>DEFAULT_EXPIRATION</code>.     *     * <p/>When an Advertisement is published, it is stored, and indexed in the      * peer's local cache. The Advertisement indexes are also shared with      * Rendezvous peers. Advertisement indexes may not be shared with other     * peers immediately, but may be updated as part of a periodic process. The     * Discovery Service currently publishes index updates every 30 seconds.     *     * @param adv The Advertisement to publish.     * @throws IOException When an error occurs during Advertisement publication.     */    public void publish(Advertisement adv) throws IOException;    /**     * Publish an Advertisement. The Advertisement will expire automatically      * after the specified time. A peer that discovers this advertisement will      * hold it for about <tt>expiration</tt> or <tt>lifetime</tt> milliseconds,      * whichever is smaller.     *     * <p/>When an Advertisement is published, it is stored, and indexed in the      * peer's local cache. The Advertisement indexes are also shared with      * Rendezvous peers. Advertisement indexes may not be shared with other     * peers immediately, but may be updated as part of a periodic process. The     * Discovery Service currently publishes index updates every 30 seconds.     *     * @param adv The Advertisement to publish.     * @param lifetime Duration in relative milliseconds that this advertisement will exist.     * @param expiration Duration in relative milliseconds that this advertisement will be cached by other peers.     * @throws IOException When an error occurs during Advertisement publication.     */    public void publish(Advertisement adv, long lifetime, long expiration) throws IOException;    /**     * Publish an Advertisement via propagation to other peers on the network.     * This does not result in the advertisement being stored locally. The     * Advertisement will be published with an expiration time of     * <tt>DEFAULT_EXPIRATION</tt>.     *     *  @param adv Advertisement to publish.     */    public void remotePublish(Advertisement adv);    /**     * Publish an Advertisement via propagation to other peers on the network.     * This does not result in the advertisement being stored locally.     *     *  @param adv The Advertisement to publish.     *  @param expiration  Duration in relative milliseconds that this      *      Advertisement will be cached by other peers.     */    public void remotePublish(Advertisement adv, long expiration);    /**     * Publish an Advertisement to another peer on the network.     * This does not result in the advertisement being stored locally. The     * Advertisement will be published with an expiration time of     * <tt>DEFAULT_EXPIRATION</tt>.     *     *@param peerid The ID of a peer, specifying <tt>null</tt> results in       *      propagation within the group.     *@param adv The Advertisement to publish.     */    public void remotePublish(String peerid, Advertisement adv);    /**     * Publish an Advertisement to another peer on the network. This does not      * result in the advertisement being stored locally.     *     *  @param  peerid id of a peer, specifying null results in a propagate     *      within the group     * @param adv The Advertisement to publish.     * @param expiration  Duration in relative milliseconds that this      *      Advertisement will be cached by other peers.     */    public void remotePublish(String peerid, Advertisement adv, long expiration);        /**     * Removes the specified Advertisement from the cache of locally stored     * Advertisements.     *     * @param adv Advertisement to remove.     * @throws IOException If there is a problem removing the advertisement.     */    public void flushAdvertisement(Advertisement adv)  throws IOException;    /**     * Removes the specified Advertisement from the cache of locally stored     * Advertisements.     *     * @param id The {@link Advertisement#getID()} value of the     *      Advertisement to be removed.     * @param type Discovery type PEER, GROUP, ADV.     * @throws IOException If there is a problem removing the advertisement.     */    public void flushAdvertisements(String id, int type) throws IOException;    /**     *  Returns the maximum duration in milliseconds for which this document     *  will be cached by peers other than the publisher. This value is either     *  the stored lifetime or the remaining lifetime of the document, whichever     *  is less.     *     *  @param id Document ID, Peer ID, or PeerGroup ID     *  @param type Discovery type PEER, GROUP, ADV     *  @return The number of milliseconds that other peers will be told to     *      retain this Advertisement in their local caches. -1 is returned if       *      the Advertisement is not known or already expired.     */    public long getAdvExpirationTime(ID id, int type);    /**     *  Returns the maximum duration in milliseconds for which this document     *  should be kept in local cache.     *     *  @param id Document ID, Peer ID, or PeerGroup ID     *  @param type Discovery type PEER, GROUP, ADV     *  @return The number of milliseconds this Advertisement will remain in the     *      local cache unless refreshed before that time. -1 is returned if the      *      Advertisement is not known or already expired.     */    public long getAdvLifeTime(ID id, int type);    /**     *  Returns the maximum duration in milliseconds for which this document     *  will be cached by peers other than the publisher. This value is either     *  the stored lifetime or the remaining lifetime of the document, whichever     *  is less.     *     *  @param adv Advertisement     *  @return The number of milliseconds that other peers will be told to     *      retain this Advertisement in their local caches. -1 is returned if       *      the Advertisement is not known or already expired.     */    public long getAdvExpirationTime(Advertisement adv);    /**     *  Returns the maximum duration in milliseconds for which this document     *  should be kept in local cache.     *     *  @param adv Advertisement     *  @return The number of milliseconds this Advertisement will remain in the     *      local cache unless refreshed before that time. -1 is returned if the      *      Advertisement is not known or already expired.     */    public long getAdvLifeTime(Advertisement adv);    /**     * Register a Discovery listener. The Discovery listener will be called      * whenever Advertisement responses are received from remote peers by the     * Discovery Service.     *     *  @param listener the DiscoveryListener     */    public void addDiscoveryListener(DiscoveryListener listener);    /**     *  Remove a Discovery listener which was previously registered with     *  {@link #getRemoteAdvertisements(String,int,String,String,int,DiscoveryListener) getRemoteAdvertisements()}     *  or {@link #addDiscoveryListener(DiscoveryListener) addDiscoveryListener()}.     *     *  @param listener The listener to be removed.     *  @return true if the listener was successfully removed, false otherwise     */    public boolean removeDiscoveryListener(DiscoveryListener listener);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美电影在线免费观看| 国产精品久久影院| 欧美国产丝袜视频| 午夜一区二区三区在线观看| 韩国一区二区在线观看| 欧美视频一区二| 国产欧美精品一区二区色综合 | 欧美色视频一区| 日韩va亚洲va欧美va久久| 日韩电影在线免费看| 成人99免费视频| 精品国产免费人成电影在线观看四季| 亚洲男同性视频| 国产一区二区三区精品视频| 欧美日韩黄色影视| 亚洲免费电影在线| 99视频热这里只有精品免费| 欧美精品一区男女天堂| 日韩精品欧美精品| 欧美美女激情18p| 伊人色综合久久天天人手人婷| 国产成人精品一区二区三区四区 | 欧美丝袜丝交足nylons| 91玉足脚交白嫩脚丫在线播放| 国产精品国产三级国产a| 日本福利一区二区| 精东粉嫩av免费一区二区三区| 国产精品国产三级国产普通话蜜臀 | 国产成都精品91一区二区三| 日本韩国欧美三级| 99riav久久精品riav| 91精品视频网| 日韩电影免费在线| 欧美日韩二区三区| 日韩av中文在线观看| 欧美日韩一区二区三区高清| 亚洲黄色免费网站| 欧美三区在线观看| 亚洲韩国一区二区三区| 欧美少妇性性性| 婷婷一区二区三区| 欧美一区二区在线播放| 久久国产夜色精品鲁鲁99| 日韩欧美三级在线| 国产福利一区二区| 中文在线一区二区| 91蝌蚪porny成人天涯| 亚洲一线二线三线久久久| 色吧成人激情小说| 亚洲成人动漫一区| 日韩美女视频在线| 国产福利一区二区| 一区二区三区久久久| 欧美精品久久99久久在免费线| 奇米色777欧美一区二区| 欧美一区二区三区婷婷月色| 国精产品一区一区三区mba视频| 国产三级精品在线| 91视频.com| 五月天网站亚洲| 久久久午夜精品| 色综合久久精品| 久久精品免费观看| 国产精品国产三级国产aⅴ中文 | 欧美精品一卡两卡| 国产尤物一区二区| 亚洲欧美日韩中文字幕一区二区三区 | 精品美女在线播放| 国产超碰在线一区| 亚洲男同性视频| 欧美成人vps| 99精品欧美一区二区蜜桃免费| 亚洲图片有声小说| 欧美国产一区视频在线观看| 欧美日韩一区二区欧美激情| 精品一区二区三区在线视频| 成人欧美一区二区三区| 欧美一区永久视频免费观看| av在线一区二区| 久久不见久久见免费视频1| 中文字幕色av一区二区三区| 欧美精品视频www在线观看| 国内精品伊人久久久久av一坑| 亚洲另类中文字| 久久亚洲一级片| 欧美剧情片在线观看| 粗大黑人巨茎大战欧美成人| 日韩福利电影在线观看| 综合在线观看色| 久久久久久久综合| 91精品国产乱码| 91国偷自产一区二区开放时间| 国产精品综合av一区二区国产馆| 亚洲国产精品久久久男人的天堂| 国产精品久久一卡二卡| 日韩美女视频在线| 欧美一区二区三区日韩| 欧美中文字幕一区二区三区| 国产高清视频一区| 国产在线不卡视频| 麻豆91在线观看| 日韩成人午夜精品| 亚洲成人av一区二区三区| 亚洲最大成人综合| 最新国产成人在线观看| 国产欧美精品一区| 久久综合视频网| 日韩久久精品一区| 欧美一区二区三区公司| 在线播放视频一区| 欧美日韩欧美一区二区| 色88888久久久久久影院野外 | 懂色av中文字幕一区二区三区 | 国产精品情趣视频| 日韩欧美高清一区| 91精品国产免费| 欧美一区二区三区四区久久| 91精品欧美一区二区三区综合在 | 久久这里只有精品6| 日韩一区二区影院| 一区二区三区在线视频播放| 久久综合狠狠综合久久激情| 亚洲综合久久久久| 久久伊人中文字幕| 国产欧美视频在线观看| 欧美日韩一区久久| 欧美日韩精品一区二区三区 | 色成年激情久久综合| 一本大道综合伊人精品热热| 色婷婷av一区| 欧美视频自拍偷拍| 在线观看91精品国产麻豆| 91精品国产综合久久国产大片| 欧美一级精品大片| 久久先锋资源网| 国产精品久久久久久久午夜片| 国产精品福利电影一区二区三区四区| 亚洲女同女同女同女同女同69| 亚洲乱码国产乱码精品精可以看 | 日韩不卡一二三区| 韩日欧美一区二区三区| 国产精品福利一区二区三区| 久久99日本精品| 国产精品一区久久久久| 粉嫩嫩av羞羞动漫久久久| 色综合久久久久| 色悠久久久久综合欧美99| 99国产精品久久久久久久久久久| 国产成人午夜99999| 日韩精品视频网站| 国产一区二区三区免费观看| 狠狠网亚洲精品| 国产综合色在线视频区| 国内不卡的二区三区中文字幕 | 国产成人8x视频一区二区| 极品美女销魂一区二区三区 | 国产精品一区久久久久| 国产剧情一区二区三区| 99久久综合狠狠综合久久| 欧美伊人久久久久久久久影院| 亚洲精品一区二区三区影院| 日韩免费电影网站| 欧美亚洲高清一区| 99国产麻豆精品| 欧美日韩一区成人| 欧美少妇bbb| 日韩一区二区视频| 91精品国产综合久久久久久久久久| 国产精品资源在线| 欧美视频一区二区在线观看| 国产日韩综合av| 蜜臂av日日欢夜夜爽一区| 91理论电影在线观看| 久久久久久影视| 国产在线视频精品一区| 欧美日韩一区视频| 欧美极品另类videosde| 日韩高清在线一区| 欧美一区二区三区小说| 色婷婷综合五月| 欧洲国内综合视频| 国产亚洲一二三区| 日韩黄色在线观看| 91官网在线免费观看| 日韩电影在线免费观看| 亚洲成av人片观看| 秋霞影院一区二区| 欧美影院精品一区| 中文字幕一区二区不卡| 国产在线精品不卡| 日韩欧美一区在线| 亚洲www啪成人一区二区麻豆| 91免费视频大全| 国产精品丝袜一区| 国产精品羞羞答答xxdd| 欧美一级欧美三级在线观看| 亚洲综合色婷婷| 色香色香欲天天天影视综合网| 国产精品每日更新| 亚洲一区av在线|