DS3 .NET Software Development Kit  3.0.0
Provides access to the Spectra Logic DS3 API through .NET.
Ds3.Helpers.Strategys.StreamFactory.IStreamFactory< TItem > Interface Template Reference
Inheritance diagram for Ds3.Helpers.Strategys.StreamFactory.IStreamFactory< TItem >:
Ds3.Helpers.Strategys.StreamFactory.ReadRandomAccessStreamFactory< TItem >

Public Member Functions

Stream CreateStream (Func< TItem, Stream > createStreamForTransferItem, IRangeTranslator< Blob, TItem > rangeTranslator, Blob blob, long length)
 Create a new stream for every blob returned by GetNextTransferItems More...
 
void CloseBlob (Blob blob)
 If a blob to stream strategy has been chosen than close the stream that associated with the completed blob More...
 
void CloseStream (TItem item)
 If a stream to stream strategy has been chosen than close the stream that associated with the completed stream More...
 

Member Function Documentation

void Ds3.Helpers.Strategys.StreamFactory.IStreamFactory< TItem >.CloseBlob ( Blob  blob)

If a blob to stream strategy has been chosen than close the stream that associated with the completed blob

Parameters
blob

Implemented in Ds3.Helpers.Strategys.StreamFactory.ReadRandomAccessStreamFactory< TItem >.

void Ds3.Helpers.Strategys.StreamFactory.IStreamFactory< TItem >.CloseStream ( TItem  item)

If a stream to stream strategy has been chosen than close the stream that associated with the completed stream

Parameters
item

Implemented in Ds3.Helpers.Strategys.StreamFactory.ReadRandomAccessStreamFactory< TItem >.

Stream Ds3.Helpers.Strategys.StreamFactory.IStreamFactory< TItem >.CreateStream ( Func< TItem, Stream >  createStreamForTransferItem,
IRangeTranslator< Blob, TItem >  rangeTranslator,
Blob  blob,
long  length 
)

Create a new stream for every blob returned by GetNextTransferItems

Parameters
createStreamForTransferItem
rangeTranslator
blob
length
Returns

Implemented in Ds3.Helpers.Strategys.StreamFactory.ReadRandomAccessStreamFactory< TItem >.