/*
 * Decompiled with CFR 0.152.
 */
package com.l7tech.server.transport.email;

import java.io.IOException;
import java.io.InputStream;
import java.net.InetAddress;
import java.net.Socket;
import javax.net.ssl.SSLSocketFactory;

public abstract class StartTlsSocketFactory
extends SSLSocketFactory {
    protected abstract SSLSocketFactory getSslFactory();

    @Override
    public String[] getDefaultCipherSuites() {
        return this.getSslFactory().getDefaultCipherSuites();
    }

    @Override
    public String[] getSupportedCipherSuites() {
        return this.getSslFactory().getSupportedCipherSuites();
    }

    @Override
    public Socket createSocket(Socket socket, String string, int n2, boolean bl2) throws IOException {
        return this.getSslFactory().createSocket(socket, string, n2, bl2);
    }

    @Override
    public Socket createSocket() throws IOException {
        return new Socket();
    }

    @Override
    public Socket createSocket(String string, int n2) throws IOException {
        return new Socket(string, n2);
    }

    @Override
    public Socket createSocket(String string, int n2, InetAddress inetAddress, int n3) throws IOException {
        return new Socket(string, n2, inetAddress, n3);
    }

    @Override
    public Socket createSocket(InetAddress inetAddress, int n2) throws IOException {
        return new Socket(inetAddress, n2);
    }

    @Override
    public Socket createSocket(InetAddress inetAddress, int n2, InetAddress inetAddress2, int n3) throws IOException {
        return new Socket(inetAddress, n2, inetAddress2, n3);
    }

    @Override
    public Socket createSocket(Socket socket, InputStream inputStream, boolean bl2) throws IOException {
        return this.getSslFactory().createSocket(socket, inputStream, bl2);
    }
}

