public class JSchSession
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
JSchSession.SessionFactory |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
com.jcraft.jsch.Session |
getSession() |
static JSchSession |
getSession(java.lang.String username,
java.lang.String password,
java.lang.String hostname,
int port,
com.jcraft.jsch.UserInfo userinfo,
com.jcraft.jsch.Proxy proxy) |
static boolean |
isAuthenticationFailure(com.jcraft.jsch.JSchException ee) |
static void |
setSessionFactory(JSchSession.SessionFactory sf) |
public static JSchSession getSession(java.lang.String username, java.lang.String password, java.lang.String hostname, int port, com.jcraft.jsch.UserInfo userinfo, com.jcraft.jsch.Proxy proxy) throws com.jcraft.jsch.JSchException
com.jcraft.jsch.JSchExceptionpublic com.jcraft.jsch.Session getSession()
public void dispose()
public static boolean isAuthenticationFailure(com.jcraft.jsch.JSchException ee)
public static void setSessionFactory(JSchSession.SessionFactory sf)