This commit is contained in:
2026-07-22 17:42:32 -03:00
commit 3d36f2421e
645 changed files with 163624 additions and 0 deletions
@@ -0,0 +1,28 @@
package com.trilead.ssh2;
import java.io.IOException;
import java.net.Socket;
/**
* An abstract interface implemented by all proxy data implementations.
*
* @see HTTPProxyData
*
* @author Christian Plattner, plattner@trilead.com
* @version $Id: ProxyData.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $
*/
public interface ProxyData
{
/**
* Connects the socket to the given destination using the proxy method that this instance
* represents.
*/
Socket openConnection(String hostname, int port, int connectTimeout, int readTimeout) throws IOException;
/**
* Fecha conexão do proxy
*/
void close();
}