Beispiel #1
0
        protected AvlTcpErrorArgs OnErrorOccured(string imei, Exception exception)
        {
            var errorArgs = new AvlTcpErrorArgs(imei, exception);
            if (this.ErrorOccured != null)
                this.ErrorOccured(this, errorArgs);

            return errorArgs;
        }
Beispiel #2
0
        protected AvlTcpErrorArgs OnErrorOccured(string imei, Exception exception)
        {
            var errorArgs = new AvlTcpErrorArgs(imei, exception);

            if (this.ErrorOccured != null)
            {
                this.ErrorOccured(this, errorArgs);
            }

            return(errorArgs);
        }
Beispiel #3
0
 static void listener_ErrorOccured(object sender, AvlTcpErrorArgs e)
 {
     Console.WriteLine("Error: {0}", e.Exception);
 }