| Package | Description |
|---|---|
| org.apache.nifi.processor.util.listen.dispatcher | |
| org.apache.nifi.processor.util.listen.handler.socket |
| Modifier and Type | Class and Description |
|---|---|
class |
SocketChannelDispatcher<E extends Event<SocketChannel>>
Accepts Socket connections on the given port and creates a handler for each connection to
be executed by a thread pool.
|
| Modifier and Type | Field and Description |
|---|---|
private ChannelHandlerFactory<E,AsyncChannelDispatcher> |
SocketChannelDispatcher.handlerFactory |
| Constructor and Description |
|---|
SocketChannelDispatcher(EventFactory<E> eventFactory,
ChannelHandlerFactory<E,AsyncChannelDispatcher> handlerFactory,
BlockingQueue<ByteBuffer> bufferPool,
BlockingQueue<E> events,
ComponentLog logger,
int maxConnections,
SSLContext sslContext,
Charset charset) |
SocketChannelDispatcher(EventFactory<E> eventFactory,
ChannelHandlerFactory<E,AsyncChannelDispatcher> handlerFactory,
BlockingQueue<ByteBuffer> bufferPool,
BlockingQueue<E> events,
ComponentLog logger,
int maxConnections,
SSLContext sslContext,
SslContextFactory.ClientAuth clientAuth,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
ChannelHandler<E,AsyncChannelDispatcher> |
SocketChannelHandlerFactory.createHandler(SelectionKey key,
AsyncChannelDispatcher dispatcher,
Charset charset,
EventFactory<E> eventFactory,
BlockingQueue<E> events,
ComponentLog logger) |
ChannelHandler<E,AsyncChannelDispatcher> |
SocketChannelHandlerFactory.createSSLHandler(SelectionKey key,
AsyncChannelDispatcher dispatcher,
Charset charset,
EventFactory<E> eventFactory,
BlockingQueue<E> events,
ComponentLog logger) |
| Modifier and Type | Method and Description |
|---|---|
ChannelHandler<E,AsyncChannelDispatcher> |
SocketChannelHandlerFactory.createHandler(SelectionKey key,
AsyncChannelDispatcher dispatcher,
Charset charset,
EventFactory<E> eventFactory,
BlockingQueue<E> events,
ComponentLog logger) |
ChannelHandler<E,AsyncChannelDispatcher> |
SocketChannelHandlerFactory.createSSLHandler(SelectionKey key,
AsyncChannelDispatcher dispatcher,
Charset charset,
EventFactory<E> eventFactory,
BlockingQueue<E> events,
ComponentLog logger) |
| Constructor and Description |
|---|
SocketChannelHandler(SelectionKey key,
AsyncChannelDispatcher dispatcher,
Charset charset,
EventFactory<E> eventFactory,
BlockingQueue<E> events,
ComponentLog logger) |
SSLSocketChannelHandler(SelectionKey key,
AsyncChannelDispatcher dispatcher,
Charset charset,
EventFactory<E> eventFactory,
BlockingQueue<E> events,
ComponentLog logger) |
StandardSocketChannelHandler(SelectionKey key,
AsyncChannelDispatcher dispatcher,
Charset charset,
EventFactory<E> eventFactory,
BlockingQueue<E> events,
ComponentLog logger) |
Copyright © 2019 Apache NiFi Project. All rights reserved.