public enum MeshBuildMode extends Enum<MeshBuildMode>
| Enum Constant and Description |
|---|
MESH
In this mode all nodes are organized into mesh, and each node is responsible for messages propagation
|
PLAIN
In this mode all nodes are connected to the master, and master is responsible for messages propagation
|
| Modifier and Type | Method and Description |
|---|---|
static MeshBuildMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MeshBuildMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MeshBuildMode PLAIN
public static final MeshBuildMode MESH
public static MeshBuildMode[] values()
for (MeshBuildMode c : MeshBuildMode.values()) System.out.println(c);
public static MeshBuildMode 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 © 2021. All rights reserved.