public class DcpPipeline
extends io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
| Constructor and Description |
|---|
DcpPipeline(Client.Environment environment,
DcpChannelControlHandler controlHandler,
BucketConfigArbiter bucketConfigArbiter,
DcpChannelMetrics metrics,
DcpClientMetrics clientMetrics)
Creates the pipeline.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
initChannel(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).
|
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedpublic DcpPipeline(Client.Environment environment, DcpChannelControlHandler controlHandler, BucketConfigArbiter bucketConfigArbiter, DcpChannelMetrics metrics, DcpClientMetrics clientMetrics)
environment - the stateful environment.controlHandler - the control event handler.protected void initChannel(io.netty.channel.Channel ch)
throws Exception
initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.Channel>ExceptionCopyright © 2021 Couchbase, Inc.. All rights reserved.