|
MXL : Media eXchange Layer
MXL
|
Interface for post-processing on transfer reception. More...
#include <Protocol.hpp>

Public Member Functions | |
| virtual std::optional< TargetInfoBounceBufferInfo > | bounceBufferInfo () const =0 |
| virtual bool | canReadGrains () const noexcept=0 |
| Check if this protocol can read grains. | |
| virtual bool | canReadSamples () const noexcept=0 |
| Check if this protocol can read samples. | |
| virtual std::optional< Target::ReadResult > | read (Endpoint const &endpoint, Completion const &completion)=0 |
| Process a completion with the given immediate data. | |
| virtual std::vector< RemoteRegion > | registerMemory (std::shared_ptr< Domain > domain)=0 |
| Register local memory regions used in this protocol. | |
| virtual void | reset ()=0 |
| Destroy the protocol object. | |
| virtual void | start (Endpoint const &endpoint)=0 |
| Start receiving. | |
| virtual | ~IngressProtocol ()=default |
Interface for post-processing on transfer reception.
Allows to abstract away any post-processing that needs to be done after a transfer completes.
Definition at line 23 of file Protocol.hpp.
|
virtualdefault |
|
nodiscardpure virtual |
|
nodiscardpure virtualnoexcept |
Check if this protocol can read grains.
Implemented in mxl::lib::fabrics::ofi::RMAGrainIngressProtocol, and mxl::lib::fabrics::ofi::RMASampleIngressProtocol.
|
nodiscardpure virtualnoexcept |
Check if this protocol can read samples.
Implemented in mxl::lib::fabrics::ofi::RMAGrainIngressProtocol, and mxl::lib::fabrics::ofi::RMASampleIngressProtocol.
|
nodiscardpure virtual |
Process a completion with the given immediate data.
| endpoint | The endpoint associated with the completion |
| completion | The completion object to process. |
Implemented in mxl::lib::fabrics::ofi::RMAGrainIngressProtocol, and mxl::lib::fabrics::ofi::RMASampleIngressProtocol.
|
nodiscardpure virtual |
Register local memory regions used in this protocol.
| domain | The domain to register memory with. |
Implemented in mxl::lib::fabrics::ofi::RMAGrainIngressProtocol, and mxl::lib::fabrics::ofi::RMASampleIngressProtocol.
|
pure virtual |
Destroy the protocol object.
Implemented in mxl::lib::fabrics::ofi::RMAGrainIngressProtocol, and mxl::lib::fabrics::ofi::RMASampleIngressProtocol.
|
pure virtual |
Start receiving.
Implemented in mxl::lib::fabrics::ofi::RMAGrainIngressProtocol, and mxl::lib::fabrics::ofi::RMASampleIngressProtocol.