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

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

?? eventmanager.java

?? 一個java方面的消息訂閱發送的源碼
?? JAVA
字號:
/**
 * Redistribution and use of this software and associated documentation
 * ("Software"), with or without modification, are permitted provided
 * that the following conditions are met:
 *
 * 1. Redistributions of source code must retain copyright
 *    statements and notices.  Redistributions must also contain a
 *    copy of this document.
 *
 * 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 name "Exolab" must not be used to endorse or promote
 *    products derived from this Software without prior written
 *    permission of Exoffice Technologies.  For written permission,
 *    please contact info@exolab.org.
 *
 * 4. Products derived from this Software may not be called "Exolab"
 *    nor may "Exolab" appear in their names without prior written
 *    permission of Exoffice Technologies. Exolab is a registered
 *    trademark of Exoffice Technologies.
 *
 * 5. Due credit should be given to the Exolab Project
 *    (http://www.exolab.org/).
 *
 * THIS SOFTWARE IS PROVIDED BY EXOFFICE TECHNOLOGIES AND CONTRIBUTORS
 * ``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
 * EXOFFICE TECHNOLOGIES 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.
 *
 * Copyright 2000-2004 (C) Exoffice Technologies Inc. All Rights Reserved.
 *
 * $Id: EventManager.java,v 1.1 2004/11/26 01:50:41 tanderson Exp $
 */
package org.exolab.jms.events;

import org.exolab.jms.service.Serviceable;


/**
 * The EventManager manages {@link Event} objects. It has methods to
 * register and unregister events. It also extends {@link Runnable} interface
 * which defines the thread responsible for dispatching events.
 * <p>
 * An event is defined to occur at sometime in the future, as specified either
 * by an absolute time through {@link #registerEvent} or as relative time
 * through {@link #registerEventRelative}. An event must have an associated
 * event type and may have an attached <code>Serializable</code> object,
 * which is used when the EventManager makes a callback to the registered
 * handler when the event fires.
 * <p>
 * The register methids will return an event identifier which can subsequently
 * be used to unregister the event through the {@link #unregisterEvent} event.
 * This is the only means of unregister an event.
 * <p>
 * If the {@link Event} object is incorrectly specified then the
 * {@link IllegalEventDefinedException} exception is raised.
 * <p>
 * When an event fires the EventManager is responsible for ensuring
 * that the event handler is notified. If the event handler has since been
 * removed then the EventManager must gracefully abort the delivery and
 * continue processing the next event.
 * <p>
 * This class is also <code>Serviceable</code>, which implies that it can be 
 * added and controlled by a <code>ServiceManager</code>.
 *
 * @version     $Revision: 1.1 $ $Date: 2004/11/26 01:50:41 $
 * @author      <a href="mailto:jima@intalio.com">Jim Alateras</a>
 */
public interface EventManager
    extends Serviceable {

    /**
     * Register an event to be fired once and only once at the specified
     * abolsute time. The event object must be Serializable so that it can
     * be persisted and restored across EventManager restarts.
     * <p>
     * If the specified event is ill-defined then the IllegalEventDefined-
     * Exception exception is thrown.
     * <p>
     * Similarly, if the abolsute time has already passed then the exception
     * IllegalEventDefinedException is raised.
     * <p>
     * The method returns an unique event identifier, which can subsequently
     * be used to deregister the event.
     *
     * @param       event           information about the event
     * @param       abolsute        the abolsute time, in ms, that the event
     *                              must fire
     * @return      String          unique event identifier
     * @throws      IllegalEventDefinedException
     */
    String registerEvent(Event event, long absolute)
        throws IllegalEventDefinedException;

    /**
     * Register an event to be fired once and only once at a time relative to
     * now. The event object must be Serializable so that it can be persisted
     * and restored across EventManager restarts.
     * <p>
     * If the specified event is ill-defined then the IllegalEventDefined-
     * Exception exception is thrown.
     * <p>
     * The method returns an unique event identifier, which can subsequently
     * be used to deregister the event.
     *
     * @param       event           information about the event
     * @param       relative        the  relative time in ms
     *                              (currently no reference to locale).
     * @return      String          unique event identifier,
     * @throws      IllegalEventDefinedException
     */
    String registerEventRelative(Event event, long relative)
        throws IllegalEventDefinedException;

    /**
     * Unregister the event specified by the event identifier. If the event
     * does not exist then fail silently.
     *
     * @param       String          unique event identifier.
     */
    void unregisterEvent(String id);
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产午夜精品久久| 日韩主播视频在线| 欧美大胆人体bbbb| 中文字幕一区二区5566日韩| 日本成人在线电影网| 国产黄人亚洲片| 亚洲线精品一区二区三区八戒| 亚洲成人www| 久久婷婷国产综合精品青草 | 精品国产欧美一区二区| 国产亚洲精品超碰| 91性感美女视频| 日韩极品在线观看| 在线区一区二视频| 一本大道久久a久久精二百| 北条麻妃国产九九精品视频| 成人av集中营| 色噜噜狠狠色综合欧洲selulu| 91美女福利视频| 欧美一区二区三区四区在线观看| 欧美一卡在线观看| 久久久精品国产免大香伊| 中文在线一区二区| 香蕉av福利精品导航| 精品一区二区三区视频在线观看| 丁香另类激情小说| 欧美三区在线观看| 久久精品免费在线观看| 亚洲精品免费电影| 久久99热狠狠色一区二区| 丁香啪啪综合成人亚洲小说| 精品视频一区三区九区| 久久伊人蜜桃av一区二区| 亚洲精品中文在线观看| 日本成人在线看| 色综合天天狠狠| 91.成人天堂一区| 国产精品视频观看| 久久激情五月激情| 日本道色综合久久| 国产欧美一区二区在线| 日韩和欧美的一区| 91网站在线观看视频| 久久亚洲一区二区三区明星换脸| 亚洲欧美色一区| 国产丶欧美丶日本不卡视频| 欧美午夜精品理论片a级按摩| 久久久久久久综合色一本| 亚洲国产精品久久艾草纯爱| 成人aaaa免费全部观看| 26uuu欧美日本| 视频一区在线播放| 欧美色手机在线观看| 欧美国产欧美综合| 国产精品资源在线| 日韩免费观看高清完整版| 亚洲成人免费电影| www.性欧美| 国产精品不卡视频| 国产mv日韩mv欧美| 国产亚洲欧美在线| 国内精品久久久久影院一蜜桃| 欧美精品日韩精品| 亚洲制服丝袜在线| 欧美在线小视频| 亚洲免费观看高清完整| 91女人视频在线观看| 国产精品嫩草99a| 成人精品在线视频观看| 国产亚洲精品超碰| 国产福利电影一区二区三区| 久久久久久久av麻豆果冻| 麻豆91精品91久久久的内涵| 日韩三区在线观看| 久久草av在线| 日韩精品一区二区在线观看| 久久国产精品99久久久久久老狼| 欧美一区二区三区视频免费播放| 丝袜美腿亚洲一区| 日韩一区二区三区视频在线观看| 日韩电影在线观看电影| 欧美变态凌虐bdsm| 播五月开心婷婷综合| 国产精品的网站| 色老综合老女人久久久| 亚洲一卡二卡三卡四卡无卡久久| 欧美日韩一区二区三区在线| 午夜精品久久久久久不卡8050 | 国产欧美一区二区精品秋霞影院 | 国产精品久久久久久久裸模| 不卡区在线中文字幕| 一区二区欧美国产| 欧美男男青年gay1069videost| 男人的j进女人的j一区| 久久久国际精品| 91视视频在线直接观看在线看网页在线看| 中文字幕一区二区三区在线不卡| 在线观看一区二区视频| 日本网站在线观看一区二区三区 | 成人小视频免费观看| 亚洲欧美一区二区三区孕妇| 欧美日韩视频第一区| 国产裸体歌舞团一区二区| 中文字幕亚洲欧美在线不卡| 欧美日韩极品在线观看一区| 国产一区二区三区最好精华液| 亚洲另类春色国产| 精品va天堂亚洲国产| 色妞www精品视频| 另类小说欧美激情| 亚洲黄色免费网站| 国产日韩欧美一区二区三区乱码| 91国偷自产一区二区开放时间 | 东方aⅴ免费观看久久av| 亚洲精品乱码久久久久| 日韩精品一区二区三区老鸭窝| 成人av片在线观看| 免费精品99久久国产综合精品| 中文字幕日韩一区二区| 日韩欧美国产一区二区在线播放| 91蜜桃网址入口| 国产精品一级黄| 日本欧美一区二区三区乱码| 亚洲四区在线观看| 精品国产亚洲在线| 欧美日韩在线播放三区四区| 成人在线视频一区二区| 美女网站一区二区| 日日摸夜夜添夜夜添国产精品| 国产精品视频观看| 久久久久九九视频| 91精品国产日韩91久久久久久| 91久久香蕉国产日韩欧美9色| 国产乱人伦偷精品视频免下载 | 亚洲精品欧美激情| 国产精品青草综合久久久久99| 精品国产乱子伦一区| 欧美一二三区精品| 欧美日韩亚洲综合在线| 欧美亚洲丝袜传媒另类| 91在线免费视频观看| 波多野结衣91| 成人精品鲁一区一区二区| 国产精品综合在线视频| 黑人巨大精品欧美一区| 久久成人av少妇免费| 美女视频黄 久久| 国产自产2019最新不卡| 久久99精品久久久| 国产一区二区在线看| 国产激情视频一区二区在线观看 | 日本不卡1234视频| 麻豆极品一区二区三区| 免费一级片91| 韩国女主播一区二区三区| 精品亚洲porn| 国产一区二区三区免费观看| 国产精品一线二线三线| 风间由美性色一区二区三区| 国产高清在线精品| 99精品视频一区二区三区| 99国产精品99久久久久久| 99精品视频一区| 欧美亚洲精品一区| 欧美成人精品高清在线播放 | 91丝袜呻吟高潮美腿白嫩在线观看| 99久久精品免费看| 欧美亚洲综合在线| 日韩欧美视频一区| 久久综合色婷婷| 中文字幕五月欧美| 亚洲不卡av一区二区三区| 精彩视频一区二区| 99久久99久久精品免费看蜜桃 | 久久久久国产免费免费| 国产精品久久久久久久久免费桃花 | 国产剧情av麻豆香蕉精品| 99精品久久久久久| 91麻豆精品91久久久久同性| xvideos.蜜桃一区二区| 亚洲欧美国产三级| 久久精品99久久久| 色综合久久88色综合天天6| 91精品中文字幕一区二区三区| 久久中文娱乐网| 亚洲最大色网站| 国产精品一区二区在线看| 色婷婷综合久久久久中文| 欧美成人综合网站| 亚洲乱码国产乱码精品精98午夜 | 成人黄色软件下载| 欧美福利一区二区| 国产精品大尺度| 久色婷婷小香蕉久久| 91福利视频在线| 日本一区二区电影| 男人操女人的视频在线观看欧美| 91亚洲资源网| 久久久另类综合| 久久精品免费观看|