public abstract class ESystemMessage extends EMessage implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ESystemMessage.Builder<M extends ESystemMessage,B extends ESystemMessage.Builder<M,?>>
Base class for all
ESystemMessage builders. |
EMessage.MessageType| Modifier and Type | Field and Description |
|---|---|
static String |
SYSTEM_SUBJECT
All system messages use the same subject: "/eBus".
|
MAX_FIELDS| Modifier | Constructor and Description |
|---|---|
protected |
ESystemMessage()
Deprecated.
use
ESystemMessage(ESystemMessage.Builder) in the
future. |
protected |
ESystemMessage(ESystemMessage.Builder<?,?> builder)
Creates a new system message based on the given message
builder.
|
protected |
ESystemMessage(String subject,
long timestamp)
Deprecated.
use
ESystemMessage(ESystemMessage.Builder) in the
future. |
public static final String SYSTEM_SUBJECT
@Deprecated protected ESystemMessage() throws IllegalArgumentException
ESystemMessage(ESystemMessage.Builder) in the
future./eBus subject, and the current
time.IllegalArgumentExceptionESystemMessage(String, long)@Deprecated protected ESystemMessage(String subject, long timestamp) throws IllegalArgumentException
ESystemMessage(ESystemMessage.Builder) in the
future.subject - the required message subject.timestamp - the message timestamp in Java millisecond
epoch time.IllegalArgumentException - if subject is either of null or empty.protected ESystemMessage(ESystemMessage.Builder<?,?> builder)
builder is guaranteed to contain a valid
message configuration at this point.builder - contains the eBus message configuration.Copyright © 2019. All rights reserved.