com.ibm.net.rdma.jverbs.verbs
Enum QueuePair.State
- java.lang.Object
-
- java.lang.Enum<QueuePair.State>
-
- com.ibm.net.rdma.jverbs.verbs.QueuePair.State
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<QueuePair.State>
- Enclosing class:
- QueuePair
public static enum QueuePair.State extends java.lang.Enum<QueuePair.State>
Defines various QueuePair States.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description IBV_QPS_ERRError stateIBV_QPS_INITInitialized stateIBV_QPS_RESETReset stateIBV_QPS_RTRReady To Receive stateIBV_QPS_RTSReady To Send stateIBV_QPS_SQDSend Queue Drain stateIBV_QPS_SQESend Queue Error state
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static QueuePair.StatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static QueuePair.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IBV_QPS_ERR
public static final QueuePair.State IBV_QPS_ERR
Error state
-
IBV_QPS_INIT
public static final QueuePair.State IBV_QPS_INIT
Initialized state
-
IBV_QPS_RESET
public static final QueuePair.State IBV_QPS_RESET
Reset state
-
IBV_QPS_RTR
public static final QueuePair.State IBV_QPS_RTR
Ready To Receive state
-
IBV_QPS_RTS
public static final QueuePair.State IBV_QPS_RTS
Ready To Send state
-
IBV_QPS_SQD
public static final QueuePair.State IBV_QPS_SQD
Send Queue Drain state
-
IBV_QPS_SQE
public static final QueuePair.State IBV_QPS_SQE
Send Queue Error state
-
-
Method Detail
-
valueOf
public static QueuePair.State valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
values
public static QueuePair.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (QueuePair.State c : QueuePair.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
-