|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisidia.simulation.SimulationConstants.RunningMode
public static final class SimulationConstants.RunningMode
This class handles constants relative to running mode.
Field Summary | |
---|---|
static int |
COMMUNICATION_AGENTS
The Constant COMMUNICATION_AGENTS. |
static int |
COMMUNICATION_MESSAGES
The Constant COMMUNICATION_MESSAGES. |
static int |
NETWORK_LOCAL
The Constant NETWORK_LOCAL. |
static int |
NETWORK_REMOTE
The Constant NETWORK_REMOTE. |
static int |
PROCESSES_FIXED
The Constant PROCESSES_FIXED. |
static int |
PROCESSES_MOBILE
The Constant PROCESSES_MOBILE. |
Constructor Summary | |
---|---|
SimulationConstants.RunningMode()
|
Method Summary | |
---|---|
static boolean |
agentsMode(int mode)
Checks if agents mode is active. |
static boolean |
fixedMode(int mode)
Checks if fixes processes mode is active. |
static boolean |
localMode(int mode)
Checks if local network mode is active. |
static boolean |
messagesMode(int mode)
Checks if messages mode is active. |
static boolean |
mobileMode(int mode)
Checks if mobile sensors mode is active. |
static boolean |
remoteMode(int mode)
Checks if remote network mode is active. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int COMMUNICATION_MESSAGES
public static final int COMMUNICATION_AGENTS
public static final int NETWORK_LOCAL
public static final int NETWORK_REMOTE
public static final int PROCESSES_FIXED
public static final int PROCESSES_MOBILE
Constructor Detail |
---|
public SimulationConstants.RunningMode()
Method Detail |
---|
public static boolean messagesMode(int mode)
mode
- the mode
public static boolean agentsMode(int mode)
mode
- the mode
public static boolean localMode(int mode)
mode
- the mode
public static boolean remoteMode(int mode)
mode
- the mode
public static boolean fixedMode(int mode)
mode
- the mode
public static boolean mobileMode(int mode)
mode
- the mode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |