SignalEnvelope

public interface SignalEnvelope<I extends SignalId, T extends Signal<I, ?, C>, C extends MessageContext> implements MessageEnvelope<I, T, C>

A common interface for envelopes of signal messages.

Parameters

<I>

the type of the message ID

<T>

the type of the object that wraps a message

<C>

the type of the message context

Inheritors

Functions

Link copied to clipboard
public ActorContext actorContext()
Obtains an actor context for the wrapped message.
Link copied to clipboard
public Origin asMessageOrigin()
Packs this message as an Origin of an event.
Link copied to clipboard
public MessageId messageId()
Obtains the message ID of the signal.
Link copied to clipboard
public abstract TenantId tenantId()
Obtains ID of the tenant in which context the actor works.

Inherited functions

Link copied to clipboard
public abstract C context()
Obtains the context of the message.
Link copied to clipboard
public abstract I id()
The ID of the message.
Link copied to clipboard
public abstract Message message()
Obtains the message.
Link copied to clipboard
public abstract MessageClass messageClass()
Obtains the message class.
Link copied to clipboard
public abstract T outerObject()
Obtains the object which contains the message of interest.