Class ReattachSessionResponseMessage

java.lang.Object
org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.ReattachSessionResponseMessage
All Implemented Interfaces:
Packet

public class ReattachSessionResponseMessage extends PacketImpl
  • Constructor Details

    • ReattachSessionResponseMessage

      public ReattachSessionResponseMessage(int lastConfirmedCommandID, boolean reattached)
    • ReattachSessionResponseMessage

      public ReattachSessionResponseMessage()
  • Method Details

    • getLastConfirmedCommandID

      public int getLastConfirmedCommandID()
    • isReattached

      public boolean isReattached()
    • encodeRest

      public void encodeRest(ActiveMQBuffer buffer)
      Overrides:
      encodeRest in class PacketImpl
    • decodeRest

      public void decodeRest(ActiveMQBuffer buffer)
      Overrides:
      decodeRest in class PacketImpl
    • isResponse

      public boolean isResponse()
      Description copied from interface: Packet
      Returns true if this packet is being sent in response to a previously received packet.
      Specified by:
      isResponse in interface Packet
      Overrides:
      isResponse in class PacketImpl
      Returns:
      true if this packet is being sent in response to a previously received packet
    • isRequiresConfirmations

      public final boolean isRequiresConfirmations()
      Description copied from interface: Packet
      Returns true if a confirmation should be sent on receipt of this packet.
      Specified by:
      isRequiresConfirmations in interface Packet
      Overrides:
      isRequiresConfirmations in class PacketImpl
      Returns:
      true if a confirmation should be sent on receipt of this packet
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class PacketImpl
    • getPacketString

      protected String getPacketString()
      Overrides:
      getPacketString in class PacketImpl
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class PacketImpl