Table of Contents

Interface IEventProcessor

Namespace
nanoFramework.Runtime.Events
Assembly
nanoFramework.Runtime.Events.dll

Provides an interface to use as the basis of event processors.

public interface IEventProcessor
Extension Methods

Methods

ProcessEvent(uint, uint, DateTime)

Processes an event IEventProcessor should return null if it cannot process an event, in that case next processor will be given an opportunity.

BaseEvent ProcessEvent(uint data1, uint data2, DateTime time)

Parameters

data1 uint

Holds event-specific data.

data2 uint

Holds event-specific data.

time DateTime

Contains the time stamp for the event.

Returns

BaseEvent

The event that was processed, or null if the event can't be processed.

Remarks

In the event that the processor cannot process an event, IEventProcessor should return null. In that case next processor will be given an opportunity.