|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<IgfState>
yass.igf.IgfState
public enum IgfState
An enumeration of all permitted states through which an implementation of the IGF protocol might transition at a given network node. The states defined in this enumeration apply to all types of IGF participant, including packet senders and receivers. Note that the IGF protocol state is not the same as the executing node's state; in particular, it is not the same as the radio activity state. The IGF protocol induces a number of types of packet to be scheduled for transmission, but the transmission of these scheduled packets happens asynchronously with respect to the protocol implementation logic flow.
| Enum Constant Summary | |
|---|---|
IDLE
IGF protocol is not currently active at a given node but is waiting for be called into action. |
|
UNINITIALISED
Uninitialised; this state should never be encountered in a running network simulation. |
|
WAIT_FOR_ACK
A given node has broadcast a DATA packet and is now waiting for the selected recipient/relay to acknowledge receipt. |
|
WAIT_FOR_CTS
A given node has broadcast an ORTS packet and is now waiting to receive zero or more CTS packets, up till the CTS-TIMEOUT expires and forces the putative sender to either: - IDLE, give up due to receipt of no acceptable CTS before timeout - WAIT_FOR_ACK, if one or more suitable CTSes were received and a DATA packet was broadcast in response |
|
WAIT_FOR_DATA
A given node has received an ORTS packet, offered to act as a recipient or relay, and has broadcast a CTS indicating this decision. |
|
| Method Summary | |
|---|---|
static IgfState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IgfState[] |
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 IgfState UNINITIALISED
public static final IgfState IDLE
public static final IgfState WAIT_FOR_CTS
public static final IgfState WAIT_FOR_DATA
public static final IgfState WAIT_FOR_ACK
| Method Detail |
|---|
public static IgfState[] values()
for (IgfState c : IgfState.values()) System.out.println(c);
public static IgfState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||