C# Class RecurringIntegrationApp.DataFlowNetworkStrategy

Abstraction for picking a strategy to process the data files. Implement this strategy class and plugin via the FileProcessor to automate file processing with a different state machine or with a different implementation logic.
显示文件 Open project: Microsoft/Dynamics-AX-Integration Class Usage Examples

Public Methods

Method Description
DataFlowNetworkStrategy ( DIXFRecurringJobsProcessor view ) : System

Ctor

Initialize ( ) : void

Initialize the data network

PostMessageAsync ( ClientDataMessage dataMessage ) : System.Threading.Tasks.Task

Post a message to start processing

TearDown ( ) : void

Tear down/cleanup the data flow network

Method Details

DataFlowNetworkStrategy() public method

Ctor
public DataFlowNetworkStrategy ( DIXFRecurringJobsProcessor view ) : System
view DIXFRecurringJobsProcessor Form object
return System

Initialize() public abstract method

Initialize the data network
public abstract Initialize ( ) : void
return void

PostMessageAsync() public method

Post a message to start processing
public PostMessageAsync ( ClientDataMessage dataMessage ) : System.Threading.Tasks.Task
dataMessage ClientDataMessage ClientDataMessage instance
return System.Threading.Tasks.Task

TearDown() public abstract method

Tear down/cleanup the data flow network
public abstract TearDown ( ) : void
return void