public class FederateStarter extends Object
Copyright (c) 2016-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See Sim0MQ License.
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Process> |
runningProcessMap
the running programs this FederateStarter started.
|
(package private) Properties |
softwareProperties
the software properties.
|
| Constructor and Description |
|---|
FederateStarter(int fsPort,
Properties softwareProperties,
int startPort,
int endPort) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Start listening on the given port for messages to start components.
|
protected Map<String,Process> runningProcessMap
final Properties softwareProperties
public FederateStarter(int fsPort,
Properties softwareProperties,
int startPort,
int endPort)
throws Sim0MQException,
org.djutils.serialization.SerializationException
fsPort - the port number to listen onsoftwareProperties - the software properties to usestartPort - first port to be used for the models, inclusiveendPort - last port to be used for the models, inclusiveSim0MQException - on errororg.djutils.serialization.SerializationException - on errorpublic static void main(String[] args) throws Sim0MQException, org.djutils.serialization.SerializationException
args - the federation name and port on which the FederateStarter is listeningSim0MQException - on errororg.djutils.serialization.SerializationException - on errorCopyright © 2016–2019 Delft University of Technology. All rights reserved.