com.ibm.net.rdma.jverbs.endpoints
Class RdmaActiveEndpoint
- java.lang.Object
-
- com.ibm.net.rdma.jverbs.endpoints.RdmaEndpoint
-
- com.ibm.net.rdma.jverbs.endpoints.RdmaActiveEndpoint
-
- All Implemented Interfaces:
- RdmaCQConsumer
public abstract class RdmaActiveEndpoint extends RdmaEndpoint implements RdmaCQConsumer
RdmaActiveEndpoint is a RdmaEndpoint with active Completion Queue processing. Active CompletionQueue processing delivers WorkCompletion events relevant for this endpoint to dispatchCQEvent() method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description void
close()
Close this endpoint.abstract void
dispatchCQEvent(WorkCompletion workCompletion)
Method called in case of a completion event.-
Methods inherited from class com.ibm.net.rdma.jverbs.endpoints.RdmaEndpoint
connect, deregisterMemory, getConnectionId, getDestinationAddress, getDestinationPort, getProtectionDomain, getQueuePair, getSourceAddress, getSourcePort, isClosed, isConnected, preparePostReceive, preparePostSend, registerMemory
-
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException
Description copied from class:RdmaEndpoint
Close this endpoint. This closes the connection and free's all the resources like queue pair.- Overrides:
close
in classRdmaEndpoint
- Throws:
java.io.IOException
- If an I/O error occurs
-
dispatchCQEvent
public abstract void dispatchCQEvent(WorkCompletion workCompletion) throws java.io.IOException
Method called in case of a completion event. Applications must override this method to learn about new work completions.- Specified by:
dispatchCQEvent
in interfaceRdmaCQConsumer
- Parameters:
workCompletion
- work completion event.- Throws:
java.io.IOException
- If an I/O error occurs
-
-