Package com.trilead.ssh2.channel
Class Channel
java.lang.Object
com.trilead.ssh2.channel.Channel
public class Channel extends Object
Channel.
- Version:
- $Id: Channel.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $
- Author:
- Christian Plattner, plattner@trilead.com
-
Constructor Summary
Constructors Constructor Description Channel(ChannelManager cm) -
Method Summary
Modifier and Type Method Description StringgetExitSignal()IntegergetExitStatus()StringgetReasonClosed()Deprecated.ThrowablegetReasonClosedCause()ChannelInputStreamgetStderrStream()ChannelOutputStreamgetStdinStream()ChannelInputStreamgetStdoutStream()voidpipeStderrStream(OutputStream os)voidpipeStdoutStream(OutputStream os)voidrequestWindowChange(int term_width_characters, int term_height_characters, int term_width_pixels, int term_height_pixels)voidsetReasonClosed(String reasonClosed)voidsetReasonClosed(Throwable reasonClosed)voidsetWindowSize(int newSize)voidsignal(String name)
-
Constructor Details
-
Method Details
-
setWindowSize
public void setWindowSize(int newSize) -
getStderrStream
-
getStdinStream
-
getStdoutStream
-
pipeStdoutStream
- Throws:
IOException
-
pipeStderrStream
- Throws:
IOException
-
getExitSignal
-
getExitStatus
-
getReasonClosed
Deprecated.Gets reason closed.- Returns:
- the reason closed
-
getReasonClosedCause
-
setReasonClosed
-
setReasonClosed
-
requestWindowChange
public void requestWindowChange(int term_width_characters, int term_height_characters, int term_width_pixels, int term_height_pixels) throws IOException- Throws:
IOException
-
signal
- Throws:
IOException
-