Class HastingsOriginator
Inheritance
System.Object
HastingsOriginator
Implements
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 SourceHastingsOriginator(IHastingsMemento)
Declaration
public HastingsOriginator(IHastingsMemento hastingsMemento)
Parameters
| Type | Name | Description |
|---|---|---|
| IHastingsMemento | hastingsMemento |
Fields
| Improve this Doc View SourceDefault
Declaration
public static readonly HastingsOriginator Default
Field Value
| Type | Description |
|---|---|
| HastingsOriginator |
Properties
| Improve this Doc View SourceNeighbours
Declaration
public INeighbours Neighbours { get; }
Property Value
| Type | Description |
|---|---|
| INeighbours |
Peer
Declaration
public PeerId Peer { get; }
Property Value
| Type | Description |
|---|---|
| PeerId |
PnrCorrelationId
Declaration
public ICorrelationId PnrCorrelationId { get; }
Property Value
| Type | Description |
|---|---|
| ICorrelationId |
Methods
| Improve this Doc View SourceCreateMemento()
Declaration
public IHastingsMemento CreateMemento()
Returns
| Type | Description |
|---|---|
| IHastingsMemento |
HasValidCandidate()
Declaration
public bool HasValidCandidate()
Returns
| Type | Description |
|---|---|
| System.Boolean |
RestoreMemento(IHastingsMemento)
Declaration
public void RestoreMemento(IHastingsMemento hastingsMemento)
Parameters
| Type | Name | Description |
|---|---|---|
| IHastingsMemento | hastingsMemento |