Logo
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 class  OpType {
  BLOCK_INSERT , BLOCK_INSERT_REPLICA , BLOCK_DELETE , BLOCK_DELETE_REPLICA ,
  BLOCK_REQUEST , BLOCK_TRANSFER , BLOCK_UPDATE , BLOCK_UPDATE_REPLICA ,
  LOGICAL_BLOCK_REQUEST , LBLOCK_MANAGER_INIT , LBLOCK_MANAGER_READ , LBLOCK_STOP ,
  LBLOCK_MANAGER_DESTROY
}
 

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

◆ OpType

Enumerator
BLOCK_INSERT 
BLOCK_INSERT_REPLICA 
BLOCK_DELETE 
BLOCK_DELETE_REPLICA 
BLOCK_REQUEST 
BLOCK_TRANSFER 
BLOCK_UPDATE 
BLOCK_UPDATE_REPLICA 
LOGICAL_BLOCK_REQUEST 
LBLOCK_MANAGER_INIT 
LBLOCK_MANAGER_READ 
LBLOCK_STOP 
LBLOCK_MANAGER_DESTROY 

Member Function Documentation

◆ get_type()

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

Member Data Documentation

◆ block

Block eclipse::messages::IOoperation::block

◆ block_metadata

BlockMetadata eclipse::messages::IOoperation::block_metadata

◆ length

uint64_t eclipse::messages::IOoperation::length = 0

◆ operation

OpType eclipse::messages::IOoperation::operation

◆ option

std::string eclipse::messages::IOoperation::option

◆ pos

uint64_t eclipse::messages::IOoperation::pos = 0

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