C# 클래스 OctoTorrent.Client.Peer

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

Private Properties

프로퍼티 타입 설명
CompactPeer byte[]
CompactPeer void
DecodeFromDict Peer
Encode BEncodedList
HashedPiece void

공개 메소드들

메소드 설명
Decode ( BEncodedList peers ) : MonoTorrentCollection
Decode ( BEncodedString peers ) : MonoTorrentCollection
Equals ( Peer other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Peer ( string peerId, Uri connectionUri, EncryptionTypes encryption = EncryptionTypes.All ) : Common.System
ToString ( ) : string

비공개 메소드들

메소드 설명
CompactPeer ( ) : byte[]
CompactPeer ( byte data, int offset ) : void
DecodeFromDict ( BEncodedValue>.IDictionary dict ) : Peer
Encode ( IEnumerable peers ) : BEncodedList
HashedPiece ( bool succeeded ) : void

메소드 상세

Decode() 공개 정적인 메소드

public static Decode ( BEncodedList peers ) : MonoTorrentCollection
peers BEncodedList
리턴 MonoTorrentCollection

Decode() 공개 정적인 메소드

public static Decode ( BEncodedString peers ) : MonoTorrentCollection
peers BEncodedString
리턴 MonoTorrentCollection

Equals() 공개 메소드

public Equals ( Peer other ) : bool
other Peer
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Peer() 공개 메소드

public Peer ( string peerId, Uri connectionUri, EncryptionTypes encryption = EncryptionTypes.All ) : Common.System
peerId string
connectionUri System.Uri
encryption EncryptionTypes
리턴 Common.System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string