Packages

class Frame extends AnyRef

Represents a STOMP frame. STOMP frames are structured as follows. It starts by a command, followed by a set of headers. Then the frame may have a body and is finished by a 0 byte. This class represents this structure and provide access to the different parts.

This class is NOT thread-safe.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Frame
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Frame(_asJava: ext.stomp.Frame)

Value Members

  1. def addHeader(key: String, value: String): Frame

    Sets the headers of the frames.

  2. def asJava: ext.stomp.Frame
  3. def getBody: Buffer
  4. def getCommand: Command
  5. def getDestination: String
  6. def getHeaders: Map[String, String]
  7. def getId: String
  8. def getTransaction: String
  9. def setBody(value: Buffer): Frame

    Sets the body of the frame.

  10. def setCommand(value: Command): Frame

    Sets the frame command.

  11. def setDestination(value: String): Frame
  12. def setHeaders(value: Map[String, String]): Frame
  13. def setId(value: String): Frame
  14. def setTransaction(value: String): Frame