Derecho  0.9
Distributed systems toolkit for RDMA
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
rdma::message_type Class Reference

#include <lf_helper.hpp>

Public Types

typedef uint8_t tag_type
 
typedef uint8_t tag_type
 

Public Member Functions

 message_type (const std::string &name, completion_handler send_handler, completion_handler recv_handler, completion_handler write_handler=nullptr)
 
 message_type ()
 
 message_type (const std::string &name, completion_handler send_handler, completion_handler recv_handler, completion_handler write_handler=nullptr)
 
 message_type ()
 

Static Public Member Functions

static message_type ignored ()
 
static message_type ignored ()
 

Static Public Attributes

static constexpr unsigned int shift_bits = 64 - 8 * sizeof(tag_type)
 

Private Member Functions

 message_type (tag_type t)
 
 message_type (tag_type t)
 

Private Attributes

std::optional< tag_typetag
 

Friends

class endpoint
 
class task
 
class queue_pair
 

Detailed Description

Definition at line 133 of file lf_helper.hpp.

Member Typedef Documentation

◆ tag_type [1/2]

Definition at line 82 of file verbs_helper.hpp.

◆ tag_type [2/2]

Definition at line 135 of file lf_helper.hpp.

Constructor & Destructor Documentation

◆ message_type() [1/6]

rdma::message_type::message_type ( tag_type  t)
inlineprivate

Definition at line 140 of file lf_helper.hpp.

◆ message_type() [2/6]

rdma::message_type::message_type ( const std::string &  name,
completion_handler  send_handler,
completion_handler  recv_handler,
completion_handler  write_handler = nullptr 
)

Definition at line 509 of file lf_helper.cpp.

◆ message_type() [3/6]

rdma::message_type::message_type ( )
inline

Definition at line 149 of file lf_helper.hpp.

◆ message_type() [4/6]

rdma::message_type::message_type ( tag_type  t)
inlineprivate

Definition at line 87 of file verbs_helper.hpp.

◆ message_type() [5/6]

rdma::message_type::message_type ( const std::string &  name,
completion_handler  send_handler,
completion_handler  recv_handler,
completion_handler  write_handler = nullptr 
)

◆ message_type() [6/6]

rdma::message_type::message_type ( )
inline

Definition at line 96 of file verbs_helper.hpp.

Member Function Documentation

◆ ignored() [1/2]

static message_type rdma::message_type::ignored ( )
static

◆ ignored() [2/2]

message_type rdma::message_type::ignored ( )
static

Definition at line 528 of file lf_helper.cpp.

Friends And Related Function Documentation

◆ endpoint

friend class endpoint
friend

Definition at line 142 of file lf_helper.hpp.

◆ queue_pair

friend class queue_pair
friend

Definition at line 89 of file verbs_helper.hpp.

◆ task

task
friend

Definition at line 143 of file lf_helper.hpp.

Member Data Documentation

◆ shift_bits

static constexpr unsigned int rdma::message_type::shift_bits = 64 - 8 * sizeof(tag_type)
static

Definition at line 136 of file lf_helper.hpp.

◆ tag

std::optional< tag_type > rdma::message_type::tag
private

Definition at line 139 of file lf_helper.hpp.


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