public static class FM2SimRunControlMessage.Builder extends Sim0MQMessage.Builder<FM2SimRunControlMessage.Builder>
Copyright (c) 2016-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See Sim0MQ License.
messageId, messageStatus, messageTypeId, receiverId, senderId, simulationRunId
Constructor and Description |
---|
Builder()
Empty constructor.
|
setMessageId, setMessageStatus, setMessageTypeId, setReceiverId, setSenderId, setSimulationRunId
public final FM2SimRunControlMessage.Builder setRunDurationNumber(Number newRunDuration)
newRunDuration
- set runDurationpublic final FM2SimRunControlMessage.Builder setRunDuration(org.djunits.value.vdouble.scalar.Duration newRunDuration)
newRunDuration
- set runDurationpublic final FM2SimRunControlMessage.Builder setRunDurationFloat(org.djunits.value.vfloat.scalar.FloatDuration newRunDuration)
newRunDuration
- set runDurationpublic final FM2SimRunControlMessage.Builder setWarmupDurationNumber(Number newWarmupDuration)
newWarmupDuration
- set warmupDurationpublic final FM2SimRunControlMessage.Builder setWarmupDuration(org.djunits.value.vdouble.scalar.Duration newWarmupDuration)
newWarmupDuration
- set warmupDurationpublic final FM2SimRunControlMessage.Builder setWarmupDurationFloat(org.djunits.value.vfloat.scalar.FloatDuration newWarmupDuration)
newWarmupDuration
- set warmupDurationpublic final FM2SimRunControlMessage.Builder setOffsetTimeNumber(Number newOffsetTime)
newOffsetTime
- set offsetTimepublic final FM2SimRunControlMessage.Builder setOffsetTime(org.djunits.value.vdouble.scalar.Time newOffsetTime)
newOffsetTime
- set offsetTimepublic final FM2SimRunControlMessage.Builder setOffsetTimeFloat(org.djunits.value.vfloat.scalar.FloatTime newOffsetTime)
newOffsetTime
- set offsetTimepublic final FM2SimRunControlMessage.Builder setSpeed(double newSpeed)
newSpeed
- set speedpublic final FM2SimRunControlMessage.Builder setNumberReplications(int newNumberReplications)
newNumberReplications
- set numberReplicationspublic final FM2SimRunControlMessage.Builder setStreamMap(Map<Object,Long> newStreamMap)
newStreamMap
- set streamMappublic FM2SimRunControlMessage build() throws Sim0MQException, NullPointerException
build
in class Sim0MQMessage.Builder<FM2SimRunControlMessage.Builder>
Sim0MQException
- on unknown data typeNullPointerException
- when one of the parameters is nullCopyright © 2016–2019 Delft University of Technology. All rights reserved.