public class BeatsSocketChannelHandler<E extends Event<SocketChannel>> extends StandardSocketChannelHandler<E>
| Modifier and Type | Field and Description |
|---|---|
private BeatsDecoder |
decoder |
private BeatsFrameHandler<E> |
frameHandler |
charset, dispatcher, eventFactory, events, key, logger| Constructor and Description |
|---|
BeatsSocketChannelHandler(SelectionKey key,
AsyncChannelDispatcher dispatcher,
Charset charset,
EventFactory<E> eventFactory,
BlockingQueue<E> events,
ComponentLog logger) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getDelimiter() |
protected void |
processBuffer(SocketChannel socketChannel,
ByteBuffer socketBuffer) |
runprivate BeatsDecoder decoder
private BeatsFrameHandler<E extends Event<SocketChannel>> frameHandler
public BeatsSocketChannelHandler(SelectionKey key, AsyncChannelDispatcher dispatcher, Charset charset, EventFactory<E> eventFactory, BlockingQueue<E> events, ComponentLog logger)
protected void processBuffer(SocketChannel socketChannel, ByteBuffer socketBuffer) throws InterruptedException, IOException
processBuffer in class StandardSocketChannelHandler<E extends Event<SocketChannel>>InterruptedExceptionIOExceptionpublic byte getDelimiter()
getDelimiter in class StandardSocketChannelHandler<E extends Event<SocketChannel>>Copyright © 2021 Apache NiFi Project. All rights reserved.