Class RdmaBackend¶
Defined in File rdma_backend.h
Inheritance Relationships¶
Base Type¶
public switchml::Backend(Class Backend)
Class Documentation¶
-
class
switchml::RdmaBackend: public switchml::Backend¶ The backend that represents the rdma version of switchml.
Public Functions
-
RdmaBackend(Context &context, Config &config)¶ Call the super class constructor.
- Parameters
context – [in] The context
config – [in] The context configuration.
-
~RdmaBackend()¶
-
RdmaBackend(RdmaBackend const&) = delete¶
-
void
operator=(RdmaBackend const&) = delete¶
-
RdmaBackend(RdmaBackend&&) = default¶
-
RdmaBackend &
operator=(RdmaBackend&&) = default¶
-
virtual void
SetupWorker() override¶ Establish the RDMA connection, setup the switch, and start the worker threads.
-
virtual void
CleanupWorker() override¶ Wait for all worker threads to exit.
-
std::unique_ptr<RdmaConnection> &
GetConnection()¶ Get the RDMA connection object that the worker threads will use to send and receive.
- Returns
std::unique_ptr<RdmaConnection>&
-