MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
mxl::lib::fabrics::ofi::EgressProtocolTemplate Class Referenceabstract

#include <Protocol.hpp>

Inheritance diagram for mxl::lib::fabrics::ofi::EgressProtocolTemplate:

Public Member Functions

virtual std::unique_ptr< EgressProtocol > createInstance (Completion::Token token, TargetInfo remoteInfo)=0
 Create a new instance of the protocol for a remote target.
virtual void registerMemory (std::shared_ptr< Domain > domain)=0
 Register memory required by the protocol.
virtual ~EgressProtocolTemplate ()=default

Detailed Description

Base template for an egress protocol. The template registers memory and allocates other resources that can be used across multiple instances of the protocol.

Definition at line 118 of file Protocol.hpp.

Constructor & Destructor Documentation

◆ ~EgressProtocolTemplate()

virtual mxl::lib::fabrics::ofi::EgressProtocolTemplate::~EgressProtocolTemplate ( )
virtualdefault

Member Function Documentation

◆ createInstance()

virtual std::unique_ptr< EgressProtocol > mxl::lib::fabrics::ofi::EgressProtocolTemplate::createInstance ( Completion::Token token,
TargetInfo remoteInfo )
nodiscardpure virtual

Create a new instance of the protocol for a remote target.

Implemented in mxl::lib::fabrics::ofi::RMAGrainEgressProtocolTemplate, and mxl::lib::fabrics::ofi::RMASampleEgressProtocolTemplate.

◆ registerMemory()

virtual void mxl::lib::fabrics::ofi::EgressProtocolTemplate::registerMemory ( std::shared_ptr< Domain > domain)
pure virtual

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