Message

interface Message<SOURCE : Message<SOURCE, T>, out T> : Identifier

Messages are the nexus of collaboration.

Author

ahoo wang

Inheritors

Properties

Link copied to clipboard
abstract val body: T
Link copied to clipboard
abstract val createTime: Long
Link copied to clipboard
abstract val header: Header
Link copied to clipboard
abstract val id: String

id.

Link copied to clipboard

Functions

Link copied to clipboard
open fun withHeader(additionalSource: Map<String, String>): SOURCE

合并 header 并返回一个新的 Message.

open fun withHeader(key: String, value: String): SOURCE
Link copied to clipboard
open fun withReadOnly(): SOURCE