Class Channelizer.AbstractChannelizer

  • All Implemented Interfaces:,, Channelizer
    Direct Known Subclasses:
    Enclosing interface:

    public abstract static class Channelizer.AbstractChannelizer
    implements Channelizer
    Base implementation of the client side Channelizer.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void close​( channel)
      Called on Connection.closeAsync() to perform an Channelizer specific functions.
      abstract void configure​( pipeline)  
      void finalize​( pipeline)  
      void init​(org.apache.tinkerpop.gremlin.driver.Connection connection)
      Initializes the Channelizer.
      protected void initChannel​( socketChannel)  
      boolean supportsSsl()  
      • Methods inherited from class

        channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
      • Methods inherited from class

        channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
      • Methods inherited from class

        ensureNotSharable, isSharable
      • Methods inherited from interface

        handlerAdded, handlerRemoved
    • Constructor Detail

      • AbstractChannelizer

        public AbstractChannelizer()
    • Method Detail

      • supportsSsl

        public boolean supportsSsl()
      • configure

        public abstract void configure​( pipeline)
      • finalize

        public void finalize​( pipeline)
      • close

        public void close​( channel)
        Description copied from interface: Channelizer
        Called on Connection.closeAsync() to perform an Channelizer specific functions. Note that the Connection already calls Channel.close() so there is no need to call that method here. An implementation will typically use this method to send a Channelizer specific message to the server to notify of shutdown coming from the client side (e.g. a "close" websocket frame).
        Specified by:
        close in interface Channelizer
      • init

        public void init​(org.apache.tinkerpop.gremlin.driver.Connection connection)
        Description copied from interface: Channelizer
        Initializes the Channelizer. Called just after construction.
        Specified by:
        init in interface Channelizer
      • initChannel

        protected void initChannel​( socketChannel)
                            throws Exception
        Specified by:
        initChannel in class<>