mot

Message

Related Docs: object Message | package mot

final class Message extends AnyRef

A Mot message. This class represents Mot messages, either outgoing or incoming. In order to construct an instance, one of the factory methods of the companion object must be used.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Message
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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)]

    Attributes of the message.

  6. def body(): ByteArray

    Return the body as one byte array.

    Return the body as one byte array. If the message was received, this method returns the only part, without any copying; otherwise, the parts are copied into a single array.

  7. val bodyLength: Int

    Length of the body, in bytes.

  8. val bodyParts: Seq[ByteArray]

    Return the parts that form the body of the message.

    Return the parts that form the body of the message. The body is represented internally as a scala.collection.Seq of mot.util.ByteArray instances. In the wire, the arrays are concatenated and the receiving side cannot see the original segmentation. The segmentation of the body is useful for constructing message from various parts without having the copy to one contiguous array. The incoming messages always have one part.

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def firstAttribute(name: String): Option[ByteArray]

    Return the first attribute that has the name passed as an argument.

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

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

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

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  20. def stringBody(): String

    Return the body (originally a byte array) converted to a string using the mot.Message.defaultEncoding.

    Return the body (originally a byte array) converted to a string using the mot.Message.defaultEncoding. If the message was received, this method returns the only part, without any copying; otherwise, the parts are copied into a single array.

  21. def stringFirstAttribute(name: String): Option[String]

    Return the first attribute that has the name passed as an argument and then convert it to a string using mot.Message.defaultEncoding.

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

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    Message → AnyRef → Any
  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped