| net.schmizz.sshj.connection.channel.direct.Session.Command |
Known Indirect Subclasses
|
Command API.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the command's
stderr stream. | |||||||||||
If the command exit violently
with a signal, an error message would have been
received and can be retrieved via this method. | |||||||||||
Returns the
signal if the command exit violently, or null if this information was not
received. | |||||||||||
Returns the exit status of the command if it was received, or
null if this information was not
received. | |||||||||||
If the command exit violently
with a signal, information about whether a core dump
took place would have been received and can be retrieved via this method. | |||||||||||
Send a signal to the remote command.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.io.Closeable
| |||||||||||
From interface
net.schmizz.sshj.common.ErrorNotifiable
| |||||||||||
From interface
net.schmizz.sshj.common.SSHPacketHandler
| |||||||||||
From interface
net.schmizz.sshj.connection.channel.Channel
| |||||||||||
Returns the command's stderr stream.
If the command exit violently with a signal, an error message would have been
received and can be retrieved via this method. Otherwise, this method will return null.
Returns the signal if the command exit violently, or null if this information was not
received.
Returns the exit status of the command if it was received, or null if this information was not
received.
If the command exit violently with a signal, information about whether a core dump
took place would have been received and can be retrieved via this method. Otherwise, this method will return
null.
Send a signal to the remote command.
| signal | The signal |
|---|
| TransportException | if error sending the signal |
|---|