public class DCPEndpoint extends AbstractEndpoint
This endpoint defines the pipeline for DCP requests and responses.
| Constructor and Description |
|---|
DCPEndpoint(String hostname,
String bucket,
String password,
int port,
CoreEnvironment environment,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
customEndpointHandlers(ChannelPipeline pipeline)
Add custom endpoint handlers to the
ChannelPipeline. |
bucket, connect, disconnect, doConnect, environment, logIdent, notifyChannelInactive, password, responseBuffer, send, signalConfigReloadhasSubscribers, isState, state, states, transitionStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasSubscribers, isState, state, statespublic DCPEndpoint(String hostname, String bucket, String password, int port, CoreEnvironment environment, com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
protected void customEndpointHandlers(ChannelPipeline pipeline)
AbstractEndpointAdd custom endpoint handlers to the ChannelPipeline.
This method needs to be implemented by the actual endpoint implementations to add specific handlers to the pipeline depending on the endpoint type and intended behavior.
customEndpointHandlers in class AbstractEndpointpipeline - the pipeline where to add handlers.Copyright © 2016 Couchbase, Inc.. All rights reserved.