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

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

?? jmsconnectionstubimpl.java

?? 一個java方面的消息訂閱發(fā)送的源碼
?? 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.
 *
 * $Id: JmsConnectionStubImpl.java,v 1.3 2005/05/24 13:36:37 tanderson Exp $
 */
package org.exolab.jms.client.net;

import java.rmi.RemoteException;
import javax.jms.InvalidClientIDException;
import javax.jms.JMSException;

import org.exolab.jms.net.orb.ORB;
import org.exolab.jms.server.ServerConnection;
import org.exolab.jms.server.ServerSession;


/**
 * Wraps a {@link ServerConnection}.
 *
 * @author <a href="mailto:jima@comware.com.au">Jim Alateras</a>
 * @version $Revision: 1.3 $ $Date: 2005/05/24 13:36:37 $
 */
public class JmsConnectionStubImpl
        implements ServerConnection {

    /**
     * The server proxy.
     */
    private JmsServerStubImpl _server;

    /**
     * The connection to delegate calls to.
     */
    private ServerConnection _connection;

    /**
     * The ORB to export objects with.
     */
    private final ORB _orb;

    /**
     * The URI to export objects to.
     */
    private final String _uri;

    /**
     * The security principal. May be <code>null</code>
     */
    private final String _principal;

    /**
     * The security credentials. May be <code>null</code>.
     */
    private final String _credentials;


    /**
     * Construct a new <code>JmsConnectionStubImpl</code>.
     *
     * @param server      the server proxy
     * @param connection  the connection to delegate calls to
     * @param orb         the ORB to export objects with
     * @param uri         the URI to export objects on
     * @param principal   the security principal. May be <code>null</code>
     * @param credentials the security credentials. May be <code>null</code>
     */
    public JmsConnectionStubImpl(JmsServerStubImpl server,
                                 ServerConnection connection,
                                 ORB orb, String uri, String principal,
                                 String credentials) {
        if (server == null) {
            throw new IllegalArgumentException("Argument 'server' is null");
        }
        if (connection == null) {
            throw new IllegalArgumentException("Argument 'connection' is null");
        }
        _server = server;
        _connection = connection;
        _orb = orb;
        _uri = uri;
        _principal = principal;
        _credentials = credentials;
    }

    /**
     * Returns the connection identifier
     *
     * @return the connection identifier
     * @throws JMSException for any JMS error
     */
    public long getConnectionId() throws JMSException {
        return _connection.getConnectionId();
    }

    /**
     * Returns the client identifier
     *
     * @return the client identifier
     * @throws JMSException for any JMS error
     */
    public String getClientID() throws JMSException {
        return _connection.getClientID();
    }

    /**
     * Sets the client identifier for this connection.
     *
     * @param clientID the unique client identifier
     * @throws JMSException             if the JMS provider fails to set the
     *                                  client ID for this connection due to
     *                                  some internal error.
     * @throws InvalidClientIDException if the JMS client specifies an invalid
     *                                  or duplicate client ID.
     * @throws IllegalStateException    if the JMS client attempts to set a
     *                                  connection's client ID at the wrong time
     *                                  or when it has been administratively
     *                                  configured.
     */
    public void setClientID(String clientID) throws JMSException {
        _connection.setClientID(clientID);
    }

    /**
     * Create a new session.
     *
     * @param transacted      indicates whether the session is transacted
     * @param acknowledgeMode indicates whether the consumer or the client will
     *                        acknowledge any messages it receives; 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>.
     * @return a newly created session
     * @throws JMSException for any JMS error
     */
    public ServerSession createSession(int acknowledgeMode, boolean transacted)
            throws JMSException {
        JmsSessionStubImpl result = null;
        try {
            ServerSession session = _connection.createSession(acknowledgeMode,
                                                              transacted);
            result = new JmsSessionStubImpl(session, _orb, _uri, _principal,
                                            _credentials);
        } catch (RemoteException exception) {
            // rethrow as a JMSException
            throw new JMSException("Failed to create session: " + exception);
        }

        return result;
    }

    /**
     * Closes the connection.
     *
     * @throws JMSException for any JMS error
     */
    public void close() throws JMSException {
        try {
            _connection.close();
        } finally {
            _connection = null;
        }
    }


}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品911| 激情图片小说一区| 欧美国产日韩精品免费观看| 精品国产一区二区亚洲人成毛片 | 中文一区二区完整视频在线观看| 精品区一区二区| 精品国产乱码久久| 国产欧美一区二区三区沐欲| 国产欧美一区二区精品性色| 欧美国产一区在线| 国产精品久久久久影院老司| 亚洲日韩欧美一区二区在线| 亚洲三级免费观看| 午夜久久久影院| 久久99精品久久只有精品| 国产一区二区不卡| www.在线成人| 欧美久久一区二区| 精品成人一区二区三区四区| 国产亚洲精品福利| 亚洲激情五月婷婷| 青青青爽久久午夜综合久久午夜| 国产一区二区视频在线播放| av高清不卡在线| 在线播放亚洲一区| 精品久久99ma| 亚洲欧美国产毛片在线| 免费成人av资源网| 99久久国产综合精品女不卡| 欧美日韩精品一区视频| 久久久久久久久久久久久久久99| 亚洲欧美乱综合| 久久av中文字幕片| 在线观看国产一区二区| 欧美岛国在线观看| 亚洲欧美偷拍三级| 国产精品99久| 欧美高清精品3d| 亚洲欧美综合网| 免费成人美女在线观看.| 91香蕉视频mp4| 精品捆绑美女sm三区| 一级精品视频在线观看宜春院| 久久成人免费网| 欧美曰成人黄网| 欧美国产丝袜视频| 日本不卡高清视频| 在线精品视频免费播放| 中文字幕免费一区| 国模娜娜一区二区三区| 欧美日韩亚洲国产综合| 中文字幕日韩精品一区| 国产乱一区二区| 日韩精品一区二区三区老鸭窝 | 亚洲精品自拍动漫在线| 国产一区二区三区日韩| 91精品国产福利| 亚洲一区在线观看免费观看电影高清 | 粉嫩一区二区三区在线看| 51精品国自产在线| 亚洲自拍偷拍av| 色狠狠一区二区| 国产精品久久久久9999吃药| 国产精品2024| 久久精品一区二区三区不卡牛牛| 日韩极品在线观看| 欧美专区日韩专区| 亚洲一级二级三级在线免费观看| 99久久久久免费精品国产 | 亚洲精品久久嫩草网站秘色| 成人av影院在线| 国产欧美精品一区二区色综合 | 成人开心网精品视频| 久久久久久久久久久久久久久99| 精品亚洲国内自在自线福利| 日韩欧美一级特黄在线播放| 青草国产精品久久久久久| 欧美人与z0zoxxxx视频| 日韩1区2区3区| 日韩精品中文字幕在线不卡尤物 | 国产精品欧美久久久久无广告| 经典三级视频一区| 国产日韩在线不卡| 国产a视频精品免费观看| 国产日产欧美一区二区视频| 国产成人av影院| 亚洲欧美日韩国产另类专区| 日本丰满少妇一区二区三区| 亚洲国产成人精品视频| 欧美日韩www| 开心九九激情九九欧美日韩精美视频电影| 日韩精品最新网址| 国产精品一品视频| 亚洲人成7777| 欧美一级高清片| 国产精品一区二区果冻传媒| 国产精品色一区二区三区| 色综合婷婷久久| 日本特黄久久久高潮| 国产欧美日韩三区| 欧美综合一区二区| 国内久久精品视频| 亚洲欧美色图小说| 精品日韩在线一区| 91网站最新地址| 麻豆精品国产传媒mv男同| 日本一区二区不卡视频| 欧美日韩在线精品一区二区三区激情 | 亚洲女子a中天字幕| 91精品婷婷国产综合久久竹菊| 另类成人小视频在线| 中文字幕一区av| 欧美一区中文字幕| 94色蜜桃网一区二区三区| 日韩电影网1区2区| 中文字幕中文字幕在线一区 | 国产成人亚洲综合a∨婷婷| 亚洲欧美激情插| 久久久美女艺术照精彩视频福利播放| 91无套直看片红桃| 国产一区二区0| 亚洲国产精品久久不卡毛片| 国产日本亚洲高清| 欧美一区二区在线视频| 91福利国产精品| 成人免费看的视频| 久久精品国产色蜜蜜麻豆| 亚洲综合一区二区三区| 国产精品久久三| 久久综合色之久久综合| 91精品国产综合久久久久久久| 成人免费毛片片v| 国产综合色在线视频区| 日韩av电影免费观看高清完整版| 亚洲免费观看高清完整版在线| 国产午夜精品福利| 久久综合久久鬼色| 日韩美女在线视频| 欧美一二三四区在线| 欧美日韩国产区一| 欧美午夜精品理论片a级按摩| 成人中文字幕电影| 国产不卡视频一区二区三区| 看电影不卡的网站| 久久精工是国产品牌吗| 免费精品视频在线| 美日韩一区二区三区| 日韩在线观看一区二区| 日本伊人午夜精品| 日本视频中文字幕一区二区三区| 日日欢夜夜爽一区| 日韩激情视频在线观看| 日本美女视频一区二区| 日韩电影在线免费看| 青青草91视频| 韩国中文字幕2020精品| 国产精品亚洲综合一区在线观看| 国产精品一级黄| 国产尤物一区二区| 成人黄色软件下载| 91免费在线播放| 欧美日韩一区二区三区在线| 欧美精品xxxxbbbb| 欧美r级在线观看| 久久久久久一级片| 亚洲欧洲成人精品av97| 一区二区三区资源| 日本成人中文字幕在线视频| 日韩国产在线观看| 国产麻豆精品在线| 99精品国产热久久91蜜凸| 欧美日韩亚洲综合一区二区三区| 欧美一级欧美一级在线播放| 亚洲精品在线观看视频| 中文字幕 久热精品 视频在线 | 久久久久久97三级| 久久女同性恋中文字幕| 不卡视频在线看| 暴力调教一区二区三区| 欧美专区亚洲专区| 精品99久久久久久| 亚洲免费视频中文字幕| 免费人成黄页网站在线一区二区| 国产精品一区二区久激情瑜伽| 91在线小视频| 精品精品国产高清一毛片一天堂| 国产精品水嫩水嫩| 日本在线不卡一区| 成人国产精品视频| 91精品国产高清一区二区三区蜜臀| 久久久久久久久99精品| 亚洲一区二区三区中文字幕| 精品一区二区三区影院在线午夜 | 日韩精品电影在线观看| 99国产精品久久久| 欧美电影免费观看高清完整版在线| 国产精品天美传媒| 久久精品国产免费看久久精品| 色综合 综合色| 久久久久久久久久久久久夜|