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

#include <Session.h>

Inheritance diagram for dev::p2p::SessionFace:
[legend]

Public Member Functions

virtual ~SessionFace ()
 
virtual void start ()=0
 
virtual void disconnect (DisconnectReason _reason)=0
 
virtual void ping ()=0
 
virtual bool isConnected () const =0
 
virtual NodeID id () const =0
 
virtual void sealAndSend (RLPStream &_s, uint16_t _protocolID)=0
 
virtual int rating () const =0
 
virtual void addRating (int _r)=0
 
virtual void addNote (std::string const &_k, std::string const &_v)=0
 
virtual PeerSessionInfo info () const =0
 
virtual std::chrono::steady_clock::time_point connectionTime ()=0
 
virtual void registerCapability (CapDesc const &_desc, std::shared_ptr< Capability > _p)=0
 
virtual void registerFraming (uint16_t _id)=0
 
virtual std::map< CapDesc, std::shared_ptr< Capability > > const & capabilities () const =0
 
virtual std::shared_ptr< Peerpeer () const =0
 
virtual std::chrono::steady_clock::time_point lastReceived () const =0
 
virtual ReputationManagerrepMan ()=0
 

Detailed Description

Definition at line 50 of file Session.h.

Constructor & Destructor Documentation

virtual dev::p2p::SessionFace::~SessionFace ( )
inlinevirtual

Definition at line 53 of file Session.h.

Here is the call graph for this function:

Member Function Documentation

virtual void dev::p2p::SessionFace::addNote ( std::string const &  _k,
std::string const &  _v 
)
pure virtual

Implemented in dev::p2p::Session.

Here is the caller graph for this function:

virtual void dev::p2p::SessionFace::addRating ( int  _r)
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:

virtual std::map<CapDesc, std::shared_ptr<Capability> > const& dev::p2p::SessionFace::capabilities ( ) const
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:

virtual std::chrono::steady_clock::time_point dev::p2p::SessionFace::connectionTime ( )
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:

virtual void dev::p2p::SessionFace::disconnect ( DisconnectReason  _reason)
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:

virtual NodeID dev::p2p::SessionFace::id ( ) const
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:

virtual PeerSessionInfo dev::p2p::SessionFace::info ( ) const
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:

virtual bool dev::p2p::SessionFace::isConnected ( ) const
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:

virtual std::chrono::steady_clock::time_point dev::p2p::SessionFace::lastReceived ( ) const
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:

virtual std::shared_ptr<Peer> dev::p2p::SessionFace::peer ( ) const
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:

virtual void dev::p2p::SessionFace::ping ( )
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:

virtual int dev::p2p::SessionFace::rating ( ) const
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:

virtual void dev::p2p::SessionFace::registerCapability ( CapDesc const &  _desc,
std::shared_ptr< Capability _p 
)
pure virtual

Implemented in dev::p2p::Session.

Here is the caller graph for this function:

virtual void dev::p2p::SessionFace::registerFraming ( uint16_t  _id)
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:

virtual ReputationManager& dev::p2p::SessionFace::repMan ( )
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:

virtual void dev::p2p::SessionFace::sealAndSend ( RLPStream _s,
uint16_t  _protocolID 
)
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:

virtual void dev::p2p::SessionFace::start ( )
pure virtual

Implemented in dev::p2p::Session, and MockSession.

Here is the caller graph for this function:


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