Interface EventSource.Emitter

All Known Implementing Classes:
EventSourceServlet.EventSourceEmitter
Enclosing interface:
EventSource

public static interface EventSource.Emitter

EventSource.Emitter is the active half of an event source connection, and allows applications to operate on the connection by sending events, data or comments, or by closing the connection.

An EventSource.Emitter instance will be created for each new event source connection.

EventSource.Emitter instances are fully thread safe and can be used from multiple threads.