|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TimeoutPolicy.TimeoutPolicyType> aim4.im.v2i.policy.TimeoutPolicy.TimeoutPolicyType
public static enum TimeoutPolicy.TimeoutPolicyType
How the V2IManager treats vehicles that communicate before their timeout is over.
Enum Constant Summary | |
---|---|
COMPOUND
The timeout is extended based on the latest message. |
|
MAINTAIN
The timeout is unaffected by new messages. |
|
RESET
The timeout is reset based on the latest message (but not made earlier). |
Method Summary | |
---|---|
static TimeoutPolicy.TimeoutPolicyType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TimeoutPolicy.TimeoutPolicyType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TimeoutPolicy.TimeoutPolicyType MAINTAIN
public static final TimeoutPolicy.TimeoutPolicyType COMPOUND
public static final TimeoutPolicy.TimeoutPolicyType RESET
Method Detail |
---|
public static TimeoutPolicy.TimeoutPolicyType[] values()
for (TimeoutPolicy.TimeoutPolicyType c : TimeoutPolicy.TimeoutPolicyType.values()) System.out.println(c);
public static TimeoutPolicy.TimeoutPolicyType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |