|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.simulate.Globals
This class contains as static manner all of the types and string representatations of them requireds for the simulator.
Field Summary | |
static int |
ALARMS
Maximum number of events to be processed by a simulator |
static int |
ERROR
Mode value: This mode is returned by the simulator always when the receiver of a message not exist in the actual network. |
static int |
FAIL
Event type: Node fails. |
static int |
JOIN
Event type: Adding a new node to the network. |
static int |
LEAVE
Event type: Node leaving network. |
static int |
LOOKUP
Event type: Node lookup. |
Constructor Summary | |
Globals()
|
Method Summary | |
static java.lang.String |
modeToString(int mode)
Returns a string representation of each of event mode and RouteMessage mode. |
static java.lang.String |
typeToString(int type)
Returns a string representation of each of event type and RouteMessage mode. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int ALARMS
public static final int JOIN
public static final int LEAVE
public static final int LOOKUP
public static final int FAIL
public static final int ERROR
Constructor Detail |
public Globals()
Method Detail |
public static final java.lang.String typeToString(int type)
type
- Type of the RouteMessage to get its
String representation.
public static final java.lang.String modeToString(int mode)
mode
- Mode of the RouteMessage to get its
String representation.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |