public interface EventStream
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(EventStreamHandler handler)
Adds a handler to the stream.
|
void |
addHandler(int index,
EventStreamHandler handler)
Adds a handler to the stream at the given index.
|
java.lang.Class<?> |
getEventType()
Returns the event type this stream processes.
|
EventStreamHandler |
getHeadHandler()
Returns the head handler for the stream.
|
EventStreamHandler |
getTailHandler()
Returns the tail handler for the stream.
|
java.lang.Class<?> getEventType()
EventStreamHandler getHeadHandler()
EventStreamHandler getTailHandler()
void addHandler(EventStreamHandler handler)
handler - the handler to addvoid addHandler(int index,
EventStreamHandler handler)
index - the location where to add the handlerhandler - the handler to add