C# Class Semantria.Com.Workers.SemantriaWorker

Inheritance: IWorker
Exibir arquivo Open project: Semantria/semantria-sdk

Public Methods

Method Description
Initialize ( ) : bool
Process ( object state = null ) : void

Private Methods

Method Description
DataRetrievingWorker ( ) : void
DynamicToExpandoObject ( dynamic obj ) : dynamic
ExpandoObjectToDynamic ( dynamic obj ) : dynamic
OnErrorOccurred ( Exception ex ) : void
OnMethodExecuted ( Semantria.Com.Workers.RequestMetrics metrics ) : void
OnOutputReceived ( dynamic output, Semantria.Com.Workers.DocumentMetrics metrics ) : void
OnRecordQueued ( dynamic record, Semantria.Com.Workers.DocumentMetrics metrics ) : void
QueueBatch ( List batch ) : int
RetryBatch ( List batch ) : void
SemantriaWorker ( IDataProvider provider, string apiKey, string apiSecret, string configId ) : System
TransformRawBatch ( List rawBatch ) : List
UpdateTrackedList ( List batch, System.DateTime timestamp ) : void
_engine_Error ( object sender, ResponseErrorEventArgs ea ) : void

Method Details

Initialize() public method

public Initialize ( ) : bool
return bool

Process() public method

public Process ( object state = null ) : void
state object
return void