package be.iminds.ilabt.jfed.highlevel.util;

import javax.annotation.Nullable;
import javax.net.SocketFactory;
import java.io.IOException;

/**
 * User: twalcari
 * Date: 5/27/2016
 * Time: 09:58
 */
public interface ProxySocketFactoryProvider {

    @Nullable
    SocketFactory createProxySocketFactory(String forcedTargetHostname, Integer forcedTargetPort) throws IOException;

    @Nullable
    SocketFactory createProxySocketFactoryForSsh(String forcedTargetHostname, Integer forcedTargetPort) throws IOException;

}
