public class HandlerUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
closeChannelWithReason(IoContext ioContext,
com.couchbase.client.core.deps.io.netty.channel.ChannelHandlerContext ctx,
ChannelClosedProactivelyEvent.Reason reason)
Proactively close this channel with the given reason.
|
public static void closeChannelWithReason(IoContext ioContext, com.couchbase.client.core.deps.io.netty.channel.ChannelHandlerContext ctx, ChannelClosedProactivelyEvent.Reason reason)
ioContext - the io context.ctx - the channel context.reason - the reason why the channel is closed.Copyright © 2024 Couchbase, Inc.. All rights reserved.