C# Class BitSharp.Network.Peer

Inheritance: IDisposable
Afficher le fichier Open project: pmlyon/BitSharp Class Usage Examples

Méthodes publiques

Méthode Description
AddBlockMiss ( ) : void
ConnectAsync ( ) : Task
Disconnect ( Exception ex = null ) : void
Dispose ( ) : void
Peer ( IPEndPoint remoteEndPoint, bool isSeed, bool isIncoming ) : BitSharp.Common
Peer ( Socket socket, bool isSeed, bool isIncoming ) : BitSharp.Common

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
HandleFailed ( Peer peer, Exception ex ) : void
UnwireNode ( ) : void
WireNode ( ) : void

Method Details

AddBlockMiss() public méthode

public AddBlockMiss ( ) : void
Résultat void

ConnectAsync() public méthode

public ConnectAsync ( ) : Task
Résultat Task

Disconnect() public méthode

public Disconnect ( Exception ex = null ) : void
ex System.Exception
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Peer() public méthode

public Peer ( IPEndPoint remoteEndPoint, bool isSeed, bool isIncoming ) : BitSharp.Common
remoteEndPoint System.Net.IPEndPoint
isSeed bool
isIncoming bool
Résultat BitSharp.Common

Peer() public méthode

public Peer ( Socket socket, bool isSeed, bool isIncoming ) : BitSharp.Common
socket Socket
isSeed bool
isIncoming bool
Résultat BitSharp.Common