public abstract class ENotificationMessage extends EMessage implements Serializable
ERequestMessage,
EReplyMessage,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
ENotificationMessage.Builder<M extends ENotificationMessage,B extends ENotificationMessage.Builder<M,?>>
Base class for all
ENotificationMessage builders. |
EMessage.MessageTypeMAX_FIELDS| Modifier | Constructor and Description |
|---|---|
protected |
ENotificationMessage(ENotificationMessage.Builder<?,?> builder)
Creates a new eBus notification message based on the given
message builder.
|
protected |
ENotificationMessage(String subject)
Creates an eBus notification message with the given
subject.
|
|
ENotificationMessage(String subject,
long timestamp)
Creates a new notification message instance for the given
subject and timestamp.
|
protected ENotificationMessage(String subject) throws IllegalArgumentException
This constructor is not deprecated since it is
needed by local messages designated by
@ELocalOnly annotation.
subject - the notification subject.IllegalArgumentException - if subject is either null or empty.public ENotificationMessage(String subject, long timestamp) throws IllegalArgumentException
This constructor is public due to automatic
message compilation and generic message field
requirements.
This constructor is not deprecated since it is
needed by local messages designated by
@ELocalOnly annotation.
subject - the message subject.timestamp - the message timestamp (Java millisecond
epoch time).IllegalArgumentException - if subject is either of null or empty.protected ENotificationMessage(ENotificationMessage.Builder<?,?> builder)
builder is guaranteed to contain
a valid message configuration at this point.builder - contains the eBus notification message
configuration.Copyright © 2019. All rights reserved.