Kagome
Polkadot Runtime Engine in C++17
kagome::network::BlockAnnounceTransmitterImpl Class Referencefinal

#include <block_announce_transmitter_impl.hpp>

Inheritance diagram for kagome::network::BlockAnnounceTransmitterImpl:
Collaboration diagram for kagome::network::BlockAnnounceTransmitterImpl:

Public Member Functions

 BlockAnnounceTransmitterImpl (std::shared_ptr< Router > router)
 
void blockAnnounce (BlockAnnounce &&announce) override
 
- Public Member Functions inherited from kagome::network::BlockAnnounceTransmitter
virtual ~BlockAnnounceTransmitter ()=default
 

Private Attributes

std::shared_ptr< Routerrouter_
 

Detailed Description

Definition at line 14 of file block_announce_transmitter_impl.hpp.

Constructor & Destructor Documentation

kagome::network::BlockAnnounceTransmitterImpl::BlockAnnounceTransmitterImpl ( std::shared_ptr< Router router)

Definition at line 12 of file block_announce_transmitter_impl.cpp.

Member Function Documentation

void kagome::network::BlockAnnounceTransmitterImpl::blockAnnounce ( BlockAnnounce &&  announce)
overridevirtual

Send BlockAnnounce message

Parameters
announceto be sent

Implements kagome::network::BlockAnnounceTransmitter.

Definition at line 16 of file block_announce_transmitter_impl.cpp.

Member Data Documentation

std::shared_ptr<Router> kagome::network::BlockAnnounceTransmitterImpl::router_
private

Definition at line 21 of file block_announce_transmitter_impl.hpp.


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