Class StoreNetwork

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class Umap::StoreNetwork : public Umap::Store

Subclassed by Umap::StoreNetworkClient, Umap::StoreNetworkServer

Public Functions

StoreNetwork(const char *_id, std::size_t _rsize_, bool _is_server = false)
~StoreNetwork()
std::size_t get_size()
ssize_t read_from_store(char *buf, size_t nb, off_t off)
ssize_t write_to_store(char *buf, size_t nb, off_t off)
ssize_t read_from_store(char *buf, std::size_t nb, off_t off) = 0
ssize_t write_to_store(char *buf, std::size_t nb, off_t off) = 0

Public Static Functions

Store *make_store(void *_region_, std::size_t _rsize_, std::size_t _alignsize_, int _fd_)

Protected Attributes

const char *id
size_t rsize
bool is_on_server
size_t num_clients