Interface EventSource


public interface EventSource

EventSource is the passive half of an event source connection, as defined by the EventSource Specification.

EventSource.Emitter is the active half of the connection and allows to operate on the connection.

EventSource allows applications to be notified of events happening on the connection; two events are being notified: the opening of the event source connection, where method onOpen(Emitter) is invoked, and the closing of the event source connection, where method onClose() is invoked.

See Also: