toggle menu
Wow
3.16.8
jvm
switch theme
search in API
wow-api
/
me.ahoo.wow.api.messaging
/
NamedMessage
Named
Message
interface
NamedMessage
<
SOURCE
:
NamedMessage
<
SOURCE
,
T
>
,
out
T
>
:
NamedBoundedContextMessage
<
SOURCE
,
T
>
,
Named
Inheritors
CommandMessage
DomainEvent
Members
Properties
body
Link copied to clipboard
abstract
val
body
:
T
context
Name
Link copied to clipboard
abstract
val
contextName
:
String
create
Time
Link copied to clipboard
abstract
val
createTime
:
Long
header
Link copied to clipboard
abstract
val
header
:
Header
id
Link copied to clipboard
abstract
val
id
:
String
id.
is
Read
Only
Link copied to clipboard
open
val
isReadOnly
:
Boolean
name
Link copied to clipboard
abstract
val
name
:
String
Functions
is
Same
Bounded
Context
Link copied to clipboard
open
fun
isSameBoundedContext
(
other
:
NamedBoundedContext
)
:
Boolean
with
Header
Link copied to clipboard
open
fun
withHeader
(
additionalSource
:
Map
<
String
,
String
>
)
:
SOURCE
合并 header 并返回一个新的 Message.
open
fun
withHeader
(
key
:
String
,
value
:
String
)
:
SOURCE
with
Read
Only
Link copied to clipboard
open
fun
withReadOnly
(
)
:
SOURCE