类 DirectProxyHandler.ProxyBackendHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- org.apache.pulsar.common.protocol.PulsarDecoder
-
- org.apache.pulsar.proxy.server.DirectProxyHandler.ProxyBackendHandler
-
- 所有已实现的接口:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler,io.netty.util.concurrent.FutureListener<java.lang.Void>,io.netty.util.concurrent.GenericFutureListener<io.netty.util.concurrent.Future<java.lang.Void>>,java.util.EventListener
- 封闭类:
- DirectProxyHandler
public class DirectProxyHandler.ProxyBackendHandler extends org.apache.pulsar.common.protocol.PulsarDecoder implements io.netty.util.concurrent.FutureListener<java.lang.Void>
-
-
字段概要
字段 修饰符和类型 字段 说明 protected io.netty.channel.ChannelHandlerContextctx
-
构造器概要
构造器 构造器 说明 ProxyBackendHandler(ProxyConfiguration config, int protocolVersion)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidchannelActive(io.netty.channel.ChannelHandlerContext ctx)voidchannelInactive(io.netty.channel.ChannelHandlerContext ctx)voidchannelRead(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object msg)voidexceptionCaught(io.netty.channel.ChannelHandlerContext ctx, java.lang.Throwable cause)protected voidhandleAuthChallenge(org.apache.pulsar.common.api.proto.CommandAuthChallenge authChallenge)protected voidhandleConnected(org.apache.pulsar.common.api.proto.CommandConnected connected)protected voidmessageReceived()voidoperationComplete(io.netty.util.concurrent.Future<java.lang.Void> future)voidsetRemoteHostName(java.lang.String remoteHostName)-
从类继承的方法 org.apache.pulsar.common.protocol.PulsarDecoder
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, interceptCommand
-
从类继承的方法 io.netty.channel.ChannelInboundHandlerAdapter
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
-
从类继承的方法 io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
构造器详细资料
-
ProxyBackendHandler
public ProxyBackendHandler(ProxyConfiguration config, int protocolVersion)
-
-
方法详细资料
-
channelActive
public void channelActive(io.netty.channel.ChannelHandlerContext ctx) throws java.lang.Exception- 指定者:
channelActive在接口中io.netty.channel.ChannelInboundHandler- 覆盖:
channelActive在类中io.netty.channel.ChannelInboundHandlerAdapter- 抛出:
java.lang.Exception
-
channelRead
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object msg) throws java.lang.Exception- 指定者:
channelRead在接口中io.netty.channel.ChannelInboundHandler- 覆盖:
channelRead在类中org.apache.pulsar.common.protocol.PulsarDecoder- 抛出:
java.lang.Exception
-
handleAuthChallenge
protected void handleAuthChallenge(org.apache.pulsar.common.api.proto.CommandAuthChallenge authChallenge)
- 覆盖:
handleAuthChallenge在类中org.apache.pulsar.common.protocol.PulsarDecoder
-
operationComplete
public void operationComplete(io.netty.util.concurrent.Future<java.lang.Void> future) throws java.lang.Exception- 指定者:
operationComplete在接口中io.netty.util.concurrent.GenericFutureListener<io.netty.util.concurrent.Future<java.lang.Void>>- 抛出:
java.lang.Exception
-
messageReceived
protected void messageReceived()
- 指定者:
messageReceived在类中org.apache.pulsar.common.protocol.PulsarDecoder
-
handleConnected
protected void handleConnected(org.apache.pulsar.common.api.proto.CommandConnected connected)
- 覆盖:
handleConnected在类中org.apache.pulsar.common.protocol.PulsarDecoder
-
channelInactive
public void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
- 指定者:
channelInactive在接口中io.netty.channel.ChannelInboundHandler- 覆盖:
channelInactive在类中io.netty.channel.ChannelInboundHandlerAdapter
-
exceptionCaught
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, java.lang.Throwable cause)- 指定者:
exceptionCaught在接口中io.netty.channel.ChannelHandler- 指定者:
exceptionCaught在接口中io.netty.channel.ChannelInboundHandler- 覆盖:
exceptionCaught在类中io.netty.channel.ChannelInboundHandlerAdapter
-
setRemoteHostName
public void setRemoteHostName(java.lang.String remoteHostName)
-
-