@ChannelHandler.Sharable public class OpSelectorHandler extends io.netty.handler.codec.MessageToMessageDecoder<RequestMessage>
Constructor and Description |
---|
OpSelectorHandler(Settings settings,
GraphManager graphManager,
GremlinExecutor gremlinExecutor,
ScheduledExecutorService scheduledExecutorService,
Channelizer channelizer) |
Modifier and Type | Method and Description |
---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
RequestMessage msg,
List<Object> objects) |
void |
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public OpSelectorHandler(Settings settings, GraphManager graphManager, GremlinExecutor gremlinExecutor, ScheduledExecutorService scheduledExecutorService, Channelizer channelizer)
protected void decode(io.netty.channel.ChannelHandlerContext ctx, RequestMessage msg, List<Object> objects) throws Exception
decode
in class io.netty.handler.codec.MessageToMessageDecoder<RequestMessage>
Exception
public void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt) throws Exception
userEventTriggered
in interface io.netty.channel.ChannelInboundHandler
userEventTriggered
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.