类 ProxyClientCnx
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
org.apache.pulsar.common.protocol.PulsarDecoder
org.apache.pulsar.common.protocol.PulsarHandler
org.apache.pulsar.client.impl.ClientCnx
org.apache.pulsar.proxy.server.ProxyClientCnx
- 所有已实现的接口:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class ProxyClientCnx
extends org.apache.pulsar.client.impl.ClientCnx
-
嵌套类概要
从类继承的嵌套类/接口 org.apache.pulsar.client.impl.ClientCnx
org.apache.pulsar.client.impl.ClientCnx.State从接口继承的嵌套类/接口 io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
字段概要
从类继承的字段 org.apache.pulsar.client.impl.ClientCnx
authentication, authenticationDataProvider, protocolVersion, proxyToTargetBrokerAddress, remoteHostName, state从类继承的字段 org.apache.pulsar.common.protocol.PulsarHandler
ctx从类继承的字段 org.apache.pulsar.common.protocol.PulsarDecoder
proxyMessage -
构造器概要
构造器构造器说明ProxyClientCnx(org.apache.pulsar.client.impl.conf.ClientConfigurationData conf, io.netty.channel.EventLoopGroup eventLoopGroup, String clientAuthRole, org.apache.pulsar.common.api.AuthData clientAuthData, String clientAuthMethod, int protocolVersion, boolean forwardClientAuthData, ProxyConnection proxyConnection) -
方法概要
修饰符和类型方法说明protected voidhandleAuthChallenge(org.apache.pulsar.common.api.proto.CommandAuthChallenge authChallenge) protected io.netty.buffer.ByteBuf从类继承的方法 org.apache.pulsar.client.impl.ClientCnx
channelActive, channelInactive, close, closeWithException, ctx, exceptionCaught, getAuthenticationDataProvider, getLastDisconnectedTimestamp, getMaxMessageSize, getPendingRequests, getPulsarClientException, handleAckResponse, handleActiveConsumerChange, handleAddPartitionToTxnResponse, handleAddSubscriptionToTxnResponse, handleCloseConsumer, handleCloseProducer, handleConnected, handleEndTxnOnPartitionResponse, handleEndTxnOnSubscriptionResponse, handleEndTxnResponse, handleError, handleGetLastMessageIdSuccess, handleGetOrCreateSchemaResponse, handleGetSchemaResponse, handleGetTopicsOfNamespaceSuccess, handleLookupResponse, handleMessage, handleNewTxnResponse, handlePartitionResponse, handleProducerSuccess, handleReachedEndOfTopic, handleSendError, handleSendReceipt, handleSuccess, handleTcClientConnectResponse, isHandshakeCompleted, isKnownException, newAckForReceipt, newAckForReceiptWithFuture, newGetTopicsOfNamespace, newLookup, registerTransactionBufferHandler, sendGetLastMessageId, sendGetOrCreateSchema, sendGetRawSchema, sendGetSchema从类继承的方法 org.apache.pulsar.common.protocol.PulsarHandler
cancelKeepAliveTask, getRemoteEndpointProtocolVersion, handlePing, handlePong, messageReceived, setRemoteEndpointProtocolVersion从类继承的方法 org.apache.pulsar.common.protocol.PulsarDecoder
channelRead, handleAck, handleAddPartitionToTxn, handleAddSubscriptionToTxn, handleAuthResponse, handleConnect, handleConsumerStats, handleConsumerStatsResponse, handleEndTxn, handleEndTxnOnPartition, handleEndTxnOnSubscription, handleFlow, handleGetLastMessageId, handleGetOrCreateSchema, handleGetSchema, handleGetTopicsOfNamespace, handleLookup, handleNewTxn, handlePartitionMetadataRequest, handleProducer, handleRedeliverUnacknowledged, handleSeek, handleSend, handleSubscribe, handleTcClientConnectRequest, handleUnsubscribe, interceptCommand从类继承的方法 io.netty.channel.ChannelInboundHandlerAdapter
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered从类继承的方法 io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
构造器详细资料
-
ProxyClientCnx
public ProxyClientCnx(org.apache.pulsar.client.impl.conf.ClientConfigurationData conf, io.netty.channel.EventLoopGroup eventLoopGroup, String clientAuthRole, org.apache.pulsar.common.api.AuthData clientAuthData, String clientAuthMethod, int protocolVersion, boolean forwardClientAuthData, ProxyConnection proxyConnection)
-
-
方法详细资料
-
newConnectCommand
- 覆盖:
newConnectCommand在类中org.apache.pulsar.client.impl.ClientCnx- 抛出:
Exception
-
handleAuthChallenge
protected void handleAuthChallenge(org.apache.pulsar.common.api.proto.CommandAuthChallenge authChallenge) - 覆盖:
handleAuthChallenge在类中org.apache.pulsar.client.impl.ClientCnx
-