Package | Description |
---|---|
org.sim0mq.message |
Message infrastructure for ZeroMQ.
|
Modifier and Type | Field and Description |
---|---|
protected MessageStatus |
Sim0MQMessage.Builder.messageStatus
Three different status messages are defined: 1 for new, 2 for change, and 3 for delete.
|
Modifier and Type | Method and Description |
---|---|
MessageStatus |
Sim0MQMessage.getMessageStatus() |
static MessageStatus |
MessageStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageStatus[] |
MessageStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static org.djutils.immutablecollections.ImmutableHashMap<Integer,MessageStatus> |
MessageStatus.getTypes()
make the types after initialization.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
SimulationMessage.encodeReplyUTF16(String identity,
Object simulationRunId,
Object senderId,
Object receiverId,
Object messageTypeId,
long messageId,
MessageStatus messageStatus,
Object... content)
Encode the object array into a reply message.
|
static byte[] |
SimulationMessage.encodeReplyUTF8(String identity,
Object simulationRunId,
Object senderId,
Object receiverId,
Object messageTypeId,
long messageId,
MessageStatus messageStatus,
Object... content)
Encode the object array into a reply message.
|
static byte[] |
SimulationMessage.encodeUTF16(Object simulationRunId,
Object senderId,
Object receiverId,
Object messageTypeId,
long messageId,
MessageStatus messageStatus,
Object... content)
Encode the object array into a message.
|
static byte[] |
SimulationMessage.encodeUTF8(Object simulationRunId,
Object senderId,
Object receiverId,
Object messageTypeId,
long messageId,
MessageStatus messageStatus,
Object... content)
Encode the object array into a message.
|
protected B |
Sim0MQMessage.Builder.setMessageStatus(MessageStatus newMessageStatus) |
Constructor and Description |
---|
Sim0MQMessage(Object simulationRunId,
Object senderId,
Object receiverId,
Object messageTypeId,
long messageId,
MessageStatus messageStatus)
Encode the object array into a message.
|
Sim0MQReply(Object simulationRunId,
Object senderId,
Object receiverId,
Object messageTypeId,
long messageId,
MessageStatus messageStatus,
long replyToId)
Encode the object array into a message.
|
Copyright © 2016–2019 Delft University of Technology. All rights reserved.