C# Class OctoTorrent.Dht.Messages.Message

Inheritance: OctoTorrent.Client.Messages.Message
Exibir arquivo Open project: Eskat0n/OctoTorrent 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, Common.Node node ) : void

Protected Methods

Method Description
Message ( BEncodedDictionary dictionary ) : BEncoding
Message ( BEncodedValue messageType ) : 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, Common.Node node ) : void
engine DhtEngine
node Common.Node
return void

Message() protected method

protected Message ( BEncodedDictionary dictionary ) : BEncoding
dictionary BEncodedDictionary
return BEncoding

Message() protected method

protected Message ( BEncodedValue messageType ) : BEncoding
messageType BEncodedValue
return BEncoding

Property Details

IdKey protected_oe static_oe property

protected static BEncodedString IdKey
return BEncodedString

Properties protected_oe property

protected BEncodedDictionary Properties
return BEncodedDictionary