S - The concrete type of the state object.public interface EventLogger<S extends State>
| Modifier and Type | Method and Description |
|---|---|
void |
onEventHandlerError(Throwable error,
Event event,
S newState)
Called when an error occurs during the handling of an event.
|
void |
onEventHandlerResult(Event event,
S newState)
Called when an event handler returns a result.
|
void onEventHandlerError(Throwable error, Event event, S newState)
error - The error that occurred.event - The event that was handled.newState - The new state that was returned by the event handler.Copyright © 2016 Cooking Fox. All rights reserved.