001package org.dcm4che3.net.proxy;
002
003import java.io.IOException;
004import java.net.Socket;
005
006/**
007 * Define Service Provider Interface for proxy manager (authentication
008 * processing)
009 * Loaded via Proxyservice Loader found under META-INF/services 
010 *
011 * @author Amaury Pernette
012 * 
013 */
014public interface ProxyManager {
015
016    void doProxyHandshake(final Socket s, final String hostname, final int port, final String userauth,
017            final int connectTimeout) throws IOException;
018
019    String getProviderName();
020
021    String getVersion();
022
023}