I
- the type of the message IDT
- the type of the object that wraps a messageC
- the type of the message contextpublic interface MessageEnvelope<I extends com.google.protobuf.Message,T,C extends com.google.protobuf.Message>
Modifier and Type | Method and Description |
---|---|
io.spine.core.Origin |
asMessageOrigin()
Packs this message as an
Origin of an event. |
C |
context()
Obtains the context of the message.
|
I |
id()
The ID of the message.
|
com.google.protobuf.Message |
message()
Obtains the message.
|
io.spine.type.MessageClass |
messageClass()
Obtains the message class.
|
T |
outerObject()
Obtains the object which contains the message of interest.
|
I id()
T outerObject()
com.google.protobuf.Message message()
io.spine.type.MessageClass messageClass()
C context()
io.spine.core.Origin asMessageOrigin()
Origin
of an event.