Class DomainManager
Defined in File DomainManager.hpp
Class Documentation
-
class DomainManager
Creates fabric, listen domain, and send domain.
Public Functions
-
explicit DomainManager(NetworkMode mode, const EndPointAddress &address, std::uint64_t flags)
Constructs a DomainManager object.
Gets constructed the first time a connection is requested to detect what technology can be used.
If a listen endpoint is passed the flag need to be set to FI_SOURCE.
Warning
If an endpoint is passed which does not support RDMA, all following connections will be unable to use that.
- Parameters:
mode – The network mode (TCP or RDMA)
address – The endpoint address
flags – The flags (nothing of FI_SOURCE for receive endpoints)
-
~DomainManager()
Destructs the DomainManager object.
Close fabric and domains.
-
DomainManager(const DomainManager&) = delete
-
DomainManager(DomainManager&&) = default
-
DomainManager &operator=(const DomainManager&) = delete
-
DomainManager &operator=(DomainManager&&) = default
-
inline const fid_fabric *get_fabric() const
Get the fabric.
- Returns:
A constant pointer for const objects, non const otherwise
-
inline fid_fabric *get_fabric()
-
inline const DomainContext &get_listen_domain() const
Get the listen domain.
- Returns:
A constant reference for const objects, non const otherwise
-
inline DomainContext &get_listen_domain()
-
inline const DomainContext &get_send_domain() const
Get the listen domain.
- Returns:
A constant reference for const objects, non const otherwise
-
inline DomainContext &get_send_domain()
-
explicit DomainManager(NetworkMode mode, const EndPointAddress &address, std::uint64_t flags)