Table of Contents

Class Peer

Namespace
NLightning.Infrastructure.Node.Models
Assembly
NLightning.Infrastructure.dll

Represents a peer in the network.

public sealed class Peer : IPeer
Inheritance
Peer
Implements
Inherited Members

Remarks

This class is used to communicate with a peer in the network.

Properties

PeerAddress

public PeerAddress PeerAddress { get; }

Property Value

PeerAddress

Methods

Disconnect()

public void Disconnect()

Events

DisconnectEvent

Event raised when the peer is disconnected.

public event EventHandler? DisconnectEvent

Event Type

EventHandler