示例#1
0
 private void ircClient_Error(object sender, IrcErrorEventArgs e)
 {
     Debug.Print("IrcClient Error: " + e.Error.Message);
     Reconnect();
 }
示例#2
0
 void IrcClient_Error( object sender, IrcErrorEventArgs e )
 {
     Reconnect();
 }
示例#3
0
 private void ircClient_ConnectFailed(object sender, IrcErrorEventArgs e)
 {
     Debug.Print("IrcClient Connection Failed: " + e.Error.Message);
     Reconnect();
 }
示例#4
0
 void IrcClient_ConnectFailed( object sender, IrcErrorEventArgs e )
 {
     Reconnect();
 }
示例#5
0
 void gohaIrc_Error(object sender, IrcErrorEventArgs e)
 {
     SendMessage(new UbiMessage(String.Format("Goha IRC error: {0}", e.Error.Message), EndPoint.Gohatv, EndPoint.Error));
     gohaBW = new BGWorker(ConnectGohaIRC, null);
 }
示例#6
0
 void twitchIrc_Error(object sender, IrcErrorEventArgs e)
 {
     lock (lockTwitchConnect)
     {
         SendMessage(new UbiMessage(String.Format("Twitch IRC error: {0}", e.Error.Message), EndPoint.TwitchTV, EndPoint.Error));
     }
 }
示例#7
0
 /// <summary>
 /// Raises the <see cref="Error"/> event.
 /// </summary>
 /// <param name="e">The <see cref="IrcErrorEventArgs"/> instance containing the event data.</param>
 protected virtual void OnError(IrcErrorEventArgs e)
 {
     var handler = this.Error;
     if (handler != null)
         handler(this, e);
     else
         DebugUtilities.WriteEvent(e.Error.Source + " " + e.Error.Message + " " + e.Error.StackTrace);
 }
示例#8
0
 /// <summary>
 /// Raises the <see cref="ConnectFailed"/> event.
 /// </summary>
 /// <param name="e">The <see cref="IrcErrorEventArgs"/> instance containing the event data.</param>
 protected virtual void OnConnectFailed(IrcErrorEventArgs e)
 {
     var handler = this.ConnectFailed;
     if (handler != null)
         handler(this, e);
 }