com.ibm.net.rdma.jverbs.verbs

Enum SendWorkRequest.Opcode

  • java.lang.Object
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SendWorkRequest.Opcode>
    Enclosing class:
    SendWorkRequest


    public static enum SendWorkRequest.Opcode
    extends java.lang.Enum<SendWorkRequest.Opcode>
    The operation that this Work Request (WR) will perform. This value controls the way that data will be sent, the direction of the data flow and the used attributes in the WR.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      IBV_WR_RDMA_READ
      Read remote data and place in local buffer.
      IBV_WR_RDMA_WRITE
      Opcode to be set to perform writing on to remote buffer.
      IBV_WR_SEND
      Send data in scatter/gather list to other side
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getValue() 
      static SendWorkRequest.Opcode valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SendWorkRequest.Opcode[] 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_WR_RDMA_READ

        public static final SendWorkRequest.Opcode IBV_WR_RDMA_READ
        Read remote data and place in local buffer.
      • IBV_WR_RDMA_WRITE

        public static final SendWorkRequest.Opcode IBV_WR_RDMA_WRITE
        Opcode to be set to perform writing on to remote buffer.
      • IBV_WR_SEND

        public static final SendWorkRequest.Opcode IBV_WR_SEND
        Send data in scatter/gather list to other side
    • Method Detail

      • getValue

        public int getValue()
      • valueOf

        public static SendWorkRequest.Opcode 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 SendWorkRequest.Opcode[] 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 (SendWorkRequest.Opcode c : SendWorkRequest.Opcode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared