Example #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="exporter"></param>
        /// <param name="stream"></param>
        /// <param name="isSSL"></param>
        /// <param name="newHost"></param>
        /// <param name="newPort"></param>
        /// <param name="callback"></param>
        public void BeginExport(ITrafficExporter exporter, Stream stream, string newHost, int newPort, AsyncCallback callback)
        {
            TVAsyncOperation thread = new TVAsyncOperation(Export, _exceptionMessageHandler, callback, callback);

            thread.Start(new object[4] {
                exporter, stream, newHost, newPort
            });
        }
Example #2
0
        public void BeginClear(bool shouldClearSource, AsyncCallback callback)
        {
            TVAsyncOperation openThread = new TVAsyncOperation(Clear, _exceptionMessageHandler, callback, callback);

            openThread.Start(shouldClearSource);
        }
Example #3
0
        public void BeginSaveTvf(string trafficViewerFilePath, AsyncCallback callback)
        {
            TVAsyncOperation openThread = new TVAsyncOperation(SaveTvf, _exceptionMessageHandler, callback, callback);

            openThread.Start(trafficViewerFilePath);
        }
Example #4
0
        /// <summary>
        /// Starts an asyncroneus import operation
        /// </summary>
        /// <param name="info"></param>
        /// <param name="callback"></param>
        public void BeginImport(ImportInfo info, AsyncCallback callback)
        {
            TVAsyncOperation openThread = new TVAsyncOperation(Import, _exceptionMessageHandler, callback, callback);

            openThread.Start(info);
        }
Example #5
0
        public void BeginOpenUnpackedTvf(string tempFolder, AsyncCallback callback)
        {
            TVAsyncOperation openThread = new TVAsyncOperation(OpenUnpackedTvf, _exceptionMessageHandler, callback, callback);

            openThread.Start(tempFolder);
        }