Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
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... | |
Event handler that dispatches an event to a specific handler based on an event class type
|
inline |
Constructs a multi-event handler
map | a map of class types to event handlers |
|
inline |
Invokes a specific handler for the event class type if it exists
value | The event to handle |
Implements Org.Apache.REEF.Wake.IEventHandler< T >.