public class StreamMonitorPlugin extends AbstractPlugin
| 限定符和类型 | 类和说明 |
|---|---|
(专用程序包) static class |
StreamMonitorPlugin.ConsoleColors |
(专用程序包) static class |
StreamMonitorPlugin.MonitorCompletionHandler<A> |
(专用程序包) class |
StreamMonitorPlugin.StreamMonitorAsynchronousSocketChannel |
| 限定符和类型 | 字段和说明 |
|---|---|
static java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> |
BLUE_HEX_INPUT_STREAM |
static java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> |
BLUE_TEXT_INPUT_STREAM |
private java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> |
inputStreamConsumer |
private static org.slf4j.Logger |
LOGGER |
private java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> |
outputStreamConsumer |
static java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> |
RED_HEX_OUTPUT_STREAM |
static java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> |
RED_TEXT_OUTPUT_STREAM |
| 构造器和说明 |
|---|
StreamMonitorPlugin() |
StreamMonitorPlugin(java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> inputStreamConsumer,
java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> outputStreamConsumer) |
| 限定符和类型 | 方法和说明 |
|---|---|
AsynchronousSocketChannel |
shouldAccept(AsynchronousSocketChannel channel) |
afterDecode, afterRead, afterWrite, beforeEncode, beforeProcess, beforeRead, beforeWrite, stateEventprivate static final org.slf4j.Logger LOGGER
public static final java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> BLUE_HEX_INPUT_STREAM
public static final java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> RED_HEX_OUTPUT_STREAM
public static final java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> BLUE_TEXT_INPUT_STREAM
public static final java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> RED_TEXT_OUTPUT_STREAM
private final java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> inputStreamConsumer
private final java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> outputStreamConsumer
public StreamMonitorPlugin()
public StreamMonitorPlugin(java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> inputStreamConsumer, java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> outputStreamConsumer)
public AsynchronousSocketChannel shouldAccept(AsynchronousSocketChannel channel)
shouldAccept 在接口中 MonitorshouldAccept 在类中 AbstractPluginCopyright © 2023. All rights reserved.