public class StreamMonitorPlugin<T> extends AbstractPlugin<T>
| 限定符和类型 | 字段和说明 |
|---|---|
static java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> |
BLUE_HEX_INPUT_STREAM |
static java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> |
BLUE_TEXT_INPUT_STREAM |
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) |
afterRead, afterWrite, beforeRead, beforeWrite, preProcess, stateEventpublic 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
public StreamMonitorPlugin()
public StreamMonitorPlugin(java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> inputStreamConsumer, java.util.function.BiConsumer<AsynchronousSocketChannel,byte[]> outputStreamConsumer)
public AsynchronousSocketChannel shouldAccept(AsynchronousSocketChannel channel)
shouldAccept 在接口中 NetMonitorshouldAccept 在类中 AbstractPlugin<T>Copyright © 2024. All rights reserved.