Class DcpChannelControlHandler
java.lang.Object
com.couchbase.client.dcp.conductor.DcpChannelControlHandler
- All Implemented Interfaces:
ControlEventHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonEvent(ChannelFlowController flowController, com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buf) Called every time when a control event happens that should be handled by consumers of theClient.
-
Constructor Details
-
DcpChannelControlHandler
-
-
Method Details
-
onEvent
public void onEvent(ChannelFlowController flowController, com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buf) Description copied from interface:ControlEventHandlerCalled every time when a control event happens that should be handled by consumers of theClient.Even if you are not doing anything with the events, make sure to release the buffer!!
- Specified by:
onEventin interfaceControlEventHandler- Parameters:
flowController- the flow controller for the passed event.buf- the control event happening.
-