com.ibm.net.rdma.jverbs.verbs
Class PostSendMethod
- java.lang.Object
-
- com.ibm.net.rdma.jverbs.verbs.PostSendMethod
-
- All Implemented Interfaces:
- StatefulVerbsMethod<PostSendMethod>
public abstract class PostSendMethod extends java.lang.Object implements StatefulVerbsMethod<PostSendMethod>
This class is a stateful representation of the RDMA JVerbs post send method, returned by QueuePair.preparePostSend().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static interfacePostSendMethod.StatefulRdmaProvides access methods to modify PostSendMethod.Rdma.static interfacePostSendMethod.StatefulSgeProvides access methods to modify PostSendMethod's scatter/gather element.static interfacePostSendMethod.StatefulWorkRequestProvides access methods to modify PostSendWorkRequest.
-
Constructor Summary
Constructors Constructor and Description PostSendMethod()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract PostSendMethod.StatefulWorkRequestgetStatefulWorkRequest(int index)Returns modifiable representation this stateful object.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.ibm.net.rdma.jverbs.verbs.StatefulVerbsMethod
execute, free, isSuccess, isValid
-
-
-
-
Method Detail
-
getStatefulWorkRequest
public abstract PostSendMethod.StatefulWorkRequest getStatefulWorkRequest(int index) throws java.lang.IndexOutOfBoundsException
Returns modifiable representation this stateful object. It allows to alter PostSendMethod (ex) It helps in the case same data needs to be sent multiple times with different work request id, in which case one need not recreate stateful object using preparePostSend().- Parameters:
index- the work request index- Returns:
- the stateful work request
- Throws:
java.lang.IndexOutOfBoundsException- if the index is out of range
-
-