Public Member Functions | |
LocalTunneling (UserInfo userInfo) | |
int | connect (String login_user, String login_host, String remote_host, int port) throws JSchException |
void | disconnect () throws JSchException |
String | toString () |
Static Public Member Functions | |
static void | main (final String[]args) |
Private Member Functions | |
String | getSessionID (String login_user, String login_host, String remote_host, int port) |
Private Attributes | |
final JSch | jsch |
final UserInfo | userInfo |
Session | session |
int | port |
String | session_id = null |
Definition at line 13 of file LocalTunneling.java.
edu.rice.cs.hpc.remote.tunnel.LocalTunneling.LocalTunneling | ( | UserInfo | userInfo | ) |
Definition at line 24 of file LocalTunneling.java.
References edu.rice.cs.hpc.remote.tunnel.LocalTunneling.jsch.
Referenced by edu.rice.cs.hpc.remote.tunnel.LocalTunneling.main().
int edu.rice.cs.hpc.remote.tunnel.LocalTunneling.connect | ( | String | login_user, | |
String | login_host, | |||
String | remote_host, | |||
int | port | |||
) | throws JSchException |
Definition at line 43 of file LocalTunneling.java.
References com.jcraft.jsch.Session.connect(), com.jcraft.jsch.JSch.getSession(), edu.rice.cs.hpc.remote.tunnel.LocalTunneling.getSessionID(), edu.rice.cs.hpc.remote.tunnel.LocalTunneling.jsch, edu.rice.cs.hpc.remote.tunnel.LocalTunneling.port, edu.rice.cs.hpc.remote.tunnel.LocalTunneling.session, edu.rice.cs.hpc.remote.tunnel.LocalTunneling.session_id, and edu.rice.cs.hpc.remote.tunnel.LocalTunneling.userInfo.
Referenced by edu.rice.cs.hpc.remote.tunnel.LocalTunneling.main().
void edu.rice.cs.hpc.remote.tunnel.LocalTunneling.disconnect | ( | ) | throws JSchException |
Definition at line 78 of file LocalTunneling.java.
References edu.rice.cs.hpc.remote.tunnel.LocalTunneling.port, and edu.rice.cs.hpc.remote.tunnel.LocalTunneling.session.
Referenced by edu.rice.cs.hpc.traceviewer.db.remote.RemoteDBOpener.end(), and edu.rice.cs.hpc.remote.tunnel.LocalTunneling.main().
String edu.rice.cs.hpc.remote.tunnel.LocalTunneling.getSessionID | ( | String | login_user, | |
String | login_host, | |||
String | remote_host, | |||
int | port | |||
) | [private] |
Definition at line 67 of file LocalTunneling.java.
Referenced by edu.rice.cs.hpc.remote.tunnel.LocalTunneling.connect().
static void edu.rice.cs.hpc.remote.tunnel.LocalTunneling.main | ( | final String[] | args | ) | [static] |
String edu.rice.cs.hpc.remote.tunnel.LocalTunneling.toString | ( | ) |
Definition at line 90 of file LocalTunneling.java.
References edu.rice.cs.hpc.remote.tunnel.LocalTunneling.session_id.
final JSch edu.rice.cs.hpc.remote.tunnel.LocalTunneling.jsch [private] |
Definition at line 16 of file LocalTunneling.java.
Referenced by edu.rice.cs.hpc.remote.tunnel.LocalTunneling.connect(), and edu.rice.cs.hpc.remote.tunnel.LocalTunneling.LocalTunneling().
int edu.rice.cs.hpc.remote.tunnel.LocalTunneling.port [private] |
Definition at line 20 of file LocalTunneling.java.
Referenced by edu.rice.cs.hpc.remote.tunnel.LocalTunneling.connect(), edu.rice.cs.hpc.remote.tunnel.LocalTunneling.disconnect(), and edu.rice.cs.hpc.remote.tunnel.LocalTunneling.main().
Definition at line 19 of file LocalTunneling.java.
Referenced by edu.rice.cs.hpc.remote.tunnel.LocalTunneling.connect(), and edu.rice.cs.hpc.remote.tunnel.LocalTunneling.disconnect().
String edu.rice.cs.hpc.remote.tunnel.LocalTunneling.session_id = null [private] |
Definition at line 22 of file LocalTunneling.java.
Referenced by edu.rice.cs.hpc.remote.tunnel.LocalTunneling.connect(), and edu.rice.cs.hpc.remote.tunnel.LocalTunneling.toString().
final UserInfo edu.rice.cs.hpc.remote.tunnel.LocalTunneling.userInfo [private] |
Definition at line 17 of file LocalTunneling.java.
Referenced by edu.rice.cs.hpc.remote.tunnel.LocalTunneling.connect().