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