public abstract class PulsarDecoder
extends io.netty.channel.ChannelInboundHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
static int |
MaxFrameSize |
static int |
MaxMessageSize |
| Constructor and Description |
|---|
PulsarDecoder() |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic static final int MaxMessageSize
public static final int MaxFrameSize
public 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 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 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)
Copyright © 2017–2018 Apache Software Foundation. All rights reserved.