C# Class Universal.Torrent.Client.Messages.LibtorrentMessages.ExtensionMessage

Inheritance: PeerMessage
Show file Open project: haroldma/Universal.Torrent

Public Methods

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

Protected Methods

Method Description
CreateSupport ( string name ) : ExtensionSupport
ExtensionMessage ( byte messageId ) : System

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() protected method

protected 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