toggle menu
Wow
3.16.8
jvm
switch theme
search in API
wow-api
/
me.ahoo.wow.api.messaging
/
NamedBoundedContextMessage
Named
Bounded
Context
Message
interface
NamedBoundedContextMessage
<
SOURCE
:
NamedBoundedContextMessage
<
SOURCE
,
T
>
,
out
T
>
:
Message
<
SOURCE
,
T
>
,
NamedBoundedContext
Inheritors
NamedMessage
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
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