com.ibm.net.rdma.jverbs.verbs
Interface PostSendMethod.StatefulWorkRequest
-
- Enclosing class:
- PostSendMethod
public static interface PostSendMethod.StatefulWorkRequestProvides access methods to modify PostSendWorkRequest.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description SendWorkRequest.OpcodegetOpcode()Retrieve the opcode of this work requestintgetSendFlags()Retrieve the send flags of this work requestintgetSgeCount()The number of scatter/gather elements in this work request.PostSendMethod.StatefulRdmagetStatefulRdma()Provides access to the rdma information in this work requestPostSendMethod.StatefulSgegetStatefulSge(int index)Returns a specific scatter/gather element of this work request.longgetWorkRequestId()Retrieve the work request id.voidsetWorkRequestId(long sendWorkRequestId)Modify the work request id.
-
-
-
Method Detail
-
getOpcode
SendWorkRequest.Opcode getOpcode()
Retrieve the opcode of this work request- Returns:
- the opcode
-
getSendFlags
int getSendFlags()
Retrieve the send flags of this work request- Returns:
- the send flags
-
getSgeCount
int getSgeCount()
The number of scatter/gather elements in this work request.- Returns:
- the number of scatter/gather elements
-
getStatefulRdma
PostSendMethod.StatefulRdma getStatefulRdma()
Provides access to the rdma information in this work request- Returns:
- RDMA information
-
getStatefulSge
PostSendMethod.StatefulSge getStatefulSge(int index) throws java.lang.IndexOutOfBoundsException
Returns a specific scatter/gather element of this work request.- Parameters:
index- the scatter/gather element.- Returns:
- the scatter/gather element.
- Throws:
java.lang.IndexOutOfBoundsException- if the index is out of range
-
getWorkRequestId
long getWorkRequestId()
Retrieve the work request id.- Returns:
- the SendWorkRequest id.
-
setWorkRequestId
void setWorkRequestId(long sendWorkRequestId)
Modify the work request id.- Parameters:
sendWorkRequestId-
-
-