Interface EventReader.RawCallback
- Enclosing interface:
EventReader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface specifying operations to deal with an encapsulated raw
Event
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
upcast
(BiConsumer<EventReader.UpcastedCallback, Event> eventConsumer) Upcasts the encapsulated rawEvent
and maps resulting event stream to the given consumer.
-
Method Details
-
upcast
Upcasts the encapsulated rawEvent
and maps resulting event stream to the given consumer.- Parameters:
eventConsumer
- a bi-consumer called for each upcastedEvent
accompanied by anEventReader.UpcastedCallback
for further event processing, if needed- See Also:
-