public enum SimulationMode extends Enum<SimulationMode>
| Enum Constant and Description |
|---|
DC
In this mode the simualtor works with an embedded toop-commander that
provides a CLI and a /to-dc endpoint where interaction of the simulator and
the DC takes place within the application.
|
DP
In this mode the simualtor works with an embedded toop-commander that
provides a /to-d- endpoint where interaction of the simulator and
the DP takes place within the application.
|
SOLE
In this mode the simulator does not contain commander and
this does not expose a DC or a DP endpoint, it solely simulates
the toop infrastructure
|
| Modifier and Type | Method and Description |
|---|---|
static SimulationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimulationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimulationMode SOLE
public static final SimulationMode DC
/to-dp when this mode is setpublic static final SimulationMode DP
public static SimulationMode[] values()
for (SimulationMode c : SimulationMode.values()) System.out.println(c);
public static SimulationMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019–2020 toop.eu. All rights reserved.