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 com.trilead.ssh2.Session
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SshSession(SshConnection owner, com.trilead.ssh2.Session session)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    execCommand(java.lang.String command)
     
    java.io.InputStream
     
    java.lang.Integer
     
    java.lang.String
     
    java.io.OutputStream
     
    java.io.InputStream
     
    void
     
    void
    waitForCondition(int code, long timeout)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • myOwner

      private SshConnection myOwner
    • mySession

      private com.trilead.ssh2.Session mySession
  • Constructor Details

    • SshSession

      public SshSession(SshConnection owner, com.trilead.ssh2.Session session)
  • Method Details

    • 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