C# Class Bamboo.Prevalence.Implementation.CommandLogWriter

Command log writer.
Datei anzeigen Open project: bamboo/Bamboo.Prevalence Class Usage Examples

Public Methods

Method Description
CloseOutputLog ( ) : void
CommandLogWriter ( Bamboo.Prevalence.Implementation.NumberedFileCreator creator, BinaryFormatter formatter ) : System
TakeSnapshot ( object system ) : void
WriteCommand ( ICommand command ) : void

Writes a command to the current log file.

Private Methods

Method Description
CheckOutputLog ( ) : void
CreateTempForSnapshotFile ( FileInfo info ) : FileInfo
Flush ( System stream ) : void
FlushFileBuffers ( IntPtr handle ) : int
MonoHardFlush ( System stream ) : void
NextOutputLog ( ) : FileStream
SelectHardFlushImpl ( ) : HardFlushDelegate
Win32HardFlush ( System stream ) : void

Method Details

CloseOutputLog() public method

public CloseOutputLog ( ) : void
return void

CommandLogWriter() public method

public CommandLogWriter ( Bamboo.Prevalence.Implementation.NumberedFileCreator creator, BinaryFormatter formatter ) : System
creator Bamboo.Prevalence.Implementation.NumberedFileCreator
formatter System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
return System

TakeSnapshot() public method

public TakeSnapshot ( object system ) : void
system object
return void

WriteCommand() public method

Writes a command to the current log file.
public WriteCommand ( ICommand command ) : void
command ICommand serializable command
return void