Метод | Описание | |
---|---|---|
TransportBundleStream ( Repository local, |
Create a new transport to fetch objects from a streamed bundle. The stream can be unbuffered (buffering is automatically provided internally to smooth out short reads) and unpositionable (the stream is Read from only once, sequentially). When the FetchConnection or the this instance is closed the supplied input stream is also automatically closed. This frees callers from needing to keep track of the supplied stream.
|
|
close ( ) : void | ||
openFetch ( ) : IFetchConnection | ||
openPush ( ) : IPushConnection |
public TransportBundleStream ( Repository local, |
||
local | Repository | repository the fetched objects will be loaded into. |
uri | /// symbolic name of the source of the stream. The URI can /// reference a non-existent resource. It is used only for /// exception reporting. /// | |
inputStream | Stream | the stream to Read the bundle from. |
Результат | System |