C# Class GitSharp.Core.Transport.SshSessionFactory

Creates and destroys SSH connections to a remote system. Different implementations of the session factory may be used to control communicating with the end-user as well as reading their personal SSH configuration settings, such as known hosts and private keys. A Session must be returned to the factory that created it. Callers are encouraged to retain the SshSessionFactory for the duration of the period they are using the Session.
Afficher le fichier Open project: jagregory/GitSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
Instance SshSessionFactory

Méthodes publiques

Méthode Description
getSession ( string user, string pass, string host, int port ) : Session
releaseSession ( Session session ) : void
setInstance ( SshSessionFactory newFactory ) : void

Method Details

getSession() public abstract méthode

public abstract getSession ( string user, string pass, string host, int port ) : Session
user string
pass string
host string
port int
Résultat Session

releaseSession() public méthode

public releaseSession ( Session session ) : void
session Session
Résultat void

setInstance() public static méthode

public static setInstance ( SshSessionFactory newFactory ) : void
newFactory SshSessionFactory
Résultat void

Property Details

Instance public_oe static_oe property

public static SshSessionFactory,GitSharp.Core.Transport Instance
Résultat SshSessionFactory