public class DirectProxyHandler.ProxyBackendHandler extends org.apache.pulsar.common.protocol.PulsarDecoder implements io.netty.util.concurrent.FutureListener<Void>
| 限定符和类型 | 字段和说明 |
|---|---|
protected io.netty.channel.ChannelHandlerContext |
ctx |
| 构造器和说明 |
|---|
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(org.apache.pulsar.common.api.proto.PulsarApi.CommandAuthChallenge authChallenge) |
protected void |
handleConnected(org.apache.pulsar.common.api.proto.PulsarApi.CommandConnected connected) |
protected void |
messageReceived() |
void |
operationComplete(io.netty.util.concurrent.Future<Void> future) |
void |
setRemoteHostName(String remoteHostName) |
handleAck, handleActiveConsumerChange, handleAuthResponse, handleCloseConsumer, handleCloseProducer, handleConnect, handleConsumerStats, handleConsumerStatsResponse, handleError, handleFlow, handleGetLastMessageId, handleGetLastMessageIdSuccess, handleGetSchema, handleGetSchemaResponse, handleGetTopicsOfNamespace, handleGetTopicsOfNamespaceSuccess, handleLookup, handleLookupResponse, handleMessage, handlePartitionMetadataRequest, handlePartitionResponse, handlePing, handlePong, handleProducer, handleProducerSuccess, handleReachedEndOfTopic, handleRedeliverUnacknowledged, handleSeek, handleSend, handleSendError, handleSendReceipt, handleSubscribe, handleSuccess, handleUnsubscribechannelReadComplete, 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 在类中 org.apache.pulsar.common.protocol.PulsarDecoderExceptionprotected void handleAuthChallenge(org.apache.pulsar.common.api.proto.PulsarApi.CommandAuthChallenge authChallenge)
public void operationComplete(io.netty.util.concurrent.Future<Void> future) throws Exception
protected void messageReceived()
protected void handleConnected(org.apache.pulsar.common.api.proto.PulsarApi.CommandConnected connected)
public 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–2019 Apache Software Foundation. All rights reserved.