Class SharedReceiveContextManager
Defined in File SharedReceiveContextManager.hpp
Class Documentation
-
class SharedReceiveContextManager
Manager for a shared receive context for libfabric.
Contains the SharedReceiveContext with a ReceiveBufferManager.
Public Functions
-
SharedReceiveContextManager(DomainManager &domain_manager, const ConnectionParametersRecv &conn_params, const fi_info *info, BaseEventLoop *event_loop)
Constructs a SharedReceiveContext object.
- Throws:
LibfabricSharedReceiveContextError – in case of a libfabric error
- Parameters:
domain_manager – The domain manager to use for buffer registration
-
inline ReceiveBufferManager *get_buffer_manager()
Get a pointer to the buffer manager.
- Returns:
A pointer to the receive buffer manager
-
inline fid_ep *get_srx_context()
Get the fid of the shared receive context.
- Returns:
A pointer to the shared receive context
-
SharedReceiveContextManager(DomainManager &domain_manager, const ConnectionParametersRecv &conn_params, const fi_info *info, BaseEventLoop *event_loop)