java.lang.Object
mindbright.ssh.SSHTunnel
mindbright.ssh.SSHSocketTunnel
- All Implemented Interfaces:
- SSHChannelListener
- public final class SSHSocketTunnel
- extends SSHTunnel
| Fields inherited from class mindbright.ssh.SSHTunnel |
channelId, controller, ioSocket, receivedInputEOF, receivedOutputClosed, remoteChannelId, remoteDesc, rxChan, sentInputEOF, sentOutputClosed, txChan, txQueue |
| Methods inherited from class mindbright.ssh.SSHTunnel |
close, getDescription, getLocalHost, getLocalPort, isOpen, prepare, receive, sendInputEOF, sendOutputClosed, setRemoteChannelId, setRemoteDesc, terminateNow, transmit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lock
java.lang.Object lock
inputClosePending
boolean inputClosePending
inputExplicitClosed
boolean inputExplicitClosed
outputClosed
boolean outputClosed
terminated
boolean terminated
openFail
boolean openFail
rest
protected SSHPdu rest
in
protected SSHSocketTunnel.SSHSocketIS in
out
protected SSHSocketTunnel.SSHSocketOS out
localAddress
protected java.net.InetAddress localAddress
impl
protected SSHSocketImpl impl
SSHSocketTunnel
public SSHSocketTunnel(SSHChannelController controller,
SSHSocketImpl impl)
throws java.io.IOException
start
public void start()
- Overrides:
start in class SSHTunnel
openFailure
public void openFailure()
- Overrides:
openFailure in class SSHTunnel
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
connect
public void connect(java.lang.String host,
int port)
throws java.io.IOException
close
public void close()
throws java.io.IOException
closeout
public void closeout()
closein
public void closein(boolean explicit)
available
public int available()
throws java.io.IOException
setLocalAddress
protected void setLocalAddress(java.net.InetAddress localAddress)
checkTermination
public void checkTermination()
- Overrides:
checkTermination in class SSHTunnel
terminated
public boolean terminated()
receiveOutputClosed
public void receiveOutputClosed()
- Overrides:
receiveOutputClosed in class SSHTunnel
receiveInputEOF
public void receiveInputEOF()
- Overrides:
receiveInputEOF in class SSHTunnel