Class SshSession
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.svn.ssh.SshSession
-
public class SshSession extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private SshConnectionmyOwnerprivate com.trilead.ssh2.SessionmySession
-
Constructor Summary
Constructors Constructor Description SshSession(SshConnection owner, com.trilead.ssh2.Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidexecCommand(java.lang.String command)java.io.InputStreamgetErr()java.lang.IntegergetExitCode()java.lang.StringgetExitSignal()java.io.OutputStreamgetIn()java.io.InputStreamgetOut()voidping()voidwaitForCondition(int code, long timeout)
-
-
-
Field Detail
-
myOwner
private SshConnection myOwner
-
mySession
private com.trilead.ssh2.Session mySession
-
-
Constructor Detail
-
SshSession
public SshSession(SshConnection owner, com.trilead.ssh2.Session session)
-
-
Method Detail
-
close
public void close()
-
getOut
public java.io.InputStream getOut()
-
getErr
public java.io.InputStream getErr()
-
getIn
public java.io.OutputStream getIn()
-
getExitCode
public java.lang.Integer getExitCode()
-
getExitSignal
public java.lang.String getExitSignal()
-
waitForCondition
public void waitForCondition(int code, long timeout)
-
execCommand
public void execCommand(java.lang.String command) throws java.io.IOException- Throws:
java.io.IOException
-
ping
public void ping() throws java.io.IOException- Throws:
java.io.IOException
-
-