org.glassfish.jersey.media.sse
Interface EventListener

All Known Implementing Classes:
EventSource

public interface EventListener

EventSource listener that can be registered to listen for newly received InboundEvent notifications.

Author:
Pavel Bucek (pavel.bucek at oracle.com)

Method Summary
 void onEvent(InboundEvent inboundEvent)
          Called when a new InboundEvent is received by an event source.
 

Method Detail

onEvent

void onEvent(InboundEvent inboundEvent)
Called when a new InboundEvent is received by an event source.

Parameters:
inboundEvent - received inbound event.


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.