MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
mxl::lib::fabrics::ofi::Event::ConnectionRequested Class Referencefinal

A type that wraps a "FI_CONNREQ" event type. More...

#include <Event.hpp>

Public Member Functions

 ConnectionRequested (::fid_t fid, FabricInfo info)
::fid_t fid () const noexcept
 fabric descriptor associated with the event
FabricInfoView info () const noexcept
 libfabric info struct of the endpoint that requested connection

Private Attributes

::fid_t _fid
FabricInfo _info

Detailed Description

A type that wraps a "FI_CONNREQ" event type.

Definition at line 25 of file Event.hpp.

Constructor & Destructor Documentation

◆ ConnectionRequested()

mxl::lib::fabrics::ofi::Event::ConnectionRequested::ConnectionRequested ( ::fid_t fid,
FabricInfo info )

Definition at line 15 of file Event.cpp.

16 : _fid(fid)
17 , _info(std::move(info))
18 {}
FabricInfoView info() const noexcept
libfabric info struct of the endpoint that requested connection
Definition Event.cpp:25
::fid_t fid() const noexcept
fabric descriptor associated with the event
Definition Event.cpp:20

Member Function Documentation

◆ fid()

fid_t mxl::lib::fabrics::ofi::Event::ConnectionRequested::fid ( ) const
nodiscardnoexcept

fabric descriptor associated with the event

Definition at line 20 of file Event.cpp.

21 {
22 return _fid;
23 }

◆ info()

FabricInfoView mxl::lib::fabrics::ofi::Event::ConnectionRequested::info ( ) const
nodiscardnoexcept

libfabric info struct of the endpoint that requested connection

Definition at line 25 of file Event.cpp.

26 {
27 return _info.view();
28 }

Member Data Documentation

◆ _fid

::fid_t mxl::lib::fabrics::ofi::Event::ConnectionRequested::_fid
private

Definition at line 41 of file Event.hpp.

◆ _info

FabricInfo mxl::lib::fabrics::ofi::Event::ConnectionRequested::_info
private

Definition at line 42 of file Event.hpp.


The documentation for this class was generated from the following files: