C# 클래스 Universal.Torrent.Client.Messages.StandardMessages.HandshakeMessage

상속: PeerMessage
파일 보기 프로젝트 열기: haroldma/Universal.Torrent 1 사용 예제들

공개 메소드들

메소드 설명
Decode ( byte buffer, int offset, int length ) : void
Encode ( byte buffer, int offset ) : int
Equals ( object obj ) : bool
GetHashCode ( ) : int
HandshakeMessage ( ) : System.Collections.Generic
HandshakeMessage ( InfoHash infoHash, string peerId, string protocolString ) : System.Collections.Generic
HandshakeMessage ( InfoHash infoHash, string peerId, string protocolString, bool enableFastPeer ) : System.Collections.Generic
HandshakeMessage ( InfoHash infoHash, string peerId, string protocolString, bool enableFastPeer, bool enableExtended ) : System.Collections.Generic
HandshakeMessage ( bool enableFastPeer ) : System.Collections.Generic

Creates a new HandshakeMessage

ToString ( ) : string

비공개 메소드들

메소드 설명
CheckForSupports ( IReadOnlyList buffer, int &offset ) : void

메소드 상세

Decode() 공개 메소드

public Decode ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
리턴 void

Encode() 공개 메소드

public Encode ( byte buffer, int offset ) : int
buffer byte
offset int
리턴 int

Equals() 공개 메소드

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

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

HandshakeMessage() 공개 메소드

public HandshakeMessage ( ) : System.Collections.Generic
리턴 System.Collections.Generic

HandshakeMessage() 공개 메소드

public HandshakeMessage ( InfoHash infoHash, string peerId, string protocolString ) : System.Collections.Generic
infoHash InfoHash
peerId string
protocolString string
리턴 System.Collections.Generic

HandshakeMessage() 공개 메소드

public HandshakeMessage ( InfoHash infoHash, string peerId, string protocolString, bool enableFastPeer ) : System.Collections.Generic
infoHash InfoHash
peerId string
protocolString string
enableFastPeer bool
리턴 System.Collections.Generic

HandshakeMessage() 공개 메소드

public HandshakeMessage ( InfoHash infoHash, string peerId, string protocolString, bool enableFastPeer, bool enableExtended ) : System.Collections.Generic
infoHash InfoHash
peerId string
protocolString string
enableFastPeer bool
enableExtended bool
리턴 System.Collections.Generic

HandshakeMessage() 공개 메소드

Creates a new HandshakeMessage
public HandshakeMessage ( bool enableFastPeer ) : System.Collections.Generic
enableFastPeer bool
리턴 System.Collections.Generic

ToString() 공개 메소드

public ToString ( ) : string
리턴 string