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 SshConnection
myOwner
private com.trilead.ssh2.Session
mySession
-
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 void
close()
void
execCommand(java.lang.String command)
java.io.InputStream
getErr()
java.lang.Integer
getExitCode()
java.lang.String
getExitSignal()
java.io.OutputStream
getIn()
java.io.InputStream
getOut()
void
ping()
void
waitForCondition(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
-
-