com.ibm.net.rdma.jverbs.verbs
Class QueuePairInitAttribute
- java.lang.Object
-
- com.ibm.net.rdma.jverbs.verbs.QueuePairInitAttribute
-
public class QueuePairInitAttribute extends java.lang.ObjectAttributes used when initializing a queue pair.
-
-
Constructor Summary
Constructors Constructor and Description QueuePairInitAttribute()Create QueuePairInitAttribute with default QueuePairLimitQueuePairInitAttribute(QueuePairLimit queuePairLimit, QueuePair.Type queuePairType, CompletionQueue sendCompletionQueue, CompletionQueue receiveCompletionQueue)Create QueuePairInitAttribute with user passed values
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description QueuePairLimitgetCap()Get the attributes of the Queue Pair size.Upon a successful Queue Pair creation, this structure will hold the actual Queue Pair attributesQueuePair.TypegetQueuePairType()Get the transport Service Type for requested this QPCompletionQueuegetReceiveCompletionQueue()Get the receive CQ.CompletionQueuegetSendCompletionQueue()Get the send CQ.voidsetQueuePairType(QueuePair.Type queuePairType)Set the transport Service Type for requested this QPvoidsetReceiveCompletionQueue(CompletionQueue receiveCompletionQueue)Set the receive CQ.voidsetSendCompletionQueue(CompletionQueue sendCompletionQueue)Set the send CQ.
-
-
-
Constructor Detail
-
QueuePairInitAttribute
public QueuePairInitAttribute()
Create QueuePairInitAttribute with default QueuePairLimit
-
QueuePairInitAttribute
public QueuePairInitAttribute(QueuePairLimit queuePairLimit, QueuePair.Type queuePairType, CompletionQueue sendCompletionQueue, CompletionQueue receiveCompletionQueue)
Create QueuePairInitAttribute with user passed values
-
-
Method Detail
-
getCap
public QueuePairLimit getCap()
Get the attributes of the Queue Pair size.Upon a successful Queue Pair creation, this structure will hold the actual Queue Pair attributes- Returns:
- queuePairLimit
-
getQueuePairType
public QueuePair.Type getQueuePairType()
Get the transport Service Type for requested this QP- Returns:
- the queuePairType
-
getReceiveCompletionQueue
public CompletionQueue getReceiveCompletionQueue()
Get the receive CQ. This must be created by the user prior to calling creating QP.- Returns:
- receiveCompletionQueue
-
getSendCompletionQueue
public CompletionQueue getSendCompletionQueue()
Get the send CQ. This must be created by the user prior to calling creating QP.- Returns:
- sendCompletionQueue
-
setQueuePairType
public void setQueuePairType(QueuePair.Type queuePairType)
Set the transport Service Type for requested this QP- Parameters:
queuePairType-
-
setReceiveCompletionQueue
public void setReceiveCompletionQueue(CompletionQueue receiveCompletionQueue)
Set the receive CQ. This must be created by the user prior to calling creating QP.- Parameters:
receiveCompletionQueue-
-
setSendCompletionQueue
public void setSendCompletionQueue(CompletionQueue sendCompletionQueue)
Set the send CQ. This must be created by the user prior to calling creating QP.- Parameters:
sendCompletionQueue-
-
-