com.ibm.net.rdma.jverbs.verbs
Class ReceiveWorkRequest
- java.lang.Object
-
- com.ibm.net.rdma.jverbs.verbs.ReceiveWorkRequest
-
public class ReceiveWorkRequest extends java.lang.ObjectRepresent a receive work request. Applications create work request and post them onto queue pairs for execution. Each work request is composed of several scatter or gather elements, each of which referring to one single buffer.
-
-
Constructor Summary
Constructors Constructor and Description ReceiveWorkRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetNumSge()The number of scatter or gather elements in this work request.java.util.LinkedList<ScatterGatherElement>getSgeList()Gets the scatter or gather elements of this work request.longgetWorkRequestId()A unique identifier for this work request.voidsetNumSge(int numSge)Unsupported.voidsetSgeList(java.util.LinkedList<ScatterGatherElement> sgeList)Sets the scatter or gather elements of this work request.voidsetWorkRequestId(long workRequestId)Allows setting the work request identifier.
-
-
-
Method Detail
-
getNumSge
public int getNumSge()
The number of scatter or gather elements in this work request.- Returns:
- the numSge
-
getSgeList
public java.util.LinkedList<ScatterGatherElement> getSgeList()
Gets the scatter or gather elements of this work request. Each scatter or gather element refers to one single buffer.- Returns:
- the sgeList
-
getWorkRequestId
public long getWorkRequestId()
A unique identifier for this work request. A subsequent completion event will have a matching id.- Returns:
- the workRequestId
-
setNumSge
public void setNumSge(int numSge)
Unsupported.- Parameters:
numSge- the new numSge
-
setSgeList
public void setSgeList(java.util.LinkedList<ScatterGatherElement> sgeList)
Sets the scatter or gather elements of this work request. Each scatter or gather element refers to one single buffer.- Parameters:
sgeList- the new sgeList
-
setWorkRequestId
public void setWorkRequestId(long workRequestId)
Allows setting the work request identifier. A subsequent completion event will have a matching id.- Parameters:
workRequestId- the new workRequestId
-
-