Class SessionReceiveMessage

    • Field Detail

      • consumerID

        protected long consumerID
      • deliveryCount

        protected int deliveryCount
    • Constructor Detail

      • SessionReceiveMessage

        public SessionReceiveMessage​(long consumerID,
                                     ICoreMessage message,
                                     int deliveryCount)
      • SessionReceiveMessage

        public SessionReceiveMessage​(CoreMessage message)
    • Method Detail

      • getConsumerID

        public long getConsumerID()
      • getDeliveryCount

        public int getDeliveryCount()
      • expectedEncodeSize

        public int expectedEncodeSize()
        Description copied from interface: Packet
        This will return the expected packet size for the encoding
        Returns:
      • receiveMessage

        protected void receiveMessage​(io.netty.buffer.ByteBuf buffer)