1 11 package org.eclipse.jsch.core; 12 13 import org.eclipse.core.net.proxy.IProxyData; 14 import org.eclipse.core.runtime.IProgressMonitor; 15 16 import com.jcraft.jsch.*; 17 18 25 public interface IJSchService{ 26 27 43 public abstract Session createSession(String host, int port, String username) 44 throws JSchException; 45 46 60 public abstract void connect(Session session, int timeout, 61 IProgressMonitor monitor) throws JSchException; 62 63 71 public abstract Proxy getProxyForHost(String host, String proxyType); 72 73 87 public abstract void connect(Proxy proxy, String host, int port, int timeout, 88 IProgressMonitor monitor) throws JSchException; 89 90 } | Popular Tags |