コード例 #1
0
 protected override void OnUnhandledMessage(object sender, XmppUnhandledMessageEventArgs e)
 {
     if (e.StanzaInstance is Success)
     {
         this.waitEvent.Set();
     }
 }
コード例 #2
0
 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();
     }
 }
コード例 #3
0
 /// <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);