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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static QueuePair.State valueOf(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.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • 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 name
        java.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