示例#1
0
 private static void socketClient_ClientException(object sender, TExceptionEventArgs e)
 {
     if (socketExceptionQueue.Count < 10)
     {
         socketExceptionQueue.Enqueue("[" + DateTime.Now.ToString("HH:mm:ss") + "] Client:" + e.ExceptionMessage);
     }
 }
示例#2
0
 private void SocketServer_ShowDebugMessage(object sender, TExceptionEventArgs e)
 {
     this.AddInfo("debug message: " + e.ExceptionMessage);
 }
示例#3
0
 private void SocketServer_DatabaseException(object sender, TExceptionEventArgs e)
 {
     //this.tb_DatabaseExceptionCount.Text = _socketServer.DatabaseExceptionCount.ToString();
     this.AddInfo("operate database exception: " + e.ExceptionMessage);
 }
示例#4
0
 private void SocketServer_Exception(object sender, TExceptionEventArgs e)
 {
     //this.tb_ServerExceptionCount.Text = _socketServer.ServerExceptionCount.ToString();
     this.AddInfo("Server exception: " + e.ExceptionMessage);
 }
示例#5
0
 /// <summary>
 /// Handles the ExceptionOccurred event of the rtspServer control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="Simon.SharpStreaming.Core.TExceptionEventArgs"/> instance containing the event data.</param>
 void rtspServer_ExceptionOccurred(object sender, TExceptionEventArgs e)
 {
     AddServerInfo("An exception occurred: " + e.ExceptionMessage);
 }
 private void SocketServer_ShowDebugMessage(object sender, TExceptionEventArgs e)
 {
     this.AddInfo("debug message: " + e.ExceptionMessage);
 }
 private void SocketServer_Exception(object sender, TExceptionEventArgs e)
 {
     //this.tb_ServerExceptionCount.Text = _socketServer.ServerExceptionCount.ToString();
     this.AddInfo("Server exception: " + e.ExceptionMessage);
 }
 private void SocketServer_DatabaseOpenException(object sender, TExceptionEventArgs e)
 {
     //this.tb_DatabaseExceptionCount.Text = _socketServer.DatabaseExceptionCount.ToString();
     this.AddInfo("open database exception: " + e.ExceptionMessage);
 }
示例#9
0
 /// <summary>
 /// Handles the ExceptionOccurred event of the rtspClient control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="Simon.SharpStreaming.Core.TExceptionEventArgs"/> instance containing the event data.</param>
 void rtspClient_ExceptionOccurred(object sender, TExceptionEventArgs e)
 {
     Utils.OutputMessage(false, MsgLevel.Error, "ClientForm -- rtspClientExceptionOccurred", e.ExceptionMessage);
 }