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

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

?? jmsqueuesession.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-2005 (C) Exoffice Technologies Inc. All Rights Reserved.
 */
package org.exolab.jms.client;

import javax.jms.JMSException;
import javax.jms.Queue;
import javax.jms.QueueReceiver;
import javax.jms.QueueSender;
import javax.jms.QueueSession;
import javax.jms.TemporaryTopic;
import javax.jms.Topic;
import javax.jms.TopicSubscriber;


/**
 * Client implementation of the <code>javax.jms.QueueSession</code> interface.
 *
 * @author <a href="mailto:jima@exoffice.com">Jim Alateras</a>
 * @version $Revision: 1.2 $ $Date: 2005/03/18 03:36:37 $
 */
class JmsQueueSession
        extends JmsSession
        implements QueueSession {

    /**
     * Construct a new <code>JmsQueueSession</code>.
     *
     * @param connection the owner of the session
     * @param transacted if <code>true</code>, the session is transacted.
     * @param ackMode    indicates whether the consumer or the client will
     *                   acknowledge any messages it receives. This parameter
     *                   will be ignored if the session is transacted. Legal
     *                   values are <code>Session.AUTO_ACKNOWLEDGE</code>,
     *                   <code>Session.CLIENT_ACKNOWLEDGE</code> and
     *                   <code>Session.DUPS_OK_ACKNOWLEDGE</code>.
     * @throws JMSException if the session cannot be created
     */
    public JmsQueueSession(JmsQueueConnection connection, boolean transacted,
                           int ackMode) throws JMSException {
        super(connection, transacted, ackMode);
    }

    /**
     * Create a receiver to receive messages from the specified queue.
     *
     * @param queue the queue to access
     * @return the new receiver
     * @throws JMSException if the receiver cannot be created
     */
    public QueueReceiver createReceiver(Queue queue) throws JMSException {
        return createReceiver(queue, null);
    }

    /**
     * Create a receiver to receive messages from the specified queue.
     *
     * @param queue    the queue to access
     * @param selector the message selector to filter messages. May be
     *                 <code>null</code>
     * @return the new receiver
     * @throws JMSException if the receiver cannot be created
     */
    public QueueReceiver createReceiver(Queue queue, String selector)
            throws JMSException {
        long consumerId = allocateConsumer(queue, selector, false);
        JmsQueueReceiver receiver = new JmsQueueReceiver(this, consumerId,
                                                         queue, selector);
        addConsumer(receiver);
        return receiver;
    }

    /**
     * Create a sender to send messages to the specified queue.
     *
     * @param queue the queue to access, or <code>null</code> if this is an
     *              unidentified producer
     * @return the new sender
     * @throws JMSException if the sender can't be created
     */
    public QueueSender createSender(Queue queue) throws JMSException {
        ensureOpen();
        JmsQueueSender sender = new JmsQueueSender(this, (JmsQueue) queue);
        addProducer(sender);
        return sender;
    }

    /**
     * This implementation always throws <code>IllegalStateException</code>, as
     * per section 4.11 of the JMS specification.
     *
     * @throws IllegalStateException if invoked
     */
    public TopicSubscriber createDurableSubscriber(Topic topic, String name,
                                                   String messageSelector,
                                                   boolean noLocal)
            throws JMSException {
        throw new IllegalStateException("Invalid operation for QueueSession");
    }

    /**
     * This implementation always throws <code>IllegalStateException</code>, as
     * per section 4.11 of the JMS specification.
     *
     * @throws IllegalStateException if invoked
     */
    public Topic createTopic(String topicName) throws JMSException {
        throw new IllegalStateException("Invalid operation for QueueSession");
    }

    /**
     * This implementation always throws <code>IllegalStateException</code>, as
     * per section 4.11 of the JMS specification.
     *
     * @throws IllegalStateException if invoked
     */
    public TemporaryTopic createTemporaryTopic() throws JMSException {
        throw new IllegalStateException("Invalid operation for QueueSession");
    }

    /**
     * This implementation always throws <code>IllegalStateException</code>, as
     * per section 4.11 of the JMS specification.
     *
     * @throws IllegalStateException if invoked
     */
    public void unsubscribe(String name) throws JMSException {
        throw new IllegalStateException("Invalid operation for QueueSession");
    }

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人av电影观看| 伊人性伊人情综合网| 欧美高清性hdvideosex| 欧美午夜精品一区二区蜜桃 | 久久精品国产亚洲aⅴ | 日韩在线a电影| 亚洲国产美女搞黄色| 亚洲一区在线看| 天天综合网 天天综合色| 亚洲午夜av在线| 免费在线观看成人| 国产福利电影一区二区三区| 国产高清不卡一区二区| 9人人澡人人爽人人精品| 色综合久久精品| 欧美精品三级日韩久久| xvideos.蜜桃一区二区| 欧美极品美女视频| 亚洲午夜免费福利视频| 麻豆精品久久久| 国产老女人精品毛片久久| 99在线视频精品| 精品视频在线视频| 精品国产精品一区二区夜夜嗨| 国产色产综合产在线视频| 国产精品天干天干在观线| 一区二区三区四区乱视频| 日韩vs国产vs欧美| 成人免费高清在线观看| 欧美色综合久久| 国产午夜亚洲精品羞羞网站| 亚洲日本乱码在线观看| 青娱乐精品视频在线| 粉嫩aⅴ一区二区三区四区| 色噜噜久久综合| 精品处破学生在线二十三| 日韩伦理免费电影| 国产一区二区三区免费| 欧美艳星brazzers| 久久奇米777| 天堂成人免费av电影一区| 国产iv一区二区三区| 欧美日韩不卡在线| 中文字幕在线一区免费| 日本成人在线看| 91成人免费网站| 国产视频一区在线观看| 欧美精品亚洲一区二区在线播放| 欧美一级高清大全免费观看| 中文字幕精品在线不卡| 五月天视频一区| 成人av资源下载| 日韩精品一区国产麻豆| 一区二区三区在线视频播放| 国产精品99久久久久久宅男| 3atv一区二区三区| 亚洲一二三专区| 成人爱爱电影网址| 欧美大肚乱孕交hd孕妇| 亚洲va欧美va人人爽| 91一区在线观看| 国产亚洲综合在线| 久久99精品久久久久久动态图| 欧美日韩五月天| 亚洲一区在线观看免费 | 国产精品主播直播| 欧美人与z0zoxxxx视频| 亚洲乱码精品一二三四区日韩在线 | 亚洲大片免费看| 色综合久久久久综合体| 亚洲欧美另类综合偷拍| 色综合中文字幕国产| 中文字幕欧美日本乱码一线二线| 国产一区在线观看视频| 久久色成人在线| 精品一二三四区| 久久看人人爽人人| 成人午夜精品一区二区三区| 精品国产自在久精品国产| 麻豆一区二区在线| 欧美不卡视频一区| 国产精品18久久久久久久网站| 久久久亚洲国产美女国产盗摄| 久久精品国产久精国产| 久久久.com| av不卡在线播放| 亚洲香蕉伊在人在线观| 日韩女优毛片在线| 丁香亚洲综合激情啪啪综合| 一区在线观看免费| 在线看不卡av| 久久国产婷婷国产香蕉| 国产精品亲子伦对白| 色呦呦日韩精品| 午夜欧美大尺度福利影院在线看| 这里只有精品视频在线观看| 激情文学综合网| 国产精品久久久久久久久晋中| 91丨九色丨黑人外教| 视频一区在线播放| 2020国产精品| 在线影院国内精品| 久草这里只有精品视频| 国产精品国产精品国产专区不蜜| 欧美性极品少妇| 国产性做久久久久久| 91免费看视频| 免费一区二区视频| 综合网在线视频| 日韩欧美高清dvd碟片| 大白屁股一区二区视频| 亚洲va国产va欧美va观看| 久久久综合视频| 欧美欧美欧美欧美| 成a人片国产精品| 日韩精品一二三区| 亚洲欧洲国产专区| 91精品午夜视频| 色综合一个色综合| 国产精品一区二区在线看| 偷拍与自拍一区| 国产精品久久久久久久裸模| 欧美成人vr18sexvr| 欧美综合在线视频| jvid福利写真一区二区三区| 奇米四色…亚洲| 一区二区三区欧美亚洲| 中文字幕第一区综合| 欧美成人三级电影在线| 色狠狠色噜噜噜综合网| 成人免费av网站| 激情综合网激情| 免费高清在线视频一区·| 亚洲一区国产视频| 亚洲欧美日本韩国| 国产精品美女久久久久aⅴ国产馆| 日韩欧美在线一区二区三区| 欧美区在线观看| 欧美亚日韩国产aⅴ精品中极品| 91影视在线播放| av中文字幕不卡| 成人97人人超碰人人99| 盗摄精品av一区二区三区| 国产九九视频一区二区三区| 美国毛片一区二区三区| 日本亚洲视频在线| 日韩不卡在线观看日韩不卡视频| 亚洲制服丝袜av| 一区二区三区在线视频免费| 亚洲激情在线播放| 亚洲综合图片区| 亚洲一区二区三区在线播放| 一区二区三区四区在线播放| 一区二区三区欧美| 五月婷婷另类国产| 天堂久久一区二区三区| 久久精品国产一区二区| 国产美女精品在线| 亚洲成在人线免费| 777欧美精品| 3d成人h动漫网站入口| 欧美精品一卡两卡| 欧美一区二区女人| 欧美精品一区二区三区很污很色的 | 久久日一线二线三线suv| 久久影院午夜片一区| 97精品国产97久久久久久久久久久久| 福利电影一区二区| 成人精品视频一区二区三区| 不卡的av电影| 日本久久一区二区三区| 欧美日韩一区中文字幕| 欧美一级一区二区| 26uuu国产一区二区三区| 国产精品久久久久久久午夜片| 亚洲欧洲综合另类| 日韩影院精彩在线| 国产真实乱偷精品视频免| a亚洲天堂av| 6080yy午夜一二三区久久| 久久婷婷综合激情| 中文字幕中文字幕中文字幕亚洲无线| 悠悠色在线精品| 久久99这里只有精品| av在线一区二区三区| 欧美福利视频导航| 国产精品色婷婷久久58| 亚洲精品久久嫩草网站秘色| 免费高清在线视频一区·| 91亚洲精品久久久蜜桃| 7777精品伊人久久久大香线蕉超级流畅| 久久久久成人黄色影片| 亚洲国产三级在线| 丁香六月综合激情| 日韩视频永久免费| 亚洲免费av观看| 懂色av一区二区三区免费观看| 欧美日韩在线播放三区四区| 欧美经典一区二区| 美女诱惑一区二区|