public class ProxyConnection extends org.apache.pulsar.common.protocol.PulsarHandler implements io.netty.util.concurrent.FutureListener<Void>
ctx, remoteAddress, remoteEndpointProtocolVersion| 构造器和说明 |
|---|
ProxyConnection(ProxyService proxyService,
io.netty.handler.ssl.SslContext sslCtx) |
cancelKeepAliveTask, getRemoteEndpointProtocolVersion, handlePing, handlePong, messageReceivedhandleAck, handleActiveConsumerChange, handleAuthChallenge, handleCloseConsumer, handleCloseProducer, handleConnected, handleConsumerStats, handleConsumerStatsResponse, handleError, handleFlow, handleGetLastMessageId, handleGetLastMessageIdSuccess, handleGetSchemaResponse, handleGetTopicsOfNamespaceSuccess, handleLookupResponse, handleMessage, handlePartitionResponse, handleProducer, handleProducerSuccess, handleReachedEndOfTopic, handleRedeliverUnacknowledged, handleSeek, handleSend, handleSendError, handleSendReceipt, handleSubscribe, handleSuccess, handleUnsubscribechannelReadComplete, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic ProxyConnection(ProxyService proxyService, io.netty.handler.ssl.SslContext sslCtx)
public void channelRegistered(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelRegistered 在接口中 io.netty.channel.ChannelInboundHandlerchannelRegistered 在类中 io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelUnregistered(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelUnregistered 在接口中 io.netty.channel.ChannelInboundHandlerchannelUnregistered 在类中 io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelActive 在接口中 io.netty.channel.ChannelInboundHandlerchannelActive 在类中 org.apache.pulsar.common.protocol.PulsarHandlerExceptionpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelInactive 在接口中 io.netty.channel.ChannelInboundHandlerchannelInactive 在类中 org.apache.pulsar.common.protocol.PulsarHandlerExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught 在接口中 io.netty.channel.ChannelHandlerexceptionCaught 在接口中 io.netty.channel.ChannelInboundHandlerexceptionCaught 在类中 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.PulsarDecoderExceptionpublic void operationComplete(io.netty.util.concurrent.Future<Void> future) throws Exception
protected void handleConnect(org.apache.pulsar.common.api.proto.PulsarApi.CommandConnect connect)
protected void handleAuthResponse(org.apache.pulsar.common.api.proto.PulsarApi.CommandAuthResponse authResponse)
protected void handlePartitionMetadataRequest(org.apache.pulsar.common.api.proto.PulsarApi.CommandPartitionedTopicMetadata partitionMetadata)
protected void handleGetTopicsOfNamespace(org.apache.pulsar.common.api.proto.PulsarApi.CommandGetTopicsOfNamespace commandGetTopicsOfNamespace)
protected void handleGetSchema(org.apache.pulsar.common.api.proto.PulsarApi.CommandGetSchema commandGetSchema)
protected void handleLookup(org.apache.pulsar.common.api.proto.PulsarApi.CommandLookupTopic lookup)
public Authentication getClientAuthentication()
protected boolean isHandshakeCompleted()
Copyright © 2017–2019 Apache Software Foundation. All rights reserved.