C# Class Bamboo.Prevalence.Implementation.PendingCommandsEnumerator

Enumerates through all the commands in the pending logs returned by NumberedFileFinder.NextPendingLog.
Inheritance: System.Collections.IEnumerator, IDisposable
Datei anzeigen Open project: bamboo/Bamboo.Prevalence

Public Methods

Method Description
Dispose ( ) : void
MoveNext ( ) : bool

Moves to next command.

Reset ( ) : void

Throws InvalidOperationException.

Private Methods

Method Description
CloseCurrentStream ( ) : void
IsAtEnd ( System stream ) : bool
NextCommand ( ) : ICommand
NextLogStream ( ) : FileStream
PendingCommandsEnumerator ( NumberedFileFinder finder, BinaryFormatter formatter ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MoveNext() public method

Moves to next command.
public MoveNext ( ) : bool
return bool

Reset() public method

Throws InvalidOperationException.
public Reset ( ) : void
return void