net.ssh.jsch
Class Channel
java.lang.Object
net.ssh.jsch.Channel
- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- ChannelDirectTCPIP, ChannelExec, ChannelSftp, ChannelShell
public abstract class Channel
- extends java.lang.Object
- implements java.lang.Runnable
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connect
public void connect()
throws JSchException
- Throws:
JSchException
setXForwarding
public void setXForwarding(boolean foo)
start
public void start()
throws JSchException
- Throws:
JSchException
isEOF
public boolean isEOF()
setInputStream
public void setInputStream(java.io.InputStream in)
setOutputStream
public void setOutputStream(java.io.OutputStream out)
setExtOutputStream
public void setExtOutputStream(java.io.OutputStream out)
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getExtInputStream
public java.io.InputStream getExtInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Throws:
java.io.IOException
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
disconnect
public void disconnect()
sendSignal
public void sendSignal(java.lang.String foo)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExitStatus
public int getExitStatus()