示例#1
0
 /// <summary>
 /// </summary>
 /// <param name="sender">
 /// </param>
 /// <param name="iq">
 /// </param>
 /// <param name="data">
 /// </param>
 private void SessionResult(object sender, IQ iq, object data)
 {
     if (iq.Type == IqType.result)
     {
         m_XmppClient.DoChangeXmppConnectionState(XmppConnectionState.SessionStarted);
         m_XmppClient.RaiseOnLogin();
     }
     else if (iq.Type == IqType.error)
     {
     }
 }
示例#2
0
 private void SessionResult(object sender, IQEventArgs e)
 {
     if (e.IQ.Type == IqType.result)
     {
         m_XmppClient.DoChangeXmppConnectionState(XmppConnectionState.SessionStarted);
         m_XmppClient.RaiseOnLogin();
         e.Handled = true;
     }
     else if (e.IQ.Type == IqType.error)
     {
     }
 }