C# Class OctoTorrent.Client.Messages.Standard.CancelMessage

Inheritance: PeerMessage
Afficher le fichier Open project: Eskat0n/OctoTorrent Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

CancelMessage() public méthode

Creates a new CancelMessage
public CancelMessage ( ) : System.Text
Résultat System.Text

CancelMessage() public méthode

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
Résultat System.Text

Decode() public méthode

public Decode ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
Résultat void

Encode() public méthode

public Encode ( byte buffer, int offset ) : int
buffer byte
offset int
Résultat int

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

ToString() public méthode

public ToString ( ) : string
Résultat string