Class FM4SimStartMessage.Builder
java.lang.Object
org.sim0mq.message.Sim0MQMessage.Builder<FM4SimStartMessage.Builder>
org.sim0mq.message.federationmanager.FM4SimStartMessage.Builder
- Enclosing class:
- FM4SimStartMessage
public static class FM4SimStartMessage.Builder
extends Sim0MQMessage.Builder<FM4SimStartMessage.Builder>
Builder for the SimStart Message. Can string setters together, and call build() at the end to build the actual message.
Copyright (c) 2019-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See Sim0MQ License.
- Author:
- Alexander Verbraeck
-
Field Summary
Fields inherited from class org.sim0mq.message.Sim0MQMessage.Builder
federationId, messageId, messageTypeId, receiverId, senderId
-
Constructor Summary
-
Method Summary
Methods inherited from class org.sim0mq.message.Sim0MQMessage.Builder
setMessageId, setMessageTypeId, setReceiverId, setSenderId, setSimulationRunId
-
Constructor Details
-
Builder
public Builder()Empty constructor.
-
-
Method Details
-
build
Description copied from class:Sim0MQMessage.Builder
Build the object.- Specified by:
build
in classSim0MQMessage.Builder<FM4SimStartMessage.Builder>
- Returns:
- the message object from the builder.
- Throws:
Sim0MQException
- on unknown data typeNullPointerException
- when one of the parameters is null
-