
Public Member Functions | |
| void | run () |
Package Functions | |
| PortWatcher (Session session, String address, int lport, String host, int rport, ServerSocketFactory factory) throws JSchException | |
| void | delete () |
Static Package Functions | |
| static String[] | getPortForwarding (Session session) |
| static PortWatcher | getPort (Session session, String address, int lport) throws JSchException |
| static PortWatcher | addPort (Session session, String address, int lport, String host, int rport, ServerSocketFactory ssf) throws JSchException |
| static void | delPort (Session session, String address, int lport) throws JSchException |
| static void | delPort (Session session) |
Package Attributes | |
| int | lport |
| int | rport |
| String | host |
| InetAddress | boundaddress |
| Runnable | thread |
| ServerSocket | ss |
Static Private Attributes | |
| static java.util.Vector | pool = new java.util.Vector() |
| static InetAddress | anyLocalAddress = null |
Definition at line 35 of file PortWatcher.java.
| com.jcraft.jsch.PortWatcher.PortWatcher | ( | Session | session, | |
| String | address, | |||
| int | lport, | |||
| String | host, | |||
| int | rport, | |||
| ServerSocketFactory | factory | |||
| ) | throws JSchException [package] |
Definition at line 128 of file PortWatcher.java.
References com.jcraft.jsch.PortWatcher.boundaddress, com.jcraft.jsch.PortWatcher.host, com.jcraft.jsch.PortWatcher.lport, com.jcraft.jsch.PortWatcher.rport, and com.jcraft.jsch.PortWatcher.ss.
Referenced by com.jcraft.jsch.PortWatcher.addPort().
| static PortWatcher com.jcraft.jsch.PortWatcher.addPort | ( | Session | session, | |
| String | address, | |||
| int | lport, | |||
| String | host, | |||
| int | rport, | |||
| ServerSocketFactory | ssf | |||
| ) | throws JSchException [static, package] |
| void com.jcraft.jsch.PortWatcher.delete | ( | ) | [package] |
Definition at line 188 of file PortWatcher.java.
References com.jcraft.jsch.PortWatcher.ss, and com.jcraft.jsch.PortWatcher.thread.
Referenced by com.jcraft.jsch.PortWatcher.delPort().
| static void com.jcraft.jsch.PortWatcher.delPort | ( | Session | session | ) | [static, package] |
Definition at line 111 of file PortWatcher.java.
References com.jcraft.jsch.PortWatcher.delete(), and com.jcraft.jsch.PortWatcher.pool.
| static void com.jcraft.jsch.PortWatcher.delPort | ( | Session | session, | |
| String | address, | |||
| int | lport | |||
| ) | throws JSchException [static, package] |
Definition at line 103 of file PortWatcher.java.
References com.jcraft.jsch.PortWatcher.delete(), com.jcraft.jsch.PortWatcher.getPort(), com.jcraft.jsch.PortWatcher.lport, and com.jcraft.jsch.PortWatcher.pool.
| static PortWatcher com.jcraft.jsch.PortWatcher.getPort | ( | Session | session, | |
| String | address, | |||
| int | lport | |||
| ) | throws JSchException [static, package] |
Definition at line 74 of file PortWatcher.java.
References com.jcraft.jsch.PortWatcher.anyLocalAddress, com.jcraft.jsch.PortWatcher.boundaddress, com.jcraft.jsch.PortWatcher.lport, and com.jcraft.jsch.PortWatcher.pool.
Referenced by com.jcraft.jsch.PortWatcher.addPort(), and com.jcraft.jsch.PortWatcher.delPort().
| static String [] com.jcraft.jsch.PortWatcher.getPortForwarding | ( | Session | session | ) | [static, package] |
Definition at line 58 of file PortWatcher.java.
References com.jcraft.jsch.PortWatcher.host, com.jcraft.jsch.PortWatcher.lport, com.jcraft.jsch.PortWatcher.pool, and com.jcraft.jsch.PortWatcher.rport.
| void com.jcraft.jsch.PortWatcher.run | ( | ) |
Definition at line 156 of file PortWatcher.java.
References com.jcraft.jsch.ChannelDirectTCPIP.connect(), com.jcraft.jsch.Channel.exitstatus, com.jcraft.jsch.PortWatcher.host, com.jcraft.jsch.ChannelDirectTCPIP.init(), com.jcraft.jsch.PortWatcher.rport, com.jcraft.jsch.ChannelDirectTCPIP.setInputStream(), com.jcraft.jsch.ChannelDirectTCPIP.setOutputStream(), com.jcraft.jsch.PortWatcher.ss, and com.jcraft.jsch.PortWatcher.thread.
InetAddress com.jcraft.jsch.PortWatcher.anyLocalAddress = null [static, private] |
Definition at line 37 of file PortWatcher.java.
Referenced by com.jcraft.jsch.PortWatcher.getPort().
InetAddress com.jcraft.jsch.PortWatcher.boundaddress [package] |
Definition at line 54 of file PortWatcher.java.
Referenced by com.jcraft.jsch.PortWatcher.getPort(), and com.jcraft.jsch.PortWatcher.PortWatcher().
String com.jcraft.jsch.PortWatcher.host [package] |
Definition at line 53 of file PortWatcher.java.
Referenced by com.jcraft.jsch.PortWatcher.addPort(), com.jcraft.jsch.PortWatcher.getPortForwarding(), com.jcraft.jsch.PortWatcher.PortWatcher(), and com.jcraft.jsch.PortWatcher.run().
int com.jcraft.jsch.PortWatcher.lport [package] |
Definition at line 50 of file PortWatcher.java.
Referenced by com.jcraft.jsch.PortWatcher.addPort(), com.jcraft.jsch.PortWatcher.delPort(), com.jcraft.jsch.PortWatcher.getPort(), com.jcraft.jsch.PortWatcher.getPortForwarding(), and com.jcraft.jsch.PortWatcher.PortWatcher().
java.util.Vector com.jcraft.jsch.PortWatcher.pool = new java.util.Vector() [static, private] |
Definition at line 36 of file PortWatcher.java.
Referenced by com.jcraft.jsch.PortWatcher.addPort(), com.jcraft.jsch.PortWatcher.delPort(), com.jcraft.jsch.PortWatcher.getPort(), and com.jcraft.jsch.PortWatcher.getPortForwarding().
int com.jcraft.jsch.PortWatcher.rport [package] |
Definition at line 52 of file PortWatcher.java.
Referenced by com.jcraft.jsch.PortWatcher.addPort(), com.jcraft.jsch.PortWatcher.getPortForwarding(), com.jcraft.jsch.PortWatcher.PortWatcher(), and com.jcraft.jsch.PortWatcher.run().
ServerSocket com.jcraft.jsch.PortWatcher.ss [package] |
Definition at line 56 of file PortWatcher.java.
Referenced by com.jcraft.jsch.PortWatcher.delete(), com.jcraft.jsch.PortWatcher.PortWatcher(), and com.jcraft.jsch.PortWatcher.run().
Runnable com.jcraft.jsch.PortWatcher.thread [package] |
Definition at line 55 of file PortWatcher.java.
Referenced by com.jcraft.jsch.PortWatcher.delete(), and com.jcraft.jsch.PortWatcher.run().
1.6.1