C# Class Universal.Torrent.Client.Messages.UdpTrackerMessages.AnnounceResponseMessage

Inheritance: UdpTrackerMessage
Mostrar archivo Open project: haroldma/Universal.Torrent Class Usage Examples

Public Methods

Method Description
AnnounceResponseMessage ( ) : System
AnnounceResponseMessage ( int transactionId, System.TimeSpan interval, int leechers, int seeders, List peers ) : System
Decode ( byte buffer, int offset, int length ) : void
Encode ( byte buffer, int offset ) : int

Private Methods

Method Description
LoadPeerDetails ( byte buffer, int offset ) : void

Method Details

AnnounceResponseMessage() public method

public AnnounceResponseMessage ( ) : System
return System

AnnounceResponseMessage() public method

public AnnounceResponseMessage ( int transactionId, System.TimeSpan interval, int leechers, int seeders, List peers ) : System
transactionId int
interval System.TimeSpan
leechers int
seeders int
peers List
return System

Decode() public method

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

Encode() public method

public Encode ( byte buffer, int offset ) : int
buffer byte
offset int
return int