C# Class Universal.Torrent.Dht.MessageFactory

Afficher le fichier Open project: haroldma/Universal.Torrent

Méthodes publiques

Méthode Description
DecodeMessage ( BEncodedDictionary dictionary ) : Message
RegisterSend ( QueryMessage message ) : void
TryDecodeMessage ( BEncodedDictionary dictionary, Message &message ) : bool
TryDecodeMessage ( BEncodedDictionary dictionary, Message &message, string &error ) : bool
UnregisterSend ( QueryMessage message ) : bool

Private Methods

Méthode Description
IsRegistered ( BEncodedValue transactionId ) : bool
MessageFactory ( ) : System.Collections.Generic

Method Details

DecodeMessage() public static méthode

public static DecodeMessage ( BEncodedDictionary dictionary ) : Message
dictionary BEncodedDictionary
Résultat Message

RegisterSend() public static méthode

public static RegisterSend ( QueryMessage message ) : void
message Universal.Torrent.Dht.Messages.Queries.QueryMessage
Résultat void

TryDecodeMessage() public static méthode

public static TryDecodeMessage ( BEncodedDictionary dictionary, Message &message ) : bool
dictionary BEncodedDictionary
message Message
Résultat bool

TryDecodeMessage() public static méthode

public static TryDecodeMessage ( BEncodedDictionary dictionary, Message &message, string &error ) : bool
dictionary BEncodedDictionary
message Message
error string
Résultat bool

UnregisterSend() public static méthode

public static UnregisterSend ( QueryMessage message ) : bool
message Universal.Torrent.Dht.Messages.Queries.QueryMessage
Résultat bool