C# 클래스 GitSharp.Core.Transport.BasePackPushConnection

Push implementation using the native Git pack transfer service. This is the canonical implementation for transferring objects to the remote repository from the local repository by talking to the 'git-receive-pack' service. Objects are packed on the local side into a pack file and then sent to the remote repository. This connection requires only a bi-directional pipe or socket, and thus is easily wrapped up into a local process pipe, anonymous TCP socket, or a command executed through an SSH tunnel. This implementation honors Transport.get_PushThin option. Concrete implementations should just call BasePackConnection.init(System.IO.Stream,System.IO.Stream) and BasePackConnection.readAdvertisedRefs methods in constructor or before any use. They should also handle resources releasing in BasePackConnection.Close method if needed.
상속: BasePackConnection, IPushConnection
파일 보기 프로젝트 열기: jagregory/GitSharp

공개 메소드들

메소드 설명
Push ( ProgressMonitor monitor, RemoteRefUpdate>.IDictionary refUpdates ) : void

보호된 메소드들

메소드 설명
BasePackPushConnection ( IPackTransport packTransport ) : System
doPush ( ProgressMonitor monitor, RemoteRefUpdate>.IDictionary refUpdates ) : void
noRepository ( ) : TransportException

비공개 메소드들

메소드 설명
EnableCapabilities ( ) : string
WriteCommands ( IEnumerable refUpdates, ProgressMonitor monitor ) : void
readStatusReport ( RemoteRefUpdate>.IDictionary refUpdates ) : void
writePack ( RemoteRefUpdate>.IDictionary refUpdates, ProgressMonitor monitor ) : void

메소드 상세

BasePackPushConnection() 보호된 메소드

protected BasePackPushConnection ( IPackTransport packTransport ) : System
packTransport IPackTransport
리턴 System

Push() 공개 메소드

public Push ( ProgressMonitor monitor, RemoteRefUpdate>.IDictionary refUpdates ) : void
monitor ProgressMonitor
refUpdates RemoteRefUpdate>.IDictionary
리턴 void

doPush() 보호된 메소드

protected doPush ( ProgressMonitor monitor, RemoteRefUpdate>.IDictionary refUpdates ) : void
monitor ProgressMonitor
refUpdates RemoteRefUpdate>.IDictionary
리턴 void

noRepository() 보호된 메소드

protected noRepository ( ) : TransportException
리턴 GitSharp.Core.Exceptions.TransportException