Package org.apache.sshd.git.transport
Class GitSshdSessionProcess
java.lang.Object
java.lang.Process
org.apache.sshd.git.transport.GitSshdSessionProcess
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGitSshdSessionProcess
(org.apache.sshd.client.channel.ChannelExec channel, String commandName, int timeoutSec) -
Method Summary
Methods inherited from class java.lang.Process
destroyForcibly, isAlive, waitFor
-
Field Details
-
CLOSE_WAIT_EVENTS
-
channel
protected final org.apache.sshd.client.channel.ChannelExec channel -
commandName
-
waitTimeout
protected final long waitTimeout -
log
protected final org.slf4j.Logger log
-
-
Constructor Details
-
GitSshdSessionProcess
public GitSshdSessionProcess(org.apache.sshd.client.channel.ChannelExec channel, String commandName, int timeoutSec)
-
-
Method Details
-
getOutputStream
- Specified by:
getOutputStream
in classProcess
-
getInputStream
- Specified by:
getInputStream
in classProcess
-
getErrorStream
- Specified by:
getErrorStream
in classProcess
-
waitFor
- Specified by:
waitFor
in classProcess
- Throws:
InterruptedException
-
exitValue
public int exitValue() -
destroy
public void destroy() -
toString
-