public class Channel extends Object
Constructor and Description |
---|
Channel(ChannelManager cm) |
Modifier and Type | Method and Description |
---|---|
String |
getExitSignal() |
Integer |
getExitStatus() |
String |
getReasonClosed()
Deprecated.
|
Throwable |
getReasonClosedCause() |
ChannelInputStream |
getStderrStream() |
ChannelOutputStream |
getStdinStream() |
ChannelInputStream |
getStdoutStream() |
void |
pipeStderrStream(OutputStream os) |
void |
pipeStdoutStream(OutputStream os) |
void |
requestWindowChange(int term_width_characters,
int term_height_characters,
int term_width_pixels,
int term_height_pixels) |
void |
setReasonClosed(String reasonClosed) |
void |
setReasonClosed(Throwable reasonClosed) |
void |
setWindowSize(int newSize) |
void |
signal(String name) |
public Channel(ChannelManager cm)
public void setWindowSize(int newSize)
public ChannelInputStream getStderrStream()
public ChannelOutputStream getStdinStream()
public ChannelInputStream getStdoutStream()
public void pipeStdoutStream(OutputStream os) throws IOException
IOException
public void pipeStderrStream(OutputStream os) throws IOException
IOException
public String getExitSignal()
public Integer getExitStatus()
public String getReasonClosed()
getReasonClosedCause()
public Throwable getReasonClosedCause()
public void setReasonClosed(String reasonClosed)
public void setReasonClosed(Throwable reasonClosed)
public void requestWindowChange(int term_width_characters, int term_height_characters, int term_width_pixels, int term_height_pixels) throws IOException
IOException
public void signal(String name) throws IOException
IOException
Copyright © 2018. All rights reserved.