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

#include <Interface.h>

Inheritance diagram for dev::shh::Interface:
[legend]

Public Member Functions

virtual ~Interface ()
 
virtual void inject (Envelope const &_m, WhisperPeer *_from=nullptr)=0
 
virtual Topics const & fullTopics (unsigned _id) const =0
 
virtual unsigned installWatch (Topics const &_filter)=0
 
virtual void uninstallWatch (unsigned _watchId)=0
 
virtual h256s peekWatch (unsigned _watchId) const =0
 
virtual h256s checkWatch (unsigned _watchId)=0
 
virtual h256s watchMessages (unsigned _watchId)=0
 
virtual Envelope envelope (h256 _m) const =0
 
void post (bytes const &_payload, Topics _topics, unsigned _ttl=50, unsigned _workToProve=50)
 
void post (Public _to, bytes const &_payload, Topics _topics, unsigned _ttl=50, unsigned _workToProve=50)
 
void post (Secret const &_from, bytes const &_payload, Topics _topics, unsigned _ttl=50, unsigned _workToProve=50)
 
void post (Secret const &_from, Public _to, bytes const &_payload, Topics _topics, unsigned _ttl=50, unsigned _workToProve=50)
 

Detailed Description

Definition at line 61 of file Interface.h.

Constructor & Destructor Documentation

Interface::~Interface ( )
virtual

Definition at line 32 of file Interface.cpp.

Member Function Documentation

virtual h256s dev::shh::Interface::checkWatch ( unsigned  _watchId)
pure virtual

Implemented in dev::shh::WhisperHost.

Here is the caller graph for this function:

virtual Envelope dev::shh::Interface::envelope ( h256  _m) const
pure virtual

Implemented in dev::shh::WhisperHost.

Here is the caller graph for this function:

virtual Topics const& dev::shh::Interface::fullTopics ( unsigned  _id) const
pure virtual

Implemented in dev::shh::WhisperHost.

virtual void dev::shh::Interface::inject ( Envelope const &  _m,
WhisperPeer _from = nullptr 
)
pure virtual

Implemented in dev::shh::WhisperHost.

Here is the caller graph for this function:

virtual unsigned dev::shh::Interface::installWatch ( Topics const &  _filter)
pure virtual

Implemented in dev::shh::WhisperHost.

Here is the caller graph for this function:

virtual h256s dev::shh::Interface::peekWatch ( unsigned  _watchId) const
pure virtual

Implemented in dev::shh::WhisperHost.

void dev::shh::Interface::post ( bytes const &  _payload,
Topics  _topics,
unsigned  _ttl = 50,
unsigned  _workToProve = 50 
)
inline

Definition at line 77 of file Interface.h.

void dev::shh::Interface::post ( Public  _to,
bytes const &  _payload,
Topics  _topics,
unsigned  _ttl = 50,
unsigned  _workToProve = 50 
)
inline

Definition at line 78 of file Interface.h.

void dev::shh::Interface::post ( Secret const &  _from,
bytes const &  _payload,
Topics  _topics,
unsigned  _ttl = 50,
unsigned  _workToProve = 50 
)
inline

Definition at line 79 of file Interface.h.

void dev::shh::Interface::post ( Secret const &  _from,
Public  _to,
bytes const &  _payload,
Topics  _topics,
unsigned  _ttl = 50,
unsigned  _workToProve = 50 
)
inline

Definition at line 80 of file Interface.h.

virtual void dev::shh::Interface::uninstallWatch ( unsigned  _watchId)
pure virtual

Implemented in dev::shh::WhisperHost.

Here is the caller graph for this function:

virtual h256s dev::shh::Interface::watchMessages ( unsigned  _watchId)
pure virtual

Implemented in dev::shh::WhisperHost.

Here is the caller graph for this function:


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