C# Класс RecurringIntegrationApp.FileProcessor

Class that triggers the file processing logic. Also acts as the context class that selects one of the data processing strategy implementations.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
FileProcessor ( DIXFRecurringJobsProcessor formInstance ) : System

Ctor

FileProcessor ( DIXFRecurringJobsProcessor formInstance, DataFlowNetworkStrategy dataFlowNetworkObj ) : System

Ctor that explicitly picks a data processing class

Stop ( ) : void

Stop data processing

Приватные методы

Метод Описание
Start ( ) : void
initDatasourceWatcher ( ) : void

Initialize the polling mechanism for the input location

sharedFolderFileCreatedHandler ( object source, FileSystemEventArgs e ) : void

File created handler for the folder location's file system watcher

Описание методов

FileProcessor() публичный Метод

Ctor
public FileProcessor ( DIXFRecurringJobsProcessor formInstance ) : System
formInstance DIXFRecurringJobsProcessor Form instance. Required for writing log messages (on UI thread)
Результат System

FileProcessor() публичный Метод

Ctor that explicitly picks a data processing class
public FileProcessor ( DIXFRecurringJobsProcessor formInstance, DataFlowNetworkStrategy dataFlowNetworkObj ) : System
formInstance DIXFRecurringJobsProcessor Form instance. Required for writing log messages (on UI thread)
dataFlowNetworkObj DataFlowNetworkStrategy Data processing class object
Результат System

Stop() публичный Метод

Stop data processing
public Stop ( ) : void
Результат void