Search Results for

    Show / Hide Table of Contents

    Class Stanza

    Represents the base class for XML stanzas used in XMPP.

    Inheritance
    System.Object
    Stanza
    Iq
    Message
    Presence
    Namespace: FastReport.Messaging.Xmpp
    Assembly: FastReport.dll
    Syntax
    public abstract class Stanza

    Constructors

    Stanza(String, String, String, String, CultureInfo, List<XmlElement>)

    Initializes a new instance of the Stanza class with specified parameters.

    Declaration
    public Stanza(string nspace, string jidFrom, string jidTo, string id, CultureInfo language, List<XmlElement> data)
    Parameters
    Type Name Description
    System.String nspace

    The namespace of the stanza.

    System.String jidFrom

    The JID of the sender.

    System.String jidTo

    The JID of the recipient.

    System.String id

    The ID of the stanza.

    System.Globalization.CultureInfo language

    The language of the stanza.

    System.Collections.Generic.List<System.Xml.XmlElement> data

    The data of the stanza.

    Stanza(XmlElement)

    Initializes a new instance of the Stanza class using specified XmlElement instance.

    Declaration
    public Stanza(XmlElement data)
    Parameters
    Type Name Description
    System.Xml.XmlElement data

    The XmlElement instance using like a data.

    Properties

    Data

    Gets the data of the stanza.

    Declaration
    public XmlElement Data { get; set; }
    Property Value
    Type Description
    System.Xml.XmlElement

    Id

    Gets or sets the ID of the stanza.

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    System.String

    JidFrom

    Gets or sets the JID of the sender.

    Declaration
    public string JidFrom { get; set; }
    Property Value
    Type Description
    System.String

    JidTo

    Gets or sets the JID of the recipient.

    Declaration
    public string JidTo { get; set; }
    Property Value
    Type Description
    System.String

    Language

    Gets or sets the language of the stanza.

    Declaration
    public CultureInfo Language { get; set; }
    Property Value
    Type Description
    System.Globalization.CultureInfo

    Methods

    ToString()

    Converts stanza to string.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    String containing stanza value.

    Overrides
    System.Object.ToString()
    Back to top © 1998-2025 Copyright Fast Reports Inc.