C# 클래스 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.
파일 보기 프로젝트 열기: jagregory/GitSharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Instance SshSessionFactory

공개 메소드들

메소드 설명
getSession ( string user, string pass, string host, int port ) : Session
releaseSession ( Session session ) : void
setInstance ( SshSessionFactory newFactory ) : void

메소드 상세

getSession() 공개 추상적인 메소드

public abstract getSession ( string user, string pass, string host, int port ) : Session
user string
pass string
host string
port int
리턴 Session

releaseSession() 공개 메소드

public releaseSession ( Session session ) : void
session Session
리턴 void

setInstance() 공개 정적인 메소드

public static setInstance ( SshSessionFactory newFactory ) : void
newFactory SshSessionFactory
리턴 void

프로퍼티 상세

Instance 공개적으로 정적으로 프로퍼티

public static SshSessionFactory,GitSharp.Core.Transport Instance
리턴 SshSessionFactory