public class NioChannelizer extends AbstractChannelizer
Channelizer that exposes an NIO-based Gremlin endpoint with a custom
protocol.authenticator, DEFAULT_SERIALIZERS, graphManager, GREMLIN_ENDPOINT, gremlinExecutor, gremlinExecutorService, PIPELINE_AUTHENTICATOR, PIPELINE_HTTP_REQUEST_DECODER, PIPELINE_HTTP_RESPONSE_ENCODER, PIPELINE_OP_EXECUTOR, PIPELINE_OP_SELECTOR, PIPELINE_REQUEST_HANDLER, PIPELINE_SSL, scheduledExecutorService, serializers, settings, sslContext| Constructor and Description |
|---|
NioChannelizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(ChannelPipeline pipeline)
This method is called from within
SocketChannel just after the SSL handler is put in the pipeline. |
void |
init(ServerGremlinExecutor serverGremlinExecutor)
This method is called just after the
Channelizer is initialized. |
createAuthenticationHandler, finalize, initChannelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateIdleDetectionMessage, supportsIdleMonitorpublic void init(ServerGremlinExecutor serverGremlinExecutor)
ChannelizerChannelizer is initialized.init in interface Channelizerinit in class AbstractChannelizerpublic void configure(ChannelPipeline pipeline)
AbstractChannelizerSocketChannel just after the SSL handler is put in the pipeline.
Modify the pipeline as needed here.configure in class AbstractChannelizerCopyright © 2013–2019 Apache Software Foundation. All rights reserved.