C# Class ServerNetworkConnections.Protocol.XMLMessageParser

Utility class that helps parse AbstractMessages from a given XML String.
Inheritance: AbstractMessageParser
Afficher le fichier Open project: bakacaptain/istalkapp

Méthodes publiques

Méthode Description
Parse ( String xml ) : AbstractMessage

Static method that takes in an xml String and converts it to an AbstractMessage. Will throw an XmlException if the xml String was in an unrecognized format.

Method Details

Parse() public méthode

Static method that takes in an xml String and converts it to an AbstractMessage. Will throw an XmlException if the xml String was in an unrecognized format.
public Parse ( String xml ) : AbstractMessage
xml String A String with xml representing an AbstractMessage
Résultat AbstractMessage