/// <summary> /// Event arguments for message events. /// </summary> public ValidateSenderEventArgs(XmppClient Client, XmlElement Stanza, string From, string FromBareJid, IqEventArgs IqStanza, MessageEventArgs MessageStanza) { this.client = Client; this.stanza = Stanza; this.from = From; this.fromBareJid = FromBareJid; this.iqStanza = IqStanza; this.messageStanza = MessageStanza; }
/// <summary> /// Event arguments for IQ queries. /// </summary> protected IqEventArgs(IqEventArgs e) { this.client = e.client; this.component = e.component; this.iq = e.iq; this.id = e.id; this.to = e.to; this.from = e.from; }
/// <summary> /// Event arguments for IQ queries. /// </summary> protected IqEventArgs(IqEventArgs e) { this.client = e.client; this.component = e.component; this.iq = e.iq; this.id = e.id; this.to = e.to; this.from = e.from; this.e2eEncryption = e.e2eEncryption; this.e2eReference = e.e2eReference; this.e2eSymmetricCipher = e.e2eSymmetricCipher; }
/// <summary> /// Event arguments for message events. /// </summary> public ValidateSenderEventArgs(XmppClient Client, XmlElement Stanza, string From, IqEventArgs IqStanza, MessageEventArgs MessageStanza) : this(Client, Stanza, From, XmppClient.GetBareJID(From), IqStanza, MessageStanza) { }