C# Class Microsoft.AzureCat.Samples.AlertClient.EventProcessor

Inheritance: IEventProcessor
Exibir arquivo Open project: paolosalvatori/servicefabriceventhubdemo

Public Methods

Method Description
CloseAsync ( PartitionContext context, CloseReason reason ) : System.Threading.Tasks.Task
EventProcessor ( EventProcessorFactoryConfiguration configuration ) : System
OpenAsync ( PartitionContext context ) : System.Threading.Tasks.Task
ProcessEventsAsync ( PartitionContext context, IEnumerable events ) : System.Threading.Tasks.Task

Private Methods

Method Description
DeserializeEventData ( EventData eventData ) : Alert

Method Details

CloseAsync() public method

public CloseAsync ( PartitionContext context, CloseReason reason ) : System.Threading.Tasks.Task
context PartitionContext
reason CloseReason
return System.Threading.Tasks.Task

EventProcessor() public method

public EventProcessor ( EventProcessorFactoryConfiguration configuration ) : System
configuration EventProcessorFactoryConfiguration
return System

OpenAsync() public method

public OpenAsync ( PartitionContext context ) : System.Threading.Tasks.Task
context PartitionContext
return System.Threading.Tasks.Task

ProcessEventsAsync() public method

public ProcessEventsAsync ( PartitionContext context, IEnumerable events ) : System.Threading.Tasks.Task
context PartitionContext
events IEnumerable
return System.Threading.Tasks.Task