C# Class Universal.Torrent.Dht.Message

Inheritance: Universal.Torrent.Client.Messages.Message
Mostra file Open project: haroldma/Universal.Torrent Class Usage Examples

Protected Properties

Property Type Description
IdKey BEncodedString
Properties BEncodedDictionary

Private Properties

Property Type Description

Public Methods

Method Description
Decode ( byte buffer, int offset, int length ) : void
Encode ( byte buffer, int offset ) : int
Handle ( DhtEngine engine, Node node ) : void

Protected Methods

Method Description
Message ( BEncodedDictionary dictionary ) : Universal.Torrent.Bencoding
Message ( BEncodedString messageType ) : 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

Handle() public method

public Handle ( DhtEngine engine, Node node ) : void
engine DhtEngine
node Node
return void

Message() protected method

protected Message ( BEncodedDictionary dictionary ) : Universal.Torrent.Bencoding
dictionary BEncodedDictionary
return Universal.Torrent.Bencoding

Message() protected method

protected Message ( BEncodedString messageType ) : Universal.Torrent.Bencoding
messageType BEncodedString
return Universal.Torrent.Bencoding

Property Details

IdKey protected_oe static_oe property

protected static BEncodedString IdKey
return BEncodedString

Properties protected_oe property

protected BEncodedDictionary Properties
return BEncodedDictionary