Package org.glassfish.jersey.media.sse
Interface EventListener
-
- All Known Implementing Classes:
EventProcessor,EventSource
public interface EventListenerEventSourcelistener that can be registered to listen for newly receivedInboundEventnotifications.- Author:
- Pavel Bucek
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonEvent(InboundEvent inboundEvent)Invoked when an event is received.
-
-
-
Method Detail
-
onEvent
void onEvent(InboundEvent inboundEvent)
Invoked when an event is received.- Parameters:
inboundEvent- received event.
-
-