C# 클래스 OctoTorrent.Dht.DhtEngine

상속: IDisposable, IDhtEngine
파일 보기 프로젝트 열기: Eskat0n/OctoTorrent 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Add void
Add void
CheckDisposed void
RaisePeersFound void
RaiseStateChanged void

공개 메소드들

메소드 설명
Add ( BEncodedList nodes ) : void
Announce ( InfoHash infoHash, int port ) : void
DhtEngine ( DhtListener listener ) : System
Dispose ( ) : void
GetPeers ( InfoHash infoHash ) : void
GetPeers ( byte bytes ) : void
SaveNodes ( ) : byte[]
Start ( ) : void
Start ( byte initialNodes ) : void
Stop ( ) : void

비공개 메소드들

메소드 설명
Add ( IEnumerable nodes ) : void
Add ( Node node ) : void
CheckDisposed ( ) : void
RaisePeersFound ( NodeId infoHash, List peers ) : void
RaiseStateChanged ( DhtState newState ) : void

메소드 상세

Add() 공개 메소드

public Add ( BEncodedList nodes ) : void
nodes BEncodedList
리턴 void

Announce() 공개 메소드

public Announce ( InfoHash infoHash, int port ) : void
infoHash InfoHash
port int
리턴 void

DhtEngine() 공개 메소드

public DhtEngine ( DhtListener listener ) : System
listener OctoTorrent.Dht.Listeners.DhtListener
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetPeers() 공개 메소드

public GetPeers ( InfoHash infoHash ) : void
infoHash InfoHash
리턴 void

GetPeers() 공개 메소드

public GetPeers ( byte bytes ) : void
bytes byte
리턴 void

SaveNodes() 공개 메소드

public SaveNodes ( ) : byte[]
리턴 byte[]

Start() 공개 메소드

public Start ( ) : void
리턴 void

Start() 공개 메소드

public Start ( byte initialNodes ) : void
initialNodes byte
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void