Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.wlrt.ede
Interface EventSource

All Known Subinterfaces:
  Adapter, Processor, Stage, Statement, Stream

All Known Implementing Classes:
  com.bea.wlrt.ede.impl.AbstractEventSource

public interface EventSource

A StreamingEventSource emits streaming events to StreamingEventListeners.

See Also:
  `EventSink`

Method Summary
`void` | `addEventSink(EventSink listener)` Registers listeners to receive streaming events from this source.
`List` | `getEventSinks()` List all listeners currenly registered in this source
`void` | `removeEventSink(EventSink listener)` Removes listener from this source

Method Detail

### addEventSink

    public void addEventSink(EventSink listener)
                      throws TooManyListenersException

  Registers listeners to receive streaming events from this source.

  Parameters:
    `listener` - for this source
  Throws:
    TooManyListenersException - if source has already reached the maximum number of listeners it can handle.

### removeEventSink

    public void removeEventSink(EventSink listener)

  Removes listener from this source

  Parameters:
    `listener` - to be removed

### getEventSinks

    public List getEventSinks()

  List all listeners currenly registered in this source

  Returns:
    list of registered listeners.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD