Show / Hide Table of Contents

    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 Source

    StatefulPhase(IPhaseName, IPhaseStatus)

    Declaration
    public StatefulPhase(IPhaseName name, IPhaseStatus status)
    Parameters
    Type Name Description
    IPhaseName name
    IPhaseStatus status

    Properties

    | Improve this Doc View Source

    Name

    Declaration
    public IPhaseName Name { get; }
    Property Value
    Type Description
    IPhaseName
    | Improve this Doc View Source

    Status

    Declaration
    public IPhaseStatus Status { get; }
    Property Value
    Type Description
    IPhaseStatus

    Methods

    | Improve this Doc View Source

    GetStatusChangeObservable(IPhaseName, IPhaseTimings, TimeSpan, IScheduler)

    Use this to get a stream of state change events occuring at the time configured by every

    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>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network