C# Class Universal.Torrent.Client.Messages.uTorrent.PeerExchangeMessage

Inheritance: Universal.Torrent.Client.Messages.LibtorrentMessages.ExtensionMessage
Mostrar archivo Open project: haroldma/Universal.Torrent Class Usage Examples

Public Properties

Property Type Description
Support Universal.Torrent.Client.Messages.LibtorrentMessages.ExtensionSupport

Public Methods

Method Description
Decode ( byte buffer, int offset, int length ) : void
Encode ( byte buffer, int offset ) : int
PeerExchangeMessage ( ) : Universal.Torrent.Bencoding
PeerExchangeMessage ( PeerId id, byte added, byte addedDotF, byte dropped ) : Universal.Torrent.Bencoding
ToString ( ) : string

Private Methods

Method Description
Initialise ( byte added, byte addedDotF, byte dropped ) : void
PeerExchangeMessage ( byte messageId, byte added, byte addedDotF, byte dropped ) : Universal.Torrent.Bencoding

Method Details

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

PeerExchangeMessage() public method

public PeerExchangeMessage ( ) : Universal.Torrent.Bencoding
return Universal.Torrent.Bencoding

PeerExchangeMessage() public method

public PeerExchangeMessage ( PeerId id, byte added, byte addedDotF, byte dropped ) : Universal.Torrent.Bencoding
id Universal.Torrent.Client.PeerConnections.PeerId
added byte
addedDotF byte
dropped byte
return Universal.Torrent.Bencoding

ToString() public method

public ToString ( ) : string
return string

Property Details

Support public_oe static_oe property

public static ExtensionSupport,Universal.Torrent.Client.Messages.LibtorrentMessages Support
return Universal.Torrent.Client.Messages.LibtorrentMessages.ExtensionSupport