Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
eclipse::messages::IOoperation Struct Reference

#include <IOoperation.hh>

Inheritance diagram for eclipse::messages::IOoperation:
Inheritance graph
Collaboration diagram for eclipse::messages::IOoperation:
Collaboration graph

Public Types

enum  OpType {
  OpType::BLOCK_INSERT, OpType::BLOCK_INSERT_REPLICA, OpType::BLOCK_DELETE, OpType::BLOCK_DELETE_REPLICA,
  OpType::BLOCK_REQUEST, OpType::BLOCK_TRANSFER, OpType::BLOCK_UPDATE, OpType::BLOCK_UPDATE_REPLICA
}
 

Public Member Functions

std::string get_type () const override
 
- Public Member Functions inherited from eclipse::messages::Message
 Message ()=default
 
 Message (int, int)
 
virtual ~Message ()
 
int get_origin () const
 
int get_destination () const
 
Messageset_origin (int)
 
Messageset_destination (int)
 

Public Attributes

OpType operation
 
std::string option
 
uint64_t pos = 0
 
uint64_t length = 0
 
BlockMetadata block_metadata
 
Block block
 
- Public Attributes inherited from eclipse::messages::Message
int origin
 
int destination
 

Member Enumeration Documentation

Enumerator
BLOCK_INSERT 
BLOCK_INSERT_REPLICA 
BLOCK_DELETE 
BLOCK_DELETE_REPLICA 
BLOCK_REQUEST 
BLOCK_TRANSFER 
BLOCK_UPDATE 
BLOCK_UPDATE_REPLICA 

Member Function Documentation

std::string IOoperation::get_type ( ) const
overridevirtual

Member Data Documentation

Block eclipse::messages::IOoperation::block
BlockMetadata eclipse::messages::IOoperation::block_metadata
uint64_t eclipse::messages::IOoperation::length = 0
OpType eclipse::messages::IOoperation::operation
std::string eclipse::messages::IOoperation::option
uint64_t eclipse::messages::IOoperation::pos = 0

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