public class DirectProxyHandler.ProxyBackendHandler extends PulsarDecoder implements io.netty.util.concurrent.FutureListener<Void>
| Modifier and Type | Field and Description |
|---|---|
protected io.netty.channel.ChannelHandlerContext |
ctx |
proxyMessage| Constructor and Description |
|---|
ProxyBackendHandler(ProxyConfiguration config,
int protocolVersion) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
protected void |
handleAuthChallenge(CommandAuthChallenge authChallenge) |
protected void |
handleConnected(CommandConnected connected) |
protected void |
messageReceived() |
void |
operationComplete(io.netty.util.concurrent.Future<Void> future) |
void |
setRemoteHostName(String remoteHostName) |
handleAck, handleAckResponse, handleActiveConsumerChange, handleAddPartitionToTxn, handleAddPartitionToTxnResponse, handleAddSubscriptionToTxn, handleAddSubscriptionToTxnResponse, handleAuthResponse, handleCloseConsumer, handleCloseProducer, handleConnect, handleConsumerStats, handleConsumerStatsResponse, handleEndTxn, handleEndTxnOnPartition, handleEndTxnOnPartitionResponse, handleEndTxnOnSubscription, handleEndTxnOnSubscriptionResponse, handleEndTxnResponse, handleError, handleFlow, handleGetLastMessageId, handleGetLastMessageIdSuccess, handleGetOrCreateSchema, handleGetOrCreateSchemaResponse, handleGetSchema, handleGetSchemaResponse, handleGetTopicsOfNamespace, handleGetTopicsOfNamespaceSuccess, handleLookup, handleLookupResponse, handleMessage, handleNewTxn, handleNewTxnResponse, handlePartitionMetadataRequest, handlePartitionResponse, handlePing, handlePong, handleProducer, handleProducerSuccess, handleReachedEndOfTopic, handleRedeliverUnacknowledged, handleSeek, handleSend, handleSendError, handleSendReceipt, handleSubscribe, handleSuccess, handleUnsubscribe, interceptCommandchannelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic ProxyBackendHandler(ProxyConfiguration config, int protocolVersion)
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class PulsarDecoderExceptionprotected void handleAuthChallenge(CommandAuthChallenge authChallenge)
handleAuthChallenge in class PulsarDecoderpublic void operationComplete(io.netty.util.concurrent.Future<Void> future) throws Exception
protected void messageReceived()
messageReceived in class PulsarDecoderprotected void handleConnected(CommandConnected connected)
handleConnected in class PulsarDecoderpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterpublic void setRemoteHostName(String remoteHostName)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.