Show / Hide Table of Contents

    Class HastingsOriginator

    Inheritance
    System.Object
    HastingsOriginator
    Implements
    IHastingsOriginator
    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.P2P.Discovery.Hastings
    Assembly: Catalyst.Core.Modules.P2P.Discovery.Hastings.dll
    Syntax
    public sealed class HastingsOriginator : IHastingsOriginator

    Constructors

    | Improve this Doc View Source

    HastingsOriginator(IHastingsMemento)

    Declaration
    public HastingsOriginator(IHastingsMemento hastingsMemento)
    Parameters
    Type Name Description
    IHastingsMemento hastingsMemento

    Fields

    | Improve this Doc View Source

    Default

    Declaration
    public static readonly HastingsOriginator Default
    Field Value
    Type Description
    HastingsOriginator

    Properties

    | Improve this Doc View Source

    Neighbours

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

    Peer

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

    PnrCorrelationId

    Declaration
    public ICorrelationId PnrCorrelationId { get; }
    Property Value
    Type Description
    ICorrelationId

    Methods

    | Improve this Doc View Source

    CreateMemento()

    Declaration
    public IHastingsMemento CreateMemento()
    Returns
    Type Description
    IHastingsMemento
    | Improve this Doc View Source

    HasValidCandidate()

    Declaration
    public bool HasValidCandidate()
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    RestoreMemento(IHastingsMemento)

    Declaration
    public void RestoreMemento(IHastingsMemento hastingsMemento)
    Parameters
    Type Name Description
    IHastingsMemento hastingsMemento

    Implements

    IHastingsOriginator
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network