public class DirectProxyHandler.ProxyBackendHandler extends PulsarDecoder implements io.netty.util.concurrent.FutureListener<Void>
| 限定符和类型 | 字段和说明 |
|---|---|
protected io.netty.channel.ChannelHandlerContext |
ctx |
proxyMessage| 构造器和说明 |
|---|
ProxyBackendHandler(ProxyConfiguration config,
int protocolVersion) |
| 限定符和类型 | 方法和说明 |
|---|---|
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(PulsarApi.CommandAuthChallenge authChallenge) |
protected void |
handleConnected(PulsarApi.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 在接口中 io.netty.channel.ChannelInboundHandlerchannelActive 在类中 io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead 在接口中 io.netty.channel.ChannelInboundHandlerchannelRead 在类中 PulsarDecoderExceptionprotected void handleAuthChallenge(PulsarApi.CommandAuthChallenge authChallenge)
handleAuthChallenge 在类中 PulsarDecoderpublic void operationComplete(io.netty.util.concurrent.Future<Void> future) throws Exception
protected void messageReceived()
messageReceived 在类中 PulsarDecoderprotected void handleConnected(PulsarApi.CommandConnected connected)
handleConnected 在类中 PulsarDecoderpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
channelInactive 在接口中 io.netty.channel.ChannelInboundHandlerchannelInactive 在类中 io.netty.channel.ChannelInboundHandlerAdapterpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught 在接口中 io.netty.channel.ChannelHandlerexceptionCaught 在接口中 io.netty.channel.ChannelInboundHandlerexceptionCaught 在类中 io.netty.channel.ChannelInboundHandlerAdapterpublic void setRemoteHostName(String remoteHostName)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.