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

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

?? tcpsrequestinfo.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 2005 (C) Exoffice Technologies Inc. All Rights Reserved.
 *
 * $Id: TCPSRequestInfo.java,v 1.1 2005/05/03 13:45:59 tanderson Exp $
 */
package org.exolab.jms.net.tcp;

import org.exolab.jms.net.socket.SocketRequestInfo;
import org.exolab.jms.net.util.SSLProperties;
import org.exolab.jms.net.util.Properties;
import org.exolab.jms.net.connector.ResourceException;
import org.exolab.jms.net.uri.URI;


/**
 * Implementation of the {@link org.exolab.jms.net.connector.ConnectionRequestInfo}
 * interface that enables the TCPS connector to pass data across the
 * connection request flow.
 *
 * @author <a href="mailto:tma@netspace.net.au">Tim Anderson</a>
 * @version $Revision: 1.1 $ $Date: 2005/05/03 13:45:59 $
 */
public class TCPSRequestInfo extends SocketRequestInfo {

    /**
     * Properties to configure the secure socket layer. May be
     * <code>null</code>.
     */
    private SSLProperties _sslProperties = null;

    /**
     * Determines if connections which are accepted must include client
     * authentication. By default, clients do not need to provide
     * authentication information.
     */
    private boolean _needCientAuth = false;

    /**
     * Connection property to indicate if clients must authentication
     * themselves on connection.
     */
    private static final String NEED_CLIENT_AUTH = "needClientAuth";


    /**
     * Construct a new <code>TCPSRequestInfo</code>.
     *
     * @param uri the URI
     */
    public TCPSRequestInfo(URI uri) {
        super(uri);
    }

    /**
     * Construct a new <code>TCPSRequestInfo</code>.
     *
     * @param uri the URI
     * @param properties the properties to populate this from
     * @throws ResourceException if any of the properties are invalid
     */
    public TCPSRequestInfo(URI uri, Properties properties)
            throws ResourceException {
        super(uri, properties);
        SSLProperties ssl = new SSLProperties(properties);
        if (!ssl.isEmpty()) {
            setSSLProperties(ssl);
        }
        setNeedClientAuth(
                properties.getBoolean(NEED_CLIENT_AUTH, _needCientAuth));
    }

    /**
     * Returns the properties used to configure the secure socket layer (SSL).
     *
     * @return the SSL configuration properties, or <code>null</code> if unset
     */
    public SSLProperties getSSLProperties() {
        return _sslProperties;
    }

    /**
     * Sets the properties used to configure the secure socket layer (SSL).
     *
     * @param properties the SSL configuration properties
     */
    public void setSSLProperties(SSLProperties properties) {
        _sslProperties = properties;
    }

    /**
     * Sets if clients must authenticate themselves on connection.
     *
     * @param required if <code>true</code>, the clients must authenticate
     * themselves.
     */
    public void setNeedClientAuth(boolean required) {
        _needCientAuth = required;
    }

    /**
     * Determines if clients must authenticate themselves on connection.
     *
     * @return <code>true</code> if clients must authenticate themselves.
     */
    public boolean getNeedClientAuth() {
        return _needCientAuth;
    }

    /**
     * Helper to export this to a {@link Properties} instance.
     *
     * @param properties the properties to export to.
     */
    public void export(Properties properties) {
        super.export(properties);
        SSLProperties ssl = getSSLProperties();
        if (ssl != null) {
            ssl.export(properties);
        }
        properties.set(NEED_CLIENT_AUTH, getNeedClientAuth());
    }

    /**
     * Checks whether this instance is equal to another.
     *
     * @param other the object to compare
     * @return <code>true</code> if the two instances are equal; otherwise
     *         <code>false</code>
     */
    public boolean equals(Object other) {
        boolean equal = false;
        if (other instanceof TCPSRequestInfo && super.equals(other)) {
            TCPSRequestInfo info = (TCPSRequestInfo) other;
            if (_needCientAuth == info._needCientAuth
                && equals(_sslProperties, info._sslProperties)) {
                equal = true;
            }
        }
        return equal;
    }

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
av电影一区二区| 麻豆精品国产91久久久久久| 日韩欧美资源站| 在线成人av网站| 欧美日韩国产综合久久| 色94色欧美sute亚洲线路二| 91社区在线播放| 色屁屁一区二区| 在线观看国产一区二区| 欧美视频在线观看一区二区| 91免费看片在线观看| 91色视频在线| 欧美狂野另类xxxxoooo| 欧美狂野另类xxxxoooo| 日韩欧美国产电影| 日本一区二区三区久久久久久久久不| 精品国产123| 欧美激情一区二区三区在线| 一区二区中文字幕在线| 亚洲欧美一区二区三区国产精品 | 欧美丰满一区二区免费视频| 欧美视频日韩视频| 欧美一级欧美三级在线观看| 精品日韩av一区二区| 国产欧美日韩不卡| 亚洲一区二区三区四区在线观看 | 国产精品一区二区黑丝| 92精品国产成人观看免费| 8x福利精品第一导航| 精品国产一区二区三区忘忧草| 国产精品福利一区| 久久精品噜噜噜成人av农村| 波多野结衣视频一区| 欧美日韩精品专区| 国产精品久久久久久久午夜片| 性久久久久久久久久久久| 国产精品夜夜爽| 欧美久久久一区| 亚洲欧美在线观看| 久草热8精品视频在线观看| 成人av电影免费在线播放| 欧美一区二区在线视频| 国产精品久久久久7777按摩| 亚洲国产精品一区二区久久恐怖片 | 久久久久成人黄色影片| 日本一区二区三区在线不卡| 亚洲精品免费在线观看| 日韩国产精品久久久| 国产综合色在线| 99re成人精品视频| 日韩美女在线视频| 国产精品家庭影院| 亚洲五月六月丁香激情| 国产精品自拍网站| 色老汉一区二区三区| 26uuu亚洲| 久久亚洲春色中文字幕久久久| 亚洲v日本v欧美v久久精品| 蜜桃av一区二区三区| 色综合久久中文综合久久97 | 日韩午夜电影在线观看| 国产精品久线观看视频| 日本在线不卡视频一二三区| 99久久婷婷国产综合精品电影| 7777精品伊人久久久大香线蕉超级流畅| 久久久久久久久久久久久夜| 污片在线观看一区二区| 成人午夜电影小说| 91精品国产乱| 亚洲丰满少妇videoshd| 国产一区二区剧情av在线| 欧美日韩国产在线观看| 亚洲免费在线观看视频| 国产精品123| 91精品国产手机| 亚洲国产一区二区视频| av在线这里只有精品| 26uuu亚洲| 国产一区二区三区视频在线播放| 欧美中文字幕一二三区视频| 国产精品久久久久影院老司| 亚瑟在线精品视频| 欧美剧在线免费观看网站| 五月婷婷另类国产| 日本乱人伦一区| 国产精品午夜久久| 成人蜜臀av电影| 国产亚洲va综合人人澡精品| 精品一区二区三区在线观看国产 | 国产精品网站在线播放| 国产另类ts人妖一区二区| 日韩欧美电影在线| 久久国产精品第一页| 日韩无一区二区| 韩国成人在线视频| 精品国产一区二区国模嫣然| 国产成人av福利| 国产欧美一区二区精品忘忧草| 韩国精品主播一区二区在线观看| 精品国产乱码久久久久久图片 | 欧美绝品在线观看成人午夜影视| 欧美成人video| 麻豆国产精品777777在线| 日韩欧美一区电影| 寂寞少妇一区二区三区| 久久久www免费人成精品| 国产精品66部| 亚洲视频一区在线| 在线视频你懂得一区二区三区| 亚洲久本草在线中文字幕| 欧美性xxxxxxxx| 奇米色一区二区| 在线综合亚洲欧美在线视频| 亚洲18女电影在线观看| 精品国产露脸精彩对白| 99视频一区二区三区| 亚洲影院久久精品| 日韩亚洲欧美中文三级| 成+人+亚洲+综合天堂| 亚洲精品国产a久久久久久| 欧美老人xxxx18| 成人综合日日夜夜| 亚洲成a人在线观看| 日本高清免费不卡视频| 美女看a上一区| 亚洲精品日韩综合观看成人91| 欧美日韩免费在线视频| 五月激情丁香一区二区三区| 精品久久人人做人人爽| 色噜噜狠狠色综合中国| 免费xxxx性欧美18vr| 国产精品成人免费精品自在线观看 | 久久精品国产亚洲a| 国产精品麻豆一区二区| 在线欧美日韩国产| 国产在线乱码一区二区三区| 国产精品白丝在线| 337p亚洲精品色噜噜狠狠| 日本韩国一区二区三区视频| 日韩av不卡一区二区| 自拍偷拍亚洲欧美日韩| 日韩欧美一区二区不卡| 欧美亚一区二区| 成人午夜精品在线| 麻豆成人在线观看| 中文字幕一区二区三| 欧美成人艳星乳罩| 欧美精品乱码久久久久久按摩 | 欧美精品99久久久**| 91在线国产福利| 国产一区二区三区精品视频| 欧美高清在线视频| 国产日韩v精品一区二区| 在线播放视频一区| 91色综合久久久久婷婷| 成人污污视频在线观看| 美女脱光内衣内裤视频久久影院| 亚洲欧美日韩精品久久久久| 国产免费久久精品| 精品毛片乱码1区2区3区| 91麻豆国产自产在线观看| 不卡视频一二三| 国产成人精品aa毛片| 国产精品一区2区| 日本中文一区二区三区| 婷婷国产v国产偷v亚洲高清| 亚洲成人综合网站| 亚洲一区免费在线观看| 日韩一区中文字幕| 亚洲国产精品综合小说图片区| 日韩av不卡在线观看| 亚洲成在线观看| 午夜视频一区二区三区| 一卡二卡三卡日韩欧美| 亚洲精品你懂的| 一区二区三区四区精品在线视频| 一区二区中文字幕在线| 天天操天天色综合| 日韩精品亚洲一区二区三区免费| 亚洲国产成人av| 青青国产91久久久久久| 免费人成黄页网站在线一区二区| 日本欧美肥老太交大片| 久久精品噜噜噜成人88aⅴ| 亚洲a一区二区| 日本午夜一本久久久综合| 麻豆精品视频在线观看视频| 六月婷婷色综合| 国产精品一区二区三区乱码| 国产传媒久久文化传媒| 成人教育av在线| 色天天综合久久久久综合片| 7777精品伊人久久久大香线蕉最新版| 日韩精品一区二区三区视频| 日韩精品一区二区三区四区视频| 国产欧美一区二区在线观看| 亚洲视频一二三区| 日韩 欧美一区二区三区| 国产成人超碰人人澡人人澡| 不卡电影免费在线播放一区|