Package org.glassfish.jersey.media.sse
Interface EventListener
- All Known Implementing Classes:
EventProcessor
,EventSource
public interface EventListener
EventSource
listener that can be registered to listen for
newly received InboundEvent
notifications.- Author:
- Pavel Bucek
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onEvent
(InboundEvent inboundEvent) Invoked when an event is received.
-
Method Details
-
onEvent
Invoked when an event is received.- Parameters:
inboundEvent
- received event.
-