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

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

?? peerinfoservice.java

?? jxta平臺的開發包
?? JAVA
字號:
/* *  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. * *  $Id: PeerInfoService.java,v 1.15 2005/08/08 19:59:07 bondolo Exp $ */package net.jxta.peer;import net.jxta.service.Service;import net.jxta.platform.*;import net.jxta.meter.*;/** *  The PeerInfoService is a generic API for getting information about *  the local Peer as well as remote Peers. <P> * *  The most important type of information about a Peer may be gotten through *  the Monitoring Service that may be accessed via the PeerInfoService.  The *	Monitoring Service provides an open mechanism for reporting any type of *	Metrics gathered on a Peer by a ServiceMonitor.  Attached Service Monitors *	are identified by their ModuleClassID.  A ServiceMonitor may monitor anything *  (ie it is not restricted to JXTA Services).  <p> * *	There are several methods for accessing the capabilities and metrics *  from ServiceMonitors *  attached to the Peer (either locally or from remote peers). <p> * *	Cumulative MonitorReports containing metrics since the Monitoring began *	(or was reset) on a local/remote Peer may be obtained.  Alternatively, you may *	register listeners get periodic MonitorReports (at a specified rate) of *	metrics (since the previous report).  The amount of information obtained (either *	cumulatively or periodically) is determined by a MonitorFilter whi * *  The PeerInfoService utilizes the ResolverService to send queries and receive *  responses (PeerInfoQueryMessage / PeerInfoResponseMessage).  These contain *  requests and responses that are specific to the type of info being requested. *  Depending upon the type of information requested, a peer may provide multiple *  varying responses over time (as is the case for periodic remote peer Monitoring). <P> * *  At the time of writing this documentation Service Monitoring is the only type *	of Peer Information available though the implementation and underlying protocol *	can support other types of information. <P> * *  See the document: *					<UL> *   					<LI> <I> JXTA Metering and Monitoring Project </I> </LI> *   					<LI> <I> The JXTA Metering and Monitoring Project Architecture </I> </LI> *   					<LI> <I> Building and Configuring JXTA with Monitoring Capabilities </I> </LI> *   					<LI> <I> JXTA Monitor: GUI Rendering of Metered Peer Info </I> </LI> *					</UL> * *@see      net.jxta.meter.MonitorFilter *@see      net.jxta.meter.MonitorReport *@see      net.jxta.meter.ServiceMonitor *@see      net.jxta.meter.PeerMonitorInfo * *@see      net.jxta.protocol.PeerInfoQueryMessage *@see      net.jxta.protocol.PeerInfoResponseMessage *@since    JXTA 1.0 */public interface PeerInfoService extends Service {            /**     *		See if Local Monitoring is available on this Peer     *		Local monitoring is only available if you are using a version of     *		of jxta.jar that was build with metering activated.  <p>     *     *		See the document:     *					<UL>     *	  					<LI> <I> Building and Configuring JXTA with Monitoring Capabilities </I> </LI>     *					</UL>     **/    public boolean isLocalMonitoringAvailable();        /**     *		See if Local monitoring is available from a specific ServiceMonitor.     *		Local monitoring is only available if you are using a version of     *		of jxta.jar that was build with metering activated.  <p>     *     * 	See the document:     *					<UL>     *   					<LI> <I> Building and Configuring JXTA with Monitoring Capabilities </I> </LI>     *					</UL>     *     *		@param moduleClassID The Module classID of the ServiceMonitor.  Note that the ServiceMonitor     *								moduleClassID is not the same as moduleClassID of the Service     *								being monitored.     **/    public boolean isLocalMonitoringAvailable(ModuleClassID moduleClassID);        /**     * 		Asynchronous reporting of Monitored data may be obtained only at rates supported by     *		the MonitorManager on the peer.  This method returns the locally supported rates (in milliseconds)     **/    public long[] getSupportedReportRates();        /**     * 		Asynchronous reporting of Monitored data may be obtained only at rates supported by     *		the MonitorManager on the peer.  This method validates whether a specific     *		rate (in milliseconds) is locally supported.     **/    public boolean isSupportedReportRate(long reportRate);            /**     * 		Asynchronous reporting of Monitored data may be obtained only at rates supported by     *		the MonitorManager on the peer.  This method supplies the closest (rounded up)     *		rate (in milliseconds) to the specified rate that is locally supported.     **/    public long getBestReportRate(long desiredReportRate);        /**     * 		Obtain the monitoring capabilities of the Local Peer. <P>     *		 The PeerMonitorInfo provides:     *					<UL>     *	  					<LI> Whether any monitoring is available for this Peer </LI>     *	  					<LI> The supported rates of asynchronous monitoring </LI>     *	  					<LI> A list (as ModuleClassIDs) of ServiceMonitors attached to this Peer </LI>     *					</UL>     **/    public PeerMonitorInfo getPeerMonitorInfo();        /**     * 		Obtain the monitoring capabilities of a Remote Peer. <P>     *		 The PeerMonitorInfo provides:     *					<UL>     *	  					<LI> Whether any monitoring is available for this Peer </LI>     *	  					<LI> The supported rates of asynchronous monitoring </LI>     *	  					<LI> A list (as ModuleClassIDs) of ServiceMonitors attached to this Peer </LI>     *					</UL>     *     *		Via the PeerMonitorInfoListener, you will be informed of the PeerMonitorInfo or why it was     *		not provided (error, timeout, unavailable, etc)     *     *		@param peerID The PeerID of the Peer you wish information about     *		@param peerMonitorInfoListener The Listener to be told about the obtained PeerMonitorInfo     *		@param timeout Generate a timeout event if no answer has been received in this time (in Milliseconds)     **/    public void getPeerMonitorInfo(PeerID peerID, PeerMonitorInfoListener peerMonitorInfoListener, long timeout) throws MonitorException;        /**     *		Get a MonitorReport of total accumulated metrics from the ServiceMonitors (specified in the     *		MonitorFilter) since they were created/reset for the local Peer.     *     *		@param monitorFilter	The MonitorFilter containing the specific ServiceMonitors and types of Service Metrics desired     **/    public MonitorReport getCumulativeMonitorReport(MonitorFilter monitorFilter) throws MonitorException;        /**     *		Get a MonitorReport of total accumulated metrics from the ServiceMonitors (specified in the     *		MonitorFilter) since they were created/reset for the specified remote Peer.     *     *		@param peerID			The PeerID of the Peer you wish information about     *		@param monitorFilter	The MonitorFilter containing the specific ServiceMonitors and types of Service Metrics desired     *		@param monitorListener	The Listener to obtain the report when it arrives (or timed out)     *		@param timeout			The timeout for reporting that the information has not arrived.     **/    public void getCumulativeMonitorReport(PeerID peerID, MonitorFilter monitorFilter, MonitorListener monitorListener, long timeout) throws MonitorException;        /**     *		Get MonitorReports at a specified rates of metrics accrued over time from the ServiceMonitors     *		(specified in the MonitorFilter) about the local Peer.  For many applications it is required to obtain metrics from     *		the beginning of time and then augment over time as more data arrives. <P>     *     *		There is a problem with the following approach:     *				<OL>     *					<LI>	Call getCumulativeMonitorReport to get the cumulative totals </LI>     *					<LI>	Call addMonitorListener to get periodic changes </LI>     *					<LI>	Add the periodic data to the totals </LI>     *				</OL>     *     *		Because of a potential race condition related to metrics that are measured between the two calls it is     *		possible to lose some metrics.  To address this, this method supports this by combining them into a single     *		call that allows you to specify whether you wish the first report delivered to be a cumulative report.     *     *		@param monitorFilter	The MonitorFilter containing the specific ServiceMonitors and types of Service Metrics desired     *		@param reportRate		The rate at which you wish metric delta reports     *		@param includeCumulative	Should the first report you receive be the cumulative data since the ServiceMonitors were created/reset?     *		@param monitorListener	The Listener to obtain the report when it arrives (or timed out)     **/    public long addMonitorListener(MonitorFilter monitorFilter, long reportRate, boolean includeCumulative, MonitorListener monitorListener) throws MonitorException;        /**     *		Get MonitorReports at a specified rates of metrics accrued over time from the ServiceMonitors     *		(specified in the MonitorFilter) about the specified remote Peer.  For many applications it is required to obtain metrics from     *		the beginning of time and then augment over time as more data arrives. <P>     *     *		There is a problem with the following approach:     *				<OL>     *					<LI>	Call getCumulativeMonitorReport to get the cumulative totals </LI>     *					<LI>	Call addMonitorListener to get periodic changes </LI>     *					<LI>	Add the periodic data to the totals </LI>     *				</OL>     *     *		Because of a potential race condition related to metrics that are measured between the two calls it is     *		possible to lose some metrics.  To address this, this method supports this by combining them into a single     *		call that allows you to specify whether you wish the first report delivered to be a cumulative report.     *     *		@param peerID			The PeerID of the Peer you wish information about     *		@param monitorFilter	The MonitorFilter containing the specific ServiceMonitors and types of Service Metrics desired     *		@param reportRate		The rate at which you wish metric delta reports     *		@param includeCumulative	Should the first report you receive be the cumulative data since the ServiceMonitors were created/reset?     *		@param monitorListener	The Listener to obtain the report when it arrives (or timed out)     *		@param timeout			The timeout for reporting that the information has not arrived.     **/    public void addRemoteMonitorListener(PeerID peerID, MonitorFilter monitorFilter, long reportRate, boolean includeCumulative, MonitorListener monitorListener, long lease, long timeout) throws MonitorException;        /**     *	Stop the periodic reporting for all registered filters corresponding to this MonitorListener     **/    public boolean removeMonitorListener(MonitorListener monitorListener) throws MonitorException;        /**     *		Stop the periodic reporting for all registered filters to the specified Peer corresponding to this MonitorListener.     *     *		@param peerID The Peer that you wish to deregister periodic reporting     *		@param monitorListener The MonitorListener that was originally registered     *		@param timeout	The timeout for reporting that the remote listener was acknowledged as deregistered     **/    public void removeRemoteMonitorListener(PeerID peerID, MonitorListener monitorListener, long timeout) throws MonitorException;        /**     *		Stop the periodic reporting for all registered filters to the all remote Peers corresponding to this MonitorListener.     *     *		@param monitorListener The MonitorListener that was originally registered     *		@param timeout	The timeout for reporting that the remote listener was acknowledged as deregistered     **/    public void removeRemoteMonitorListener(MonitorListener monitorListener, long timeout) throws MonitorException;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
性久久久久久久久久久久| 亚洲自拍偷拍图区| 这里只有精品电影| 欧美美女bb生活片| 欧美人动与zoxxxx乱| 91精品国产乱码久久蜜臀| 欧美一区二区在线播放| 精品日韩成人av| 亚洲国产电影在线观看| 国产精品区一区二区三区| 国产精品国产自产拍高清av王其| 国产喂奶挤奶一区二区三区| 欧美极品美女视频| 国产精品午夜在线观看| 国产精品无圣光一区二区| 国产精品网站一区| 一区二区三区**美女毛片| 视频一区在线播放| 国产最新精品精品你懂的| 成人av电影免费观看| 欧美日韩在线播放一区| 日韩视频永久免费| 国产精品久久网站| 性做久久久久久免费观看 | 国产乱人伦精品一区二区在线观看| 性做久久久久久| 国产一区二区三区在线看麻豆| 波多野结衣在线一区| 欧美三级电影网| 久久综合久久鬼色中文字| 亚洲区小说区图片区qvod| 老色鬼精品视频在线观看播放| 国产激情精品久久久第一区二区 | 国产精品久久久久aaaa樱花| 蜜桃av噜噜一区| 日韩女优av电影| 美女免费视频一区二区| 久久在线免费观看| 国产美女娇喘av呻吟久久| 精品国产乱码久久久久久影片| 美女一区二区视频| 2020国产精品自拍| 粉嫩aⅴ一区二区三区四区五区| 国产三区在线成人av| 成人app在线观看| 一区二区三区免费观看| 7777精品伊人久久久大香线蕉经典版下载| 日韩专区在线视频| 欧美大尺度电影在线| 国产精品一区二区91| 国产精品视频第一区| 色婷婷亚洲婷婷| 日韩精品电影在线| 久久先锋影音av鲁色资源| 国产成人久久精品77777最新版本| 国产亚洲精品7777| 色香蕉久久蜜桃| 天天av天天翘天天综合网| 久久综合五月天婷婷伊人| 粉嫩欧美一区二区三区高清影视| 亚洲视频你懂的| 日韩午夜在线播放| 99国产精品久久久| 久久精品久久精品| 亚洲欧洲综合另类| 日韩三级在线免费观看| 成人午夜视频在线| 日本伊人色综合网| 国产精品久久看| 日韩一区二区三区四区五区六区| 国产成人精品三级麻豆| 亚洲电影激情视频网站| 久久久久国产精品免费免费搜索| 日本乱人伦一区| 国产又粗又猛又爽又黄91精品| 亚洲精品精品亚洲| 国产午夜精品一区二区三区四区| 在线亚洲一区二区| 国产电影一区二区三区| 天堂久久久久va久久久久| 国产精品网站在线| 久久午夜电影网| 欧美精选在线播放| 91麻豆国产福利精品| 国产精品一区二区久久不卡| 亚洲一区在线观看视频| 国产精品情趣视频| 2020国产精品| 日韩美女视频在线| 精品视频一区二区不卡| jlzzjlzz亚洲日本少妇| 国产一区二区在线观看视频| 视频一区中文字幕国产| 亚洲男人天堂一区| 国产精品国产成人国产三级| 久久嫩草精品久久久久| 日韩一区二区免费在线电影| 91麻豆国产福利在线观看| 成人激情开心网| 成人影视亚洲图片在线| 国产福利一区二区三区视频 | 日韩一级片网址| 欧美日韩高清在线播放| 欧美午夜电影在线播放| 日本韩国欧美一区二区三区| 99免费精品视频| 99国产精品国产精品久久| av成人免费在线观看| 成人一区二区在线观看| 成人福利视频网站| 成人一区二区三区视频| 成人国产精品免费观看动漫| 国产乱码精品1区2区3区| 国产精品综合视频| 国产精品99久| 不卡视频免费播放| 91网站黄www| 在线看日本不卡| 欧美男生操女生| 日韩午夜中文字幕| 久久久五月婷婷| 亚洲国产电影在线观看| 亚洲欧美日韩国产手机在线| 一区二区三区四区激情| 亚洲国产成人porn| 天堂久久一区二区三区| 精品一区二区三区免费播放| 国产成人亚洲综合a∨婷婷图片 | 国产一区二区免费视频| 国产福利精品一区| 一本大道久久精品懂色aⅴ| 一本在线高清不卡dvd| 欧美丝袜丝交足nylons图片| 欧美日本一区二区在线观看| 717成人午夜免费福利电影| 精品国产青草久久久久福利| 亚洲国产精品成人综合色在线婷婷 | 日本一区免费视频| 亚洲欧美日韩精品久久久久| 亚洲成人激情社区| 国产精品原创巨作av| 91丨porny丨首页| 欧美久久久久久久久久| 久久精品男人的天堂| 亚洲乱码日产精品bd| 免费精品视频在线| 成人激情免费电影网址| 3d成人h动漫网站入口| 国产无人区一区二区三区| 亚洲精品中文在线观看| 久久精品免费看| 91女人视频在线观看| 日韩三级视频在线看| 亚洲天堂2016| 国产一区二区影院| 欧美三级日本三级少妇99| 国产亚洲欧美日韩在线一区| 亚洲一区二区三区四区在线| 狠狠久久亚洲欧美| 欧美系列亚洲系列| 国产精品三级在线观看| 日本v片在线高清不卡在线观看| 国产成都精品91一区二区三| 7777女厕盗摄久久久| 亚洲视频小说图片| 国产黄色精品视频| 日韩一区二区电影| 亚洲综合另类小说| aaa国产一区| 久久午夜老司机| 免费人成网站在线观看欧美高清| 91视频www| 欧美国产精品一区二区| 奇米影视在线99精品| 色8久久人人97超碰香蕉987| 国产亚洲成av人在线观看导航| 日韩av成人高清| 欧美日韩精品综合在线| 最新欧美精品一区二区三区| 国产一区二区三区不卡在线观看| 4438x成人网最大色成网站| 亚洲宅男天堂在线观看无病毒| 成人性生交大片免费看在线播放| 欧美成人性福生活免费看| 日韩精品亚洲一区二区三区免费| 欧美在线观看一二区| 亚洲精品视频观看| 91在线视频播放地址| 国产精品传媒入口麻豆| 成人精品gif动图一区| 久久久国产综合精品女国产盗摄| 精品一区二区三区不卡 | 国产精品一区二区久久不卡 | 91精品国产色综合久久不卡蜜臀| 亚洲一卡二卡三卡四卡五卡| 91视频一区二区三区| 亚洲三级免费观看| 欧美一区二区日韩一区二区| 亚洲香蕉伊在人在线观| 欧美色中文字幕|