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

com.firefly.net.SecureSessionFactory Maven / Gradle / Ivy

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

import java.io.IOException;
import java.util.List;

/**
 * @author Pengtao Qiu
 */
public interface SecureSessionFactory {

    SecureSession create(Session session, boolean clientMode,
                         SecureSessionHandshakeListener secureSessionHandshakeListener) throws IOException;

    SecureSession create(Session session, boolean clientMode,
                         String peerHost, int peerPort,
                         SecureSessionHandshakeListener secureSessionHandshakeListener) throws IOException;

    void setSupportedProtocols(List supportedProtocols);

    List getSupportedProtocols();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy