Class Presence
Represents the XMPP Presence.
Inherited Members
Namespace: FastReport.Messaging.Xmpp
Assembly: FastReport.dll
Syntax
public class Presence : Stanza
Constructors
Presence(String, String, String, String, CultureInfo, List<XmlElement>)
Initializes a new instance of the Presence class with specified parameters.
Declaration
public Presence(string nspace, string jidFrom, string jidTo, string id, CultureInfo language, List<XmlElement> data)
Parameters
Type | Name | Description |
---|---|---|
System.String | nspace | The namespace of the presence. |
System.String | jidFrom | The JID of the sender. |
System.String | jidTo | The JID of the recipient. |
System.String | id | The ID of the presence. |
System.Globalization.CultureInfo | language | The language of the presence. |
System.Collections.Generic.List<System.Xml.XmlElement> | data | The data of the presence. |
Presence(XmlElement)
Initializes a new instance of the Presence class using specified XmlElement instance.
Declaration
public Presence(XmlElement data)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | data | The XmlElement instance using like a data. |