Class DcpPipeline

java.lang.Object
com.couchbase.client.core.deps.io.netty.channel.ChannelHandlerAdapter
com.couchbase.client.core.deps.io.netty.channel.ChannelInboundHandlerAdapter
com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer<com.couchbase.client.core.deps.io.netty.channel.Channel>
com.couchbase.client.dcp.transport.netty.DcpPipeline
All Implemented Interfaces:
com.couchbase.client.core.deps.io.netty.channel.ChannelHandler, com.couchbase.client.core.deps.io.netty.channel.ChannelInboundHandler

public class DcpPipeline extends com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer<com.couchbase.client.core.deps.io.netty.channel.Channel>
Sets up the pipeline for the actual DCP communication channels.
Since:
1.0.0
Author:
Michael Nitschinger
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.couchbase.client.core.deps.io.netty.channel.ChannelHandler

    com.couchbase.client.core.deps.io.netty.channel.ChannelHandler.Sharable
  • Constructor Summary

    Constructors
    Constructor
    Description
    DcpPipeline(Client.Environment environment, DcpChannelControlHandler controlHandler, BucketConfigArbiter bucketConfigArbiter, DcpChannelMetrics metrics, DcpClientMetrics clientMetrics)
    Creates the pipeline.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    initChannel(com.couchbase.client.core.deps.io.netty.channel.Channel ch)
    Initializes the full pipeline with all handlers needed (some of them may remove themselves during steady state, like auth and feature negotiation).

    Methods inherited from class com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer

    channelRegistered, exceptionCaught, handlerAdded, handlerRemoved

    Methods inherited from class com.couchbase.client.core.deps.io.netty.channel.ChannelInboundHandlerAdapter

    channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered

    Methods inherited from class com.couchbase.client.core.deps.io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, isSharable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • initChannel

      protected void initChannel(com.couchbase.client.core.deps.io.netty.channel.Channel ch) throws Exception
      Initializes the full pipeline with all handlers needed (some of them may remove themselves during steady state, like auth and feature negotiation).
      Specified by:
      initChannel in class com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer<com.couchbase.client.core.deps.io.netty.channel.Channel>
      Throws:
      Exception