mot.protocol

RequestFrame

Related Docs: object RequestFrame | package protocol

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: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

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

    Definition Classes
    RequestFrameAttributesSupport
  6. def attributesLength(): Int

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

    Definition Classes
    RequestFrameBodySupport
  8. val bodyLength: Int

  9. def clone(): AnyRef

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

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

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

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

    Definition Classes
    AnyRef
  14. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  18. val length: Int

    Definition Classes
    RequestFrameFrame
  19. def messageType: Byte

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

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

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

    Definition Classes
    AnyRef
  23. val requestId: Int

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

    Definition Classes
    AnyRef
  25. val timeout: Int

  26. final def wait(): Unit

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

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

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

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

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

    Definition Classes
    BodySupport
  32. 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