com.ibm.net.rdma.jverbs.endpoints

Class 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 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 class RdmaEndpoint
        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 interface RdmaCQConsumer
        Parameters:
        workCompletion - work completion event.
        Throws:
        java.io.IOException - If an I/O error occurs