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
Ordering
- Alphabetic
- By Inheritance
Inherited
- Frame
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Frame(_asJava: ext.stomp.Frame)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addHeader(key: String, value: String): Frame
Sets the headers of the frames.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asJava: ext.stomp.Frame
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getBody: Buffer
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCommand: Command
- def getDestination: String
- def getHeaders: Map[String, String]
- def getId: String
- def getTransaction: String
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setBody(value: Buffer): Frame
Sets the body of the frame.
-
def
setCommand(value: Command): Frame
Sets the frame command.
- def setDestination(value: String): Frame
- def setHeaders(value: Map[String, String]): Frame
- def setId(value: String): Frame
- def setTransaction(value: String): Frame
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )