public class PassThroughHandler extends java.lang.Object implements EventStreamHandler
| Constructor and Description |
|---|
PassThroughHandler() |
| Modifier and Type | Method and Description |
|---|---|
EventStreamHandler |
getNext()
Returns the next handler in the handler chain.
|
void |
handle(java.lang.Object event,
boolean endOfBatch)
Process the event.
|
void |
setNext(EventStreamHandler next)
Sets the next handler in the handler chain.
|
public void handle(java.lang.Object event,
boolean endOfBatch)
EventStreamHandlerhandle in interface EventStreamHandlerevent - the event.endOfBatch - flag to indicate if this is the last event in a batch from the channelpublic void setNext(EventStreamHandler next)
EventStreamHandlersetNext in interface EventStreamHandlernext - the next EventStreamHandlerpublic EventStreamHandler getNext()
EventStreamHandlergetNext in interface EventStreamHandler