private void ircClient_Error(object sender, IrcErrorEventArgs e) { Debug.Print("IrcClient Error: " + e.Error.Message); Reconnect(); }
void IrcClient_Error( object sender, IrcErrorEventArgs e ) { Reconnect(); }
private void ircClient_ConnectFailed(object sender, IrcErrorEventArgs e) { Debug.Print("IrcClient Connection Failed: " + e.Error.Message); Reconnect(); }
void IrcClient_ConnectFailed( object sender, IrcErrorEventArgs e ) { Reconnect(); }
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); }
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)); } }
/// <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); }
/// <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); }