mot.protocol

RequestFrame

case class RequestFrame(requestId: Int, flowId: Int, timeout: Int, attributes: Seq[(String, ByteArray)], bodyLength: Int, body: Seq[ByteArray]) extends Frame with AttributesSupport with BodySupport with Product with Serializable

Frame sent by clients. Represents a respondible message.

 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
╭───────────────────────────────────────────────────────────────╮
╎                                                               ╎
╎                     Header (see Frame)                        ╎
╎                                                               ╎
├─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┤
│0│                   Request ID (31 bits)                      │
├─┼─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┤
│0│                    Flow ID (31 bits)                        │
├─┼─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┤
│0│                    Timeout (31 bits)                        │
├─┴─────────────────────────────────────────────────────────────┤
╎                                                               ╎
╎              Attributes (see AttributeSupport)                ╎
╎                                                               ╎
├─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┤
╎                                                               ╎
╎                    Body (see BodySupport)                     ╎
╎                                                               ╎
╰───────────────────────────────────────────────────────────────╯

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RequestFrame
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. BodySupport
  7. AttributesSupport
  8. Frame
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RequestFrame(requestId: Int, flowId: Int, timeout: Int, attributes: Seq[(String, ByteArray)], bodyLength: Int, body: Seq[ByteArray])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val attributes: Seq[(String, ByteArray)]

    Definition Classes
    RequestFrameAttributesSupport
  8. def attributesLength(): Int

    Definition Classes
    AttributesSupport
  9. val body: Seq[ByteArray]

    Definition Classes
    RequestFrameBodySupport
  10. val bodyLength: Int

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def dump(): String

    Definition Classes
    RequestFrameFrame
  13. def dumpAttributes(os: OutputStream): Unit

    Definition Classes
    AttributesSupport
  14. def dumpBody(os: OutputStream, maxLength: Int): Unit

    Definition Classes
    BodySupport
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. val flowId: Int

  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. val length: Int

    Definition Classes
    RequestFrameFrame
  21. def messageType: Byte

    Definition Classes
    RequestFrameFrame
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. val requestId: Int

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. val timeout: Int

  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def write(writeBuffer: WriteBuffer): Unit

    Definition Classes
    Frame
  32. def writeAttributes(writeBuffer: WriteBuffer): Unit

    Definition Classes
    AttributesSupport
  33. def writeBody(writeBuffer: WriteBuffer): Unit

    Definition Classes
    BodySupport
  34. def writeSpecific(writeBuffer: WriteBuffer): Unit

    Definition Classes
    RequestFrameFrame

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BodySupport

Inherited from AttributesSupport

Inherited from Frame

Inherited from AnyRef

Inherited from Any

Ungrouped