Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
MockEthereumPeerObserver Class Reference
Inheritance diagram for MockEthereumPeerObserver:
[legend]
Collaboration diagram for MockEthereumPeerObserver:
[legend]

Public Member Functions

void onPeerStatus (std::shared_ptr< EthereumPeer >) override
 
void onPeerTransactions (std::shared_ptr< EthereumPeer >, RLP const &) override
 
void onPeerBlockHeaders (std::shared_ptr< EthereumPeer >, RLP const &) override
 
void onPeerBlockBodies (std::shared_ptr< EthereumPeer >, RLP const &) override
 
void onPeerNewHashes (std::shared_ptr< EthereumPeer >, std::vector< std::pair< h256, u256 >> const &) override
 
void onPeerNewBlock (std::shared_ptr< EthereumPeer >, RLP const &) override
 
void onPeerNodeData (std::shared_ptr< EthereumPeer >, RLP const &) override
 
void onPeerReceipts (std::shared_ptr< EthereumPeer >, RLP const &) override
 
void onPeerAborting () override
 
- Public Member Functions inherited from dev::eth::EthereumPeerObserverFace
virtual ~EthereumPeerObserverFace ()
 

Detailed Description

Definition at line 83 of file EthereumPeerTest.cpp.

Member Function Documentation

void MockEthereumPeerObserver::onPeerAborting ( )
inlineoverridevirtual

Implements dev::eth::EthereumPeerObserverFace.

Definition at line 102 of file EthereumPeerTest.cpp.

void MockEthereumPeerObserver::onPeerBlockBodies ( std::shared_ptr< EthereumPeer ,
RLP const &   
)
inlineoverridevirtual

Implements dev::eth::EthereumPeerObserverFace.

Definition at line 92 of file EthereumPeerTest.cpp.

void MockEthereumPeerObserver::onPeerBlockHeaders ( std::shared_ptr< EthereumPeer ,
RLP const &   
)
inlineoverridevirtual

Implements dev::eth::EthereumPeerObserverFace.

Definition at line 90 of file EthereumPeerTest.cpp.

void MockEthereumPeerObserver::onPeerNewBlock ( std::shared_ptr< EthereumPeer ,
RLP const &   
)
inlineoverridevirtual

Implements dev::eth::EthereumPeerObserverFace.

Definition at line 96 of file EthereumPeerTest.cpp.

void MockEthereumPeerObserver::onPeerNewHashes ( std::shared_ptr< EthereumPeer ,
std::vector< std::pair< h256, u256 >> const &   
)
inlineoverridevirtual

Implements dev::eth::EthereumPeerObserverFace.

Definition at line 94 of file EthereumPeerTest.cpp.

void MockEthereumPeerObserver::onPeerNodeData ( std::shared_ptr< EthereumPeer ,
RLP const &   
)
inlineoverridevirtual

Implements dev::eth::EthereumPeerObserverFace.

Definition at line 98 of file EthereumPeerTest.cpp.

void MockEthereumPeerObserver::onPeerReceipts ( std::shared_ptr< EthereumPeer ,
RLP const &   
)
inlineoverridevirtual

Implements dev::eth::EthereumPeerObserverFace.

Definition at line 100 of file EthereumPeerTest.cpp.

void MockEthereumPeerObserver::onPeerStatus ( std::shared_ptr< EthereumPeer )
inlineoverridevirtual

Implements dev::eth::EthereumPeerObserverFace.

Definition at line 86 of file EthereumPeerTest.cpp.

void MockEthereumPeerObserver::onPeerTransactions ( std::shared_ptr< EthereumPeer ,
RLP const &   
)
inlineoverridevirtual

Implements dev::eth::EthereumPeerObserverFace.

Definition at line 88 of file EthereumPeerTest.cpp.


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