Class CreateSessionResponseMessage

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

public class CreateSessionResponseMessage extends PacketImpl
  • Constructor Details

    • CreateSessionResponseMessage

      public CreateSessionResponseMessage(int serverVersion)
    • CreateSessionResponseMessage

      public CreateSessionResponseMessage()
  • Method Details

    • 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
    • getServerVersion

      public int getServerVersion()
    • encodeRest

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

      public void decodeRest(ActiveMQBuffer buffer)
      Overrides:
      decodeRest in class PacketImpl
    • 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
    • equals

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

      protected String getPacketString()
      Overrides:
      getPacketString in class PacketImpl