Class Neighbour
Inheritance
System.Object
Neighbour
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.Lib.P2P.Discovery
Assembly: Catalyst.Core.Lib.dll
Syntax
public sealed class Neighbour : INeighbour
Constructors
| Improve this Doc View SourceNeighbour(PeerId, NeighbourStateTypes, ICorrelationId)
Declaration
public Neighbour(PeerId peerId, NeighbourStateTypes stateTypes = null, ICorrelationId discoveryPingCorrelationId = null)
Parameters
Type | Name | Description |
---|---|---|
PeerId | peerId | |
NeighbourStateTypes | stateTypes | |
ICorrelationId | discoveryPingCorrelationId |
Properties
| Improve this Doc View SourceDiscoveryPingCorrelationId
Declaration
public ICorrelationId DiscoveryPingCorrelationId { get; }
Property Value
Type | Description |
---|---|
ICorrelationId |
PeerId
Declaration
public PeerId PeerId { get; }
Property Value
Type | Description |
---|---|
PeerId |
StateTypes
Declaration
public NeighbourStateTypes StateTypes { get; set; }
Property Value
Type | Description |
---|---|
NeighbourStateTypes |