protected override void OnUnhandledMessage(object sender, XmppUnhandledMessageEventArgs e) { if (e.StanzaInstance is Success) { this.waitEvent.Set(); } }
protected override void OnUnhandledMessage(object sender, XmppUnhandledMessageEventArgs e) { if (e.StanzaInstance is Challenge) { // Response to teh Authentication Information Request this.digestChallenge = DecodeDigestChallenge((Challenge)e.StanzaInstance); this.successEvent.Set(); } else if (e.StanzaInstance is Success) { this.successEvent.Set(); } }
/// <summary> /// Called when an unhandled message is received /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="T:BabelIm.Net.Xmpp.Core.XmppUnhandledMessageEventArgs"/> instance containing the event data.</param> protected abstract void OnUnhandledMessage(object sender, XmppUnhandledMessageEventArgs e);