com.ibm.net.rdma.jverbs.cm
Enum PortSpace
- java.lang.Object
-
- java.lang.Enum<PortSpace>
-
- com.ibm.net.rdma.jverbs.cm.PortSpace
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description RDMA_PS_IPOIBUnsupported.RDMA_PS_TCPProvides reliable, connection-oriented QP communication.RDMA_PS_UDPUnsupported.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static PortSpacevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PortSpace[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RDMA_PS_IPOIB
public static final PortSpace RDMA_PS_IPOIB
Unsupported. Provides support to run over an InfiniBand fabric using IP over IB (IPoIB)
-
RDMA_PS_TCP
public static final PortSpace RDMA_PS_TCP
Provides reliable, connection-oriented QP communication. Unlike TCP, the RDMA port space provides message, not stream, based communication.
-
RDMA_PS_UDP
public static final PortSpace RDMA_PS_UDP
Unsupported. Provides unreliable, connection less QP communication. Supports both datagram and multicast communication.
-
-
Method Detail
-
valueOf
public static PortSpace 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 PortSpace[] 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 (PortSpace c : PortSpace.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
-