Class StatefulPhase
Inheritance
System.Object
StatefulPhase
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Catalyst.Core.Modules.Consensus.Cycle
Assembly: Catalyst.Core.Modules.Consensus.dll
Syntax
public class StatefulPhase
Constructors
| Improve this Doc View SourceStatefulPhase(IPhaseName, IPhaseStatus)
Declaration
public StatefulPhase(IPhaseName name, IPhaseStatus status)
Parameters
Type | Name | Description |
---|---|---|
IPhaseName | name | |
IPhaseStatus | status |
Properties
| Improve this Doc View SourceName
Declaration
public IPhaseName Name { get; }
Property Value
Type | Description |
---|---|
IPhaseName |
Status
Declaration
public IPhaseStatus Status { get; }
Property Value
Type | Description |
---|---|
IPhaseStatus |
Methods
| Improve this Doc View SourceGetStatusChangeObservable(IPhaseName, IPhaseTimings, TimeSpan, IScheduler)
Use this to get a stream of state change events occuring at the time configured by
Declaration
public static IObservable<StatefulPhase> GetStatusChangeObservable(IPhaseName name, IPhaseTimings timings, TimeSpan cycleDuration, IScheduler scheduler)
Parameters
Type | Name | Description |
---|---|---|
IPhaseName | name | The name of the phase for which you need the state change events. |
IPhaseTimings | timings | The timing configuration for the phase. |
System.TimeSpan | cycleDuration | The total duration of a delta production cycle. |
IScheduler | scheduler | The IScheduler used to synchronise the Timers. |
Returns
Type | Description |
---|---|
System.IObservable<StatefulPhase> |