Esempio n. 1
0
 void OnErrorReceived(object sender, TcpErrorEventArgs args)
 {
     wasConnected = false;
     Log.Galaxy("OnErrorReceived: " + args.Message);
     if (ChatSettings.Me.UseReconnection)
     {
         ConnectAsync(true);
     }
 }
Esempio n. 2
0
        void OnError(TcpErrorEventArgs args)
        {
//        Console.WriteLine("onError...");
            EventHandler <TcpErrorEventArgs> temp = ErrorOccurred;

            if (temp != null)
            {
                temp(this, args);
            }
        }
Esempio n. 3
0
 void m_serverHandler_OnCommandError(object sender, TcpErrorEventArgs e)
 {
     logViewer.WriteLine("An error occured while trying to read a command: " + e.Error.Message, MessageType.Error);
 }