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 TypeMethodDescriptionvoidupcast(BiConsumer<EventReader.UpcastedCallback, Event> eventConsumer) Upcasts the encapsulated rawEventand maps resulting event stream to the given consumer.
-
Method Details
-
upcast
Upcasts the encapsulated rawEventand maps resulting event stream to the given consumer.- Parameters:
eventConsumer- a bi-consumer called for each upcastedEventaccompanied by anEventReader.UpcastedCallbackfor further event processing, if needed- See Also:
-