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