10 #include <ucp/api/ucp.h>
12 #include <ucxx/delayed_submission.h>
13 #include <ucxx/request.h>
14 #include <ucxx/typedefs.h>
51 const std::string operationName,
52 const bool enablePythonFuture =
false,
79 std::shared_ptr<Endpoint> endpoint,
81 const bool enablePythonFuture,
Send or receive a message with the UCX Tag API.
Definition: request_endpoint_close.h:23
static void endpointCloseCallback(void *request, ucs_status_t status, void *arg)
Callback executed by UCX when an endpoint close request is completed.
void request()
Create and submit an endpoint close request.
virtual void populateDelayedSubmission()
Populate the internal submission dispatcher.
friend std::shared_ptr< RequestEndpointClose > createRequestEndpointClose(std::shared_ptr< Endpoint > endpoint, const data::EndpointClose requestData, const bool enablePythonFuture, RequestCallbackUserFunction callbackFunction, RequestCallbackUserData callbackData)
Constructor for std::shared_ptr<ucxx::RequestEndpointClose>.
Base type for a UCXX transfer request.
Definition: request.h:38
Data for an endpoint close operation.
Definition: request_data.h:81
std::function< void(ucs_status_t, std::shared_ptr< void >)> RequestCallbackUserFunction
A user-defined function to execute as part of a ucxx::Request callback.
Definition: typedefs.h:103
std::shared_ptr< void > RequestCallbackUserData
Data for the user-defined function provided to the ucxx::Request callback.
Definition: typedefs.h:111