public class DcpChannelControlHandler extends Object implements ControlEventHandler
| Constructor and Description |
|---|
DcpChannelControlHandler(DcpChannel dcpChannel) |
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(ChannelFlowController flowController,
io.netty.buffer.ByteBuf buf)
Called every time when a control event happens that should be handled by
consumers of the
Client. |
public DcpChannelControlHandler(DcpChannel dcpChannel)
public void onEvent(ChannelFlowController flowController, io.netty.buffer.ByteBuf buf)
ControlEventHandlerClient.
Even if you are not doing anything with the events, make sure to release the buffer!!
onEvent in interface ControlEventHandlerflowController - the flow controller for the passed event.buf - the control event happening.Copyright © 2021 Couchbase, Inc.. All rights reserved.