Class TrileadSession

  • All Implemented Interfaces:
    org.eclipse.jgit.transport.RemoteSession

    public class TrileadSession
    extends Object
    implements org.eclipse.jgit.transport.RemoteSession
    TrileadSession class.
    • Field Detail

      • con

        protected final com.trilead.ssh2.Connection con
    • Constructor Detail

      • TrileadSession

        public TrileadSession​(com.trilead.ssh2.Connection con)
        Constructor for TrileadSession.
        Parameters:
        con - a Connection object for this session's connection.
    • Method Detail

      • exec

        public Process exec​(String commandName,
                            int timeout)
                     throws IOException
        Specified by:
        exec in interface org.eclipse.jgit.transport.RemoteSession
        Throws:
        IOException
      • disconnect

        public void disconnect()
        Specified by:
        disconnect in interface org.eclipse.jgit.transport.RemoteSession