public abstract class ChannelHandler<E extends Event,D extends ChannelDispatcher> extends Object implements Runnable
| Modifier and Type | Field and Description |
|---|---|
protected Charset |
charset |
protected D |
dispatcher |
protected EventFactory<E> |
eventFactory |
protected EventQueue<E> |
events |
protected SelectionKey |
key |
protected ComponentLog |
logger |
| Constructor and Description |
|---|
ChannelHandler(SelectionKey key,
D dispatcher,
Charset charset,
EventFactory<E> eventFactory,
BlockingQueue<E> events,
ComponentLog logger) |
protected final SelectionKey key
protected final D extends ChannelDispatcher dispatcher
protected final Charset charset
protected final EventFactory<E extends Event> eventFactory
protected final EventQueue<E extends Event> events
protected final ComponentLog logger
public ChannelHandler(SelectionKey key, D dispatcher, Charset charset, EventFactory<E> eventFactory, BlockingQueue<E> events, ComponentLog logger)
Copyright © 2019 Apache NiFi Project. All rights reserved.