Example #1
0
 private void OnTcpConnectFailed(object sender, TcpConnectFailedEventArgs e)
 {
     try
     {
         _productCache.AddTail(e);
     }
     catch (System.Exception)
     {
     }
 }
Example #2
0
 private void ShowTcpConnectFailedEvent(TcpConnectFailedEventArgs args)
 {
     try
     {
         this.Invoke(new Action(() =>
         {
         }));
     }
     catch (System.Exception ex)
     {
         this.ShowLog(ex.Message);
     }
 }
Example #3
0
 void IAleTunnelEventNotifier.NotifyTcpConnectFailure(TcpConnectFailedEventArgs args)
 {
     try
     {
         if (this.TcpConnectFailed != null)
         {
             this.TcpConnectFailed(null, args);
         }
     }
     catch (System.Exception)
     {
     }
 }
Example #4
0
        void IAleClientTunnelObserver.OnTcpConnectFailure(AleClientTunnel theConnection, string reason)
        {
            try
            {
                var args = new TcpConnectFailedEventArgs(theConnection.ID,
                                                         this.RsspEP.LocalID, theConnection.LocalEndPoint,
                                                         this.RsspEP.RemoteID, theConnection.RemoteEndPoint);

                this.TunnelEventNotifier.NotifyTcpConnectFailure(args);
            }
            catch (System.Exception ex)
            {
                LogUtility.Error(ex.ToString());
            }
        }