Class AbstractChannelizer

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, Channelizer
    Direct Known Subclasses:
    HttpChannelizer, UnifiedChannelizer, WebSocketChannelizer, WsAndHttpChannelizer

    public abstract class AbstractChannelizer
    extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
    implements Channelizer
    A base implementation for the Channelizer which does a basic configuration of the pipeline, one that is generally common to virtually any Gremlin Server operation (i.e. where the server's purpose is to process Gremlin scripts).

    Implementers need only worry about determining how incoming data is converted to a RequestMessage and outgoing data is converted from a ResponseMessage to whatever expected format is needed by the pipeline.

    Author:
    Stephen Mallette (http://stephen.genoprime.com)