C# Class GSF.IO.FileStructure.SimplifiedSubFileStreamIoSession

An IoSession for a Simplified Sub File Stream
Inheritance: GSF.IO.Unmanaged.BinaryStreamIoSessionBase
ファイルを表示 Open project: GridProtectionAlliance/openHistorian

Public Properties

Property Type Description
ReadBlockCount int
WriteBlockCount int

Public Methods

Method Description
Clear ( ) : void

Sets the current usage of the BinaryStreamIoSessionBase to null.

GetBlock ( BlockArguments args ) : void
SimplifiedSubFileStreamIoSession ( FileStream stream, SubFileHeader subFile, FileHeaderBlock header ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the SimplifiedSubFileStreamIoSession object and optionally releases the managed resources.

Private Methods

Method Description
Flush ( ) : void
Read ( uint physicalBlockIndex, uint blockIndex ) : void

Method Details

Clear() public method

Sets the current usage of the BinaryStreamIoSessionBase to null.
public Clear ( ) : void
return void

Dispose() protected method

Releases the unmanaged resources used by the SimplifiedSubFileStreamIoSession object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

GetBlock() public method

public GetBlock ( BlockArguments args ) : void
args GSF.IO.Unmanaged.BlockArguments
return void

SimplifiedSubFileStreamIoSession() public method

public SimplifiedSubFileStreamIoSession ( FileStream stream, SubFileHeader subFile, FileHeaderBlock header ) : System
stream System.IO.FileStream
subFile SubFileHeader
header FileHeaderBlock
return System

Property Details

ReadBlockCount public_oe static_oe property

public static int ReadBlockCount
return int

WriteBlockCount public_oe static_oe property

public static int WriteBlockCount
return int