Derecho  0.9
Distributed systems toolkit for RDMA
Public Member Functions | Public Attributes | List of all members
rdma::managed_endpoint Class Reference

#include <lf_helper.hpp>

Inheritance diagram for rdma::managed_endpoint:
Inheritance graph
[legend]
Collaboration diagram for rdma::managed_endpoint:
Collaboration graph
[legend]

Public Member Functions

 managed_endpoint (size_t remote_index, std::function< void(managed_endpoint *)> post_recvs)
 TODO Implement the constructor. More...
 
- Public Member Functions inherited from rdma::endpoint
virtual ~endpoint ()
 
 endpoint (size_t remote_index, bool is_lf_server)
 Constructor Calls the second constructor with an empty lambda as the second argument. More...
 
 endpoint (size_t remote_index, bool is_lf_server, std::function< void(endpoint *)> post_recvs)
 Constructor Initializes members and then calls endpoint::connect. More...
 
 endpoint (endpoint &&)=default
 Constructor Default move constructor. More...
 
int init (struct fi_info *fi)
 init Creates an endpoint, and then initializes/enables it More...
 
void connect (size_t remote_index, bool is_lf_server, std::function< void(endpoint *)> post_recvs)
 connect Uses the initialized endpoint to connect to a remote node More...
 
bool post_send (const memory_region &mr, size_t offset, size_t size, uint64_t wr_id, uint32_t immediate, const message_type &type)
 post_send Uses the libfabrics API to post a buffer to an endpoint. More...
 
bool post_recv (const memory_region &mr, size_t offset, size_t size, uint64_t wr_id, const message_type &type)
 post_recv Uses the libfabrics API to post a buffer to the recv queue of an endpoint. More...
 
bool post_empty_send (uint64_t wr_id, uint32_t immediate, const message_type &type)
 
bool post_empty_recv (uint64_t wr_id, const message_type &type)
 
bool post_write (const memory_region &mr, size_t offset, size_t size, uint64_t wr_id, remote_memory_region remote_mr, size_t remote_offset, const message_type &type, bool signaled=false, bool send_inline=false)
 

Public Attributes

completion_queue scq
 
completion_queue rcq
 
- Public Attributes inherited from rdma::endpoint
fi_addr_t remote_fi_addr
 

Additional Inherited Members

- Protected Member Functions inherited from rdma::endpoint
 endpoint ()
 
- Protected Attributes inherited from rdma::endpoint
std::unique_ptr< fid_eq, std::function< void(fid_eq *)> > eq
 Smart pointer for managing the endpoint. More...
 
std::unique_ptr< fid_ep, std::function< void(fid_ep *)> > ep
 

Detailed Description

Definition at line 258 of file lf_helper.hpp.

Constructor & Destructor Documentation

◆ managed_endpoint()

rdma::managed_endpoint::managed_endpoint ( size_t  remote_index,
std::function< void(managed_endpoint *)>  post_recvs 
)
inline

TODO Implement the constructor.

Definition at line 262 of file lf_helper.hpp.

Member Data Documentation

◆ rcq

completion_queue rdma::managed_endpoint::rcq

Definition at line 260 of file lf_helper.hpp.

◆ scq

completion_queue rdma::managed_endpoint::scq

Definition at line 260 of file lf_helper.hpp.


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