메소드 | 설명 | |
---|---|---|
GetAdvertiseRefsHook ( ) : NGit.Transport.AdvertiseRefsHook | ||
GetAdvertisedRefs ( ) : Ref>.IDictionary |
Get refs which were advertised to the client. Get refs which were advertised to the client. |
|
GetLogger ( ) : NGit.Transport.UploadPackLogger | ||
GetPackStatistics ( ) : PackWriter.Statistics |
Get the PackWriter's statistics if a pack was sent to the client. Get the PackWriter's statistics if a pack was sent to the client. |
|
GetPreUploadHook ( ) : PreUploadHook | ||
GetRefFilter ( ) : NGit.Transport.RefFilter | ||
GetRepository ( ) : Repository | ||
GetRequestPolicy ( ) : UploadPack.RequestPolicy | ||
GetRevWalk ( ) : RevWalk | ||
GetTimeout ( ) : int | ||
IsBiDirectionalPipe ( ) : bool | ||
IsSideBand ( ) : bool |
Check whether the client expects a side-band stream. Check whether the client expects a side-band stream. |
|
SendAdvertisedRefs ( NGit.Transport.RefAdvertiser adv ) : void |
Generate an advertisement of available refs and capabilities. Generate an advertisement of available refs and capabilities. |
|
SetAdvertiseRefsHook ( NGit.Transport.AdvertiseRefsHook advertiseRefsHook ) : void |
Set the hook used while advertising the refs to the client. Set the hook used while advertising the refs to the client. If the |
|
SetAdvertisedRefs ( Ref>.IDictionary |
Set the refs advertised by this UploadPack. Set the refs advertised by this UploadPack. Intended to be called from a |
|
SetBiDirectionalPipe ( bool twoWay ) : void | ||
SetLogger ( NGit.Transport.UploadPackLogger logger ) : void |
Set the logger. Set the logger. |
|
SetPackConfig ( NGit.Storage.Pack.PackConfig pc ) : void |
Set the configuration used by the pack generator. Set the configuration used by the pack generator. |
|
SetPreUploadHook ( PreUploadHook hook ) : void |
Set the hook that controls how this instance will behave. Set the hook that controls how this instance will behave. |
|
SetRefFilter ( NGit.Transport.RefFilter refFilter ) : void |
Set the filter used while advertising the refs to the client. Set the filter used while advertising the refs to the client. Only refs allowed by this filter will be sent to the client. The filter is run against the refs specified by the |
|
SetRequestPolicy ( |
||
SetTimeout ( int seconds ) : void |
Set the timeout before willing to abort an IO call. Set the timeout before willing to abort an IO call. |
|
Upload ( |
Execute the upload task on the socket. Execute the upload task on the socket. |
|
UploadPack ( Repository copyFrom ) : System |
Create a new pack upload for an open repository. Create a new pack upload for an open repository. |
메소드 | 설명 | |
---|---|---|
AddCommonBase ( NGit.Revwalk.RevObject o ) : void | ||
CheckNotAdvertisedWants ( ICollection |
||
GetAdvertisedOrDefaultRefs ( ) : Ref>.IDictionary |
||
Negotiate ( ) : bool | ||
OkToGiveUp ( ) : bool | ||
OkToGiveUpImp ( ) : bool | ||
ProcessHaveLines ( IList |
||
ProcessShallow ( ) : void | ||
RecvWants ( ) : void | ||
ReportErrorDuringNegotiate ( string msg ) : void | ||
ReportInternalServerErrorOverSideband ( Exception error ) : bool | ||
SendPack ( ) : void | ||
SendPack ( bool sideband ) : void | ||
Service ( ) : void | ||
WantSatisfied ( NGit.Revwalk.RevObject want ) : bool |
public GetAdvertiseRefsHook ( ) : NGit.Transport.AdvertiseRefsHook | ||
리턴 | NGit.Transport.AdvertiseRefsHook |
public GetLogger ( ) : NGit.Transport.UploadPackLogger | ||
리턴 | NGit.Transport.UploadPackLogger |
public GetPackStatistics ( ) : PackWriter.Statistics | ||
리턴 | PackWriter.Statistics |
public GetRefFilter ( ) : NGit.Transport.RefFilter | ||
리턴 | NGit.Transport.RefFilter |
public GetRequestPolicy ( ) : UploadPack.RequestPolicy | ||
리턴 | UploadPack.RequestPolicy |
public SendAdvertisedRefs ( NGit.Transport.RefAdvertiser adv ) : void | ||
adv | NGit.Transport.RefAdvertiser | the advertisement formatter. |
리턴 | void |
public SetAdvertiseRefsHook ( NGit.Transport.AdvertiseRefsHook advertiseRefsHook ) : void | ||
advertiseRefsHook | NGit.Transport.AdvertiseRefsHook | the hook; may be null to show all refs. |
리턴 | void |
public SetAdvertisedRefs ( Ref>.IDictionary |
||
allRefs | Ref>.IDictionary |
/// explicit set of references to claim as advertised by this
/// UploadPack instance. This overrides any references that
/// may exist in the source repository. The map is passed
/// to the configured
/// |
리턴 | void |
public SetBiDirectionalPipe ( bool twoWay ) : void | ||
twoWay | bool | /// if true, this class will assume the socket is a fully /// bidirectional pipe between the two peers and takes advantage /// of that by first transmitting the known refs, then waiting to /// read commands. If false, this class assumes it must read the /// commands before writing output and does not perform the /// initial advertising. /// |
리턴 | void |
public SetLogger ( NGit.Transport.UploadPackLogger logger ) : void | ||
logger | NGit.Transport.UploadPackLogger | the logger instance. If null, no logging occurs. |
리턴 | void |
public SetPackConfig ( NGit.Storage.Pack.PackConfig pc ) : void | ||
pc | NGit.Storage.Pack.PackConfig | /// configuration controlling packing parameters. If null the /// source repository's settings will be used. /// |
리턴 | void |
public SetPreUploadHook ( PreUploadHook hook ) : void | ||
hook | PreUploadHook | the hook; if null no special actions are taken. |
리턴 | void |
public SetRefFilter ( NGit.Transport.RefFilter refFilter ) : void | ||
refFilter | NGit.Transport.RefFilter | the filter; may be null to show all refs. |
리턴 | void |
public SetRequestPolicy ( |
||
policy |
/// the policy used to enforce validation of a client's want list.
/// By default the policy is
/// |
|
리턴 | void |
public SetTimeout ( int seconds ) : void | ||
seconds | int | /// number of seconds to wait (with no data transfer occurring) /// before aborting an IO read or write operation with the /// connected client. /// |
리턴 | void |
public Upload ( |
||
input | /// raw input to read client commands from. Caller must ensure the /// input is buffered, otherwise read performance may suffer. /// | |
output | /// response back to the Git network client, to write the pack /// data onto. Caller must ensure the output is buffered, /// otherwise write performance may suffer. /// | |
messages | /// secondary "notice" channel to send additional messages out /// through. When run over SSH this should be tied back to the /// standard error channel of the command execution. For most /// other network connections this should be null. /// | |
리턴 | void |
public UploadPack ( Repository copyFrom ) : System | ||
copyFrom | Repository | the source repository. |
리턴 | System |