C# 클래스 BitSharp.Network.RemoteSender

파일 보기 프로젝트 열기: pmlyon/BitSharp 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
PingAsync ( ) : Task
RemoteSender ( Peer owner, Socket socket ) : BitSharp.Common
RequestKnownAddressesAsync ( ) : Task
SendBlock ( Block block ) : Task
SendGetBlocks ( ImmutableArray blockLocatorHashes, UInt256 hashStop ) : Task
SendGetData ( ImmutableArray invVectors ) : Task
SendGetData ( BitSharp.Network.InventoryVector invVector ) : Task
SendGetHeaders ( ImmutableArray blockLocatorHashes, UInt256 hashStop ) : Task
SendHeaders ( ImmutableArray blockHeaders ) : Task
SendInventory ( ImmutableArray invVectors ) : Task
SendMessageAsync ( BitSharp.Network.Message message ) : Task
SendMessageAsync ( string command ) : Task
SendTransaction ( EncodedTx transaction ) : Task
SendVersion ( IPEndPoint localEndPoint, IPEndPoint remoteEndPoint, System.UInt64 nodeId, UInt32 startBlockHeight ) : Task
SendVersionAcknowledge ( ) : Task

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
Fail ( Exception ex ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

PingAsync() 공개 메소드

public PingAsync ( ) : Task
리턴 Task

RemoteSender() 공개 메소드

public RemoteSender ( Peer owner, Socket socket ) : BitSharp.Common
owner Peer
socket Socket
리턴 BitSharp.Common

RequestKnownAddressesAsync() 공개 메소드

public RequestKnownAddressesAsync ( ) : Task
리턴 Task

SendBlock() 공개 메소드

public SendBlock ( Block block ) : Task
block Block
리턴 Task

SendGetBlocks() 공개 메소드

public SendGetBlocks ( ImmutableArray blockLocatorHashes, UInt256 hashStop ) : Task
blockLocatorHashes ImmutableArray
hashStop UInt256
리턴 Task

SendGetData() 공개 메소드

public SendGetData ( ImmutableArray invVectors ) : Task
invVectors ImmutableArray
리턴 Task

SendGetData() 공개 메소드

public SendGetData ( BitSharp.Network.InventoryVector invVector ) : Task
invVector BitSharp.Network.InventoryVector
리턴 Task

SendGetHeaders() 공개 메소드

public SendGetHeaders ( ImmutableArray blockLocatorHashes, UInt256 hashStop ) : Task
blockLocatorHashes ImmutableArray
hashStop UInt256
리턴 Task

SendHeaders() 공개 메소드

public SendHeaders ( ImmutableArray blockHeaders ) : Task
blockHeaders ImmutableArray
리턴 Task

SendInventory() 공개 메소드

public SendInventory ( ImmutableArray invVectors ) : Task
invVectors ImmutableArray
리턴 Task

SendMessageAsync() 공개 메소드

public SendMessageAsync ( BitSharp.Network.Message message ) : Task
message BitSharp.Network.Message
리턴 Task

SendMessageAsync() 공개 메소드

public SendMessageAsync ( string command ) : Task
command string
리턴 Task

SendTransaction() 공개 메소드

public SendTransaction ( EncodedTx transaction ) : Task
transaction EncodedTx
리턴 Task

SendVersion() 공개 메소드

public SendVersion ( IPEndPoint localEndPoint, IPEndPoint remoteEndPoint, System.UInt64 nodeId, UInt32 startBlockHeight ) : Task
localEndPoint System.Net.IPEndPoint
remoteEndPoint System.Net.IPEndPoint
nodeId System.UInt64
startBlockHeight System.UInt32
리턴 Task

SendVersionAcknowledge() 공개 메소드

public SendVersionAcknowledge ( ) : Task
리턴 Task