C# 클래스 RecurringIntegrationApp.DefaultDataFlowNetwork

Concrete strategy that implements the DataFlowNetworkStrategy. Models a data flow network that represents the client side runtime/ state machine to process data files as they are submitted and processed with a recurring AX7 DIXF endpoint
상속: DataFlowNetworkStrategy, IDisposable
파일 보기 프로젝트 열기: Microsoft/Dynamics-AX-Integration

Private Properties

프로퍼티 타입 설명
StatusPollerElapsed Task
getStatus Task
moveDataToTargetAsync Task
postExistingDataMessagesAsync Task
postProcessMessageAsync Task
processInprocessQueue Task
updateStatsAsync Task
writeStatusLogFileAsync Task

공개 메소드들

메소드 설명
DefaultDataFlowNetwork ( DIXFRecurringJobsProcessor formInstance ) : Microsoft.Dynamics.AX.Framework.Tools.DataManagement.Serialization
Dispose ( ) : void
Initialize ( ) : void
PostMessageAsync ( ClientDataMessage dataMessage ) : Task
TearDown ( ) : void
processInputQueue ( ) : Task

Processes input queue by dequeueing each item, moving them to the in process location and then enqueuing them to the in process queue.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

IDisposable impl

비공개 메소드들

메소드 설명
StatusPollerElapsed ( object sender, System.Timers.ElapsedEventArgs e ) : Task

Timer callback to invoke status check on enqueued messages

getStatus ( string messageId ) : Task

Get submitted job status using the Enqueue response - MessageId

moveDataToTargetAsync ( ClientDataMessage sourceDataMessage, ClientDataMessage targetDataMessage ) : Task
postExistingDataMessagesAsync ( ) : Task
postProcessMessageAsync ( DataJobStatusDetail jobStatusDetail, ClientDataMessage dataMessage ) : Task

Process message once status is received by moving document to the appropriate folder and writing out a log for the processed document

processInprocessQueue ( ) : Task
updateStatsAsync ( DataJobStatusDetail jobStatusDetail, StatType statusType, ClientDataMessage targetDataMessage, HttpResponseMessage httpResponse = null ) : Task
writeStatusLogFileAsync ( DataJobStatusDetail jobStatusDetail, ClientDataMessage targetDataMessage, HttpResponseMessage httpResponse ) : Task

Write the DataJobStatusDetail out as a status log for either the successful of failed processing of a document.

메소드 상세

DefaultDataFlowNetwork() 공개 메소드

public DefaultDataFlowNetwork ( DIXFRecurringJobsProcessor formInstance ) : Microsoft.Dynamics.AX.Framework.Tools.DataManagement.Serialization
formInstance DIXFRecurringJobsProcessor
리턴 Microsoft.Dynamics.AX.Framework.Tools.DataManagement.Serialization

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

IDisposable impl
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

PostMessageAsync() 공개 메소드

public PostMessageAsync ( ClientDataMessage dataMessage ) : Task
dataMessage ClientDataMessage
리턴 Task

TearDown() 공개 메소드

public TearDown ( ) : void
리턴 void

processInputQueue() 공개 메소드

Processes input queue by dequeueing each item, moving them to the in process location and then enqueuing them to the in process queue.
public processInputQueue ( ) : Task
리턴 Task