Signal
public interface Signal<I extends SignalId, M extends KnownMessage, C extends MessageContext> implements WithActor, WithTime
A message which can be dispatched and cause other messages.
A signal message travels through the system just like an electronic signal travels through a neural network. It cases the system to change its state either directly or by exciting other signals.
A signal message may originate from outside the system, from a user, or from a policy implemented in the system.
Parameters
<I>
the type of the signal identifier
<M>
the type of the enclosed messages
<C>
the type of the message context
Functions
Link copied to clipboard
Obtains this signal as an origin of other signals.
Link copied to clipboard
Obtains the unpacked form of the enclosed message.
Link copied to clipboard
Obtains the type URL of the enclosed message.
Link copied to clipboard
Obtains the context of the enclosed message.
Link copied to clipboard
Obtains the packed version of the enclosed message.
Link copied to clipboard
Creates the builder for identity of the message, by supplying the ID and the type URL of the enclosed message.
Link copied to clipboard
Obtains the ID of the first message in the chain.
Inherited functions
Link copied to clipboard
The context of the associated user.
Link copied to clipboard
Obtains the local date and time of the instant associated time point}.