Uses of Class
org.sim0mq.Sim0MQException
Package
Description
Lightweight executable to start a federate on a local node as a (sub)process.
Message infrastructure for ZeroMQ.
Messages sent by the FederateStarter.
Messages sent by the FederationManager.
Heartbeat messages.
Messages sent by a model (or federate).
The coding for message types, unit types, and display types for units are stored here.
-
Uses of Sim0MQException in org.sim0mq.federatestarter
Modifier and TypeMethodDescriptionstatic void
Start listening on the given port for messages to start components.ModifierConstructorDescriptionFederateStarter
(int fsPort, Properties softwareProperties, int startPort, int endPort, boolean modelController) -
Uses of Sim0MQException in org.sim0mq.message
Modifier and TypeMethodDescriptionabstract Sim0MQMessage
Sim0MQMessage.Builder.build()
Build the object.abstract Sim0MQReply
Sim0MQReply.Builder.build()
static void
Sim0MQMessage.check
(Object[] fields, int expectedPayloadFields, String expectedMessageType, Object intendedReceiverId) Check the consistency of a message from an Object[] that was received.final byte[]
Sim0MQMessage.createByteArray()
Create a byte array of the fields.static Sim0MQMessage
Sim0MQMessage.decode
(byte[] bytes) Decode the message into an object array.static Object[]
Sim0MQMessage.decodeToArray
(byte[] bytes) Decode the message into an object array.static byte[]
Sim0MQMessage.encodeReplyUTF16
(String identity, boolean bigEndian, Object federationId, Object senderId, Object receiverId, Object messageTypeId, Object messageId, Object... content) Encode the object array into a reply message.static byte[]
Sim0MQMessage.encodeReplyUTF8
(String identity, boolean bigEndian, Object federationId, Object senderId, Object receiverId, Object messageTypeId, Object messageId, Object... content) Encode the object array into a reply message.static byte[]
Sim0MQMessage.encodeUTF16
(boolean bigEndian, Object federationId, Object senderId, Object receiverId, Object messageTypeId, Object messageId, Object... content) Encode the object array into a message.static byte[]
Sim0MQMessage.encodeUTF8
(boolean bigEndian, Object federationId, Object senderId, Object receiverId, Object messageTypeId, Object messageId, Object... content) Encode the object array into a message.ModifierConstructorDescriptionSim0MQMessage
(boolean bigEndian, Object federationId, Object senderId, Object receiverId, Object messageTypeId, Object messageId, Object[] payload) Encode the object array into a message.Sim0MQMessage
(Object[] objectArray, int expectedNumberOfPayloadFields, Object expectedMessageTypeId) Encode the object array into a message.Sim0MQReply
(boolean bigEndian, Object federationId, Object senderId, Object receiverId, Object messageTypeId, Object messageId, Object[] payload) Encode the object array into a message.Sim0MQReply
(Object[] objectArray, int expectedNumberOfPayloadFields, Object expectedMessageTypeId) Encode the object array into a message. -
Uses of Sim0MQException in org.sim0mq.message.federatestarter
Modifier and TypeMethodDescriptionFS1RequestStatusMessage.Builder.build()
FS2FederateStartedMessage.Builder.build()
FS3KillModelMessage.Builder.build()
FS4FederateKilledMessage.Builder.build()
FS5FederatesKilledMessage.Builder.build()
ModifierConstructorDescriptionFS1RequestStatusMessage
(Object[] objectArray) FS1RequestStatusMessage
(Object federationId, Object senderId, Object receiverId, Object messageId) FS2FederateStartedMessage
(Object[] objectArray) FS2FederateStartedMessage
(Object federationId, Object senderId, Object receiverId, Object messageId, Object instanceId, String status, int modelPort, String error) FS3KillModelMessage
(Object[] objectArray) FS3KillModelMessage
(Object federationId, Object senderId, Object receiverId, Object messageId) FS4FederateKilledMessage
(Object[] objectArray) FS4FederateKilledMessage
(Object federationId, Object senderId, Object receiverId, Object messageId, Object instanceId, boolean status, String error) FS5FederatesKilledMessage
(Object[] objectArray) FS5FederatesKilledMessage
(Object federationId, Object senderId, Object receiverId, Object messageId, boolean status, String error) -
Uses of Sim0MQException in org.sim0mq.message.federationmanager
Modifier and TypeMethodDescriptionFM1StartFederateMessage.Builder.build()
FM2SimRunControlMessage.Builder.build()
FM3SetParameterMessage.Builder.build()
FM4SimStartMessage.Builder.build()
FM5RequestStatus.Builder.build()
FM6RequestStatisticsMessage.Builder.build()
FM7SimResetMessage.Builder.build()
FM8KillFederateMessage.Builder.build()
FM9KillAllMessage.Builder.build()
ModifierConstructorDescriptionFM1StartFederateMessage
(Object[] objectArray) FM1StartFederateMessage
(Object federationId, Object senderId, Object receiverId, Object messageId, String instanceId, String softwareCode, String argsBefore, String modelPath, String argsAfter, String workingDirectory, String redirectStdin, String redirectStdout, String redirectStderr, boolean deleteWorkingDirectory, boolean deleteStdout, boolean deleteStderr) FM2SimRunControlMessage
(Object[] objectArray) FM2SimRunControlMessage
(Object federationId, Object senderId, Object receiverId, Object messageId, Object runDuration, Object warmupDuration, Object offsetTime, double speed, int numberReplications, int numberRandomStreams, Map<Object, Long> streamMap) FM3SetParameterMessage
(Object[] objectArray) FM3SetParameterMessage
(Object federationId, Object senderId, Object receiverId, Object messageId, String parameterName, Object parameterValue) FM4SimStartMessage
(Object[] objectArray) FM4SimStartMessage
(Object federationId, Object senderId, Object receiverId, Object messageId) FM5RequestStatus
(Object[] objectArray) FM5RequestStatus
(Object federationId, Object senderId, Object receiverId, Object messageId) FM6RequestStatisticsMessage
(Object[] objectArray) FM6RequestStatisticsMessage
(Object federationId, Object senderId, Object receiverId, Object messageId, String variableName) FM7SimResetMessage
(Object[] objectArray) FM7SimResetMessage
(Object federationId, Object senderId, Object receiverId, Object messageId) FM8KillFederateMessage
(Object[] objectArray) FM8KillFederateMessage
(Object federationId, Object senderId, Object receiverId, Object messageId, Object instanceId) FM9KillAllMessage
(Object[] objectArray) FM9KillAllMessage
(Object federationId, Object senderId, Object receiverId, Object messageId) -
Uses of Sim0MQException in org.sim0mq.message.heartbeat
Modifier and TypeMethodDescriptionHB1HeartbeatMessage.Builder.build()
HB2AliveMessage.Builder.build()
ModifierConstructorDescriptionHB1HeartbeatMessage
(Object[] objectArray) HB1HeartbeatMessage
(Object federationId, Object senderId, Object receiverId, Object messageId) HB2AliveMessage
(Object[] objectArray) HB2AliveMessage
(Object federationId, Object senderId, Object receiverId, Object messageId, Object uniqueId) -
Uses of Sim0MQException in org.sim0mq.message.modelcontroller
Modifier and TypeMethodDescriptionMC1StatusMessage.Builder.build()
MC2AckNakMessage.Builder.build()
MC3StatisticsMessage.Builder.build()
MC4StatisticsErrorMessage.Builder.build()
ModifierConstructorDescriptionMC1StatusMessage
(Object[] objectArray) MC1StatusMessage
(Object federationId, Object senderId, Object receiverId, Object messageId, Object uniqueId, String status, String error) MC2AckNakMessage
(Object[] objectArray) MC2AckNakMessage
(Object federationId, Object senderId, Object receiverId, Object messageId, Object uniqueId, boolean status, String error) MC3StatisticsMessage
(Object[] objectArray) MC3StatisticsMessage
(Object federationId, Object senderId, Object receiverId, Object messageId, String variableName, Object variableValue) MC4StatisticsErrorMessage
(Object[] objectArray) MC4StatisticsErrorMessage
(Object federationId, Object senderId, Object receiverId, Object messageId, String variableName, String error) -
Uses of Sim0MQException in org.sim0mq.message.types
Modifier and TypeMethodDescriptionstatic NumberDuration
NumberDuration.instantiate
(Object value) Instantiate a NumberDuration based on a value.static NumberTime
NumberTime.instantiate
(Object value) Instantiate a NumberTime based on a value.