public abstract class PulsarDecoder
extends io.netty.channel.ChannelInboundHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
protected io.netty.handler.codec.haproxy.HAProxyMessage |
proxyMessage |
| Constructor and Description |
|---|
PulsarDecoder() |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterExceptionprotected abstract void messageReceived()
protected void interceptCommand(PulsarApi.BaseCommand command) throws InterceptException
InterceptExceptionprotected void handlePartitionMetadataRequest(PulsarApi.CommandPartitionedTopicMetadata response)
protected void handlePartitionResponse(PulsarApi.CommandPartitionedTopicMetadataResponse response)
protected void handleLookup(PulsarApi.CommandLookupTopic lookup)
protected void handleLookupResponse(PulsarApi.CommandLookupTopicResponse connection)
protected void handleConnect(PulsarApi.CommandConnect connect)
protected void handleConnected(PulsarApi.CommandConnected connected)
protected void handleSubscribe(PulsarApi.CommandSubscribe subscribe)
protected void handleProducer(PulsarApi.CommandProducer producer)
protected void handleSend(PulsarApi.CommandSend send, io.netty.buffer.ByteBuf headersAndPayload)
protected void handleSendReceipt(PulsarApi.CommandSendReceipt sendReceipt)
protected void handleSendError(PulsarApi.CommandSendError sendError)
protected void handleMessage(PulsarApi.CommandMessage cmdMessage, io.netty.buffer.ByteBuf headersAndPayload)
protected void handleAck(PulsarApi.CommandAck ack)
protected void handleAckResponse(PulsarApi.CommandAckResponse ackResponse)
protected void handleFlow(PulsarApi.CommandFlow flow)
protected void handleRedeliverUnacknowledged(PulsarApi.CommandRedeliverUnacknowledgedMessages redeliver)
protected void handleUnsubscribe(PulsarApi.CommandUnsubscribe unsubscribe)
protected void handleSeek(PulsarApi.CommandSeek seek)
protected void handleActiveConsumerChange(PulsarApi.CommandActiveConsumerChange change)
protected void handleSuccess(PulsarApi.CommandSuccess success)
protected void handleProducerSuccess(PulsarApi.CommandProducerSuccess success)
protected void handleError(PulsarApi.CommandError error)
protected void handleCloseProducer(PulsarApi.CommandCloseProducer closeProducer)
protected void handleCloseConsumer(PulsarApi.CommandCloseConsumer closeConsumer)
protected void handlePing(PulsarApi.CommandPing ping)
protected void handlePong(PulsarApi.CommandPong pong)
protected void handleConsumerStats(PulsarApi.CommandConsumerStats commandConsumerStats)
protected void handleConsumerStatsResponse(PulsarApi.CommandConsumerStatsResponse commandConsumerStatsResponse)
protected void handleReachedEndOfTopic(PulsarApi.CommandReachedEndOfTopic commandReachedEndOfTopic)
protected void handleGetLastMessageId(PulsarApi.CommandGetLastMessageId getLastMessageId)
protected void handleGetLastMessageIdSuccess(PulsarApi.CommandGetLastMessageIdResponse success)
protected void handleGetTopicsOfNamespace(PulsarApi.CommandGetTopicsOfNamespace commandGetTopicsOfNamespace)
protected void handleGetTopicsOfNamespaceSuccess(PulsarApi.CommandGetTopicsOfNamespaceResponse response)
protected void handleGetSchema(PulsarApi.CommandGetSchema commandGetSchema)
protected void handleGetSchemaResponse(PulsarApi.CommandGetSchemaResponse commandGetSchemaResponse)
protected void handleGetOrCreateSchema(PulsarApi.CommandGetOrCreateSchema commandGetOrCreateSchema)
protected void handleGetOrCreateSchemaResponse(PulsarApi.CommandGetOrCreateSchemaResponse commandGetOrCreateSchemaResponse)
protected void handleAuthResponse(PulsarApi.CommandAuthResponse commandAuthResponse)
protected void handleAuthChallenge(PulsarApi.CommandAuthChallenge commandAuthChallenge)
protected void handleNewTxn(PulsarApi.CommandNewTxn commandNewTxn)
protected void handleNewTxnResponse(PulsarApi.CommandNewTxnResponse commandNewTxnResponse)
protected void handleAddPartitionToTxn(PulsarApi.CommandAddPartitionToTxn commandAddPartitionToTxn)
protected void handleAddPartitionToTxnResponse(PulsarApi.CommandAddPartitionToTxnResponse commandAddPartitionToTxnResponse)
protected void handleAddSubscriptionToTxn(PulsarApi.CommandAddSubscriptionToTxn commandAddSubscriptionToTxn)
protected void handleAddSubscriptionToTxnResponse(PulsarApi.CommandAddSubscriptionToTxnResponse commandAddSubscriptionToTxnResponse)
protected void handleEndTxn(PulsarApi.CommandEndTxn commandEndTxn)
protected void handleEndTxnResponse(PulsarApi.CommandEndTxnResponse commandEndTxnResponse)
protected void handleEndTxnOnPartition(PulsarApi.CommandEndTxnOnPartition commandEndTxnOnPartition)
protected void handleEndTxnOnPartitionResponse(PulsarApi.CommandEndTxnOnPartitionResponse commandEndTxnOnPartitionResponse)
protected void handleEndTxnOnSubscription(PulsarApi.CommandEndTxnOnSubscription commandEndTxnOnSubscription)
protected void handleEndTxnOnSubscriptionResponse(PulsarApi.CommandEndTxnOnSubscriptionResponse commandEndTxnOnSubscriptionResponse)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.