All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.firefly.net.tcp.secure.openssl.nativelib.OpenSslApplicationProtocolNegotiator Maven / Gradle / Ivy

There is a newer version: 5.0.0-dev6
Show newest version
package com.firefly.net.tcp.secure.openssl.nativelib;

import com.firefly.net.ApplicationProtocolSelector;

/**
 * OpenSSL version of {@link ApplicationProtocolSelector}.
 *
 * @deprecated use {@link ApplicationProtocolConfig}
 */
@Deprecated
public interface OpenSslApplicationProtocolNegotiator extends ApplicationProtocolSelector {

    /**
     * Returns the {@link ApplicationProtocolConfig.Protocol} which should be used.
     */
    ApplicationProtocolConfig.Protocol protocol();

    /**
     * Get the desired behavior for the peer who selects the application protocol.
     */
    ApplicationProtocolConfig.SelectorFailureBehavior selectorFailureBehavior();

    /**
     * Get the desired behavior for the peer who is notified of the selected protocol.
     */
    ApplicationProtocolConfig.SelectedListenerFailureBehavior selectedListenerFailureBehavior();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy