C# 클래스 OctoTorrent.Client.Messages.Standard.CancelMessage

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

공개 메소드들

메소드 설명
CancelMessage ( ) : System.Text

Creates a new CancelMessage

CancelMessage ( int pieceIndex, int startOffset, int requestLength ) : System.Text

Creates a new CancelMessage

Decode ( byte buffer, int offset, int length ) : void
Encode ( byte buffer, int offset ) : int
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToString ( ) : string

메소드 상세

CancelMessage() 공개 메소드

Creates a new CancelMessage
public CancelMessage ( ) : System.Text
리턴 System.Text

CancelMessage() 공개 메소드

Creates a new CancelMessage
public CancelMessage ( int pieceIndex, int startOffset, int requestLength ) : System.Text
pieceIndex int The index of the piece to cancel
startOffset int The offset in bytes of the block of data to cancel
requestLength int The length in bytes of the block of data to cancel
리턴 System.Text

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

ToString() 공개 메소드

public ToString ( ) : string
리턴 string