C# Class OctoTorrent.Client.Messages.Libtorrent.ExtensionMessage

Inheritance: PeerMessage
Mostra file Open project: Eskat0n/OctoTorrent

Public Methods

Method Description
DecodeMessage ( byte buffer, int offset, int count, TorrentManager manager ) : PeerMessage
ExtensionMessage ( byte messageId ) : System
Register ( byte identifier, CreateMessage creator ) : void

Protected Methods

Method Description
CreateSupport ( string name ) : ExtensionSupport

Private Methods

Method Description
ExtensionMessage ( ) : System

Method Details

CreateSupport() protected static method

protected static CreateSupport ( string name ) : ExtensionSupport
name string
return ExtensionSupport

DecodeMessage() public static method

public static DecodeMessage ( byte buffer, int offset, int count, TorrentManager manager ) : PeerMessage
buffer byte
offset int
count int
manager TorrentManager
return PeerMessage

ExtensionMessage() public method

public ExtensionMessage ( byte messageId ) : System
messageId byte
return System

Register() public static method

public static Register ( byte identifier, CreateMessage creator ) : void
identifier byte
creator CreateMessage
return void