Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
dev::shh::WhisperMessagesDB Class Reference

#include <WhisperDB.h>

Inheritance diagram for dev::shh::WhisperMessagesDB:
[legend]
Collaboration diagram for dev::shh::WhisperMessagesDB:
[legend]

Public Member Functions

 WhisperMessagesDB ()
 
virtual ~WhisperMessagesDB ()
 
void loadAllMessages (std::map< h256, Envelope > &o_dst)
 
void saveSingleMessage (dev::h256 const &_key, Envelope const &_e)
 
- Public Member Functions inherited from dev::shh::WhisperDB
 WhisperDB (std::string const &_type)
 
virtual ~WhisperDB ()
 
std::string lookup (dev::h256 const &_key) const
 
void insert (dev::h256 const &_key, std::string const &_value)
 
void insert (dev::h256 const &_key, bytes const &_value)
 
void kill (dev::h256 const &_key)
 

Additional Inherited Members

- Protected Attributes inherited from dev::shh::WhisperDB
leveldb::ReadOptions m_readOptions
 
leveldb::WriteOptions m_writeOptions
 
std::unique_ptr< leveldb::DB > m_db
 

Detailed Description

Definition at line 58 of file WhisperDB.h.

Constructor & Destructor Documentation

dev::shh::WhisperMessagesDB::WhisperMessagesDB ( )
inline

Definition at line 61 of file WhisperDB.h.

virtual dev::shh::WhisperMessagesDB::~WhisperMessagesDB ( )
inlinevirtual

Definition at line 62 of file WhisperDB.h.

Member Function Documentation

void WhisperMessagesDB::loadAllMessages ( std::map< h256, Envelope > &  o_dst)

Definition at line 85 of file WhisperDB.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WhisperMessagesDB::saveSingleMessage ( dev::h256 const &  _key,
Envelope const &  _e 
)

Definition at line 141 of file WhisperDB.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


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