This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Wake.Impl.MultiEventHandler< T > Class Template Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Public Member Functions | List of all members
Org.Apache.REEF.Wake.Impl.MultiEventHandler< T > Class Template Reference

Event handler that dispatches an event to a specific handler based on an event class type More...

Inherits Org.Apache.REEF.Wake.IEventHandler< T >.

Public Member Functions

 MultiEventHandler (IDictionary< Type, IEventHandler< T >> map)
 Constructs a multi-event handler More...
 
void OnNext (T value)
 Invokes a specific handler for the event class type if it exists More...
 

Detailed Description

Event handler that dispatches an event to a specific handler based on an event class type

Constructor & Destructor Documentation

Org.Apache.REEF.Wake.Impl.MultiEventHandler< T >.MultiEventHandler ( IDictionary< Type, IEventHandler< T >>  map)
inline

Constructs a multi-event handler

Parameters
mapa map of class types to event handlers

Member Function Documentation

void Org.Apache.REEF.Wake.Impl.MultiEventHandler< T >.OnNext ( value)
inline

Invokes a specific handler for the event class type if it exists

Parameters
valueThe event to handle

Implements Org.Apache.REEF.Wake.IEventHandler< T >.


The documentation for this class was generated from the following file: