Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
block_announce_transmitter_impl.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_NETWORK_BLOCKANNOUNCETRANSMITTERIMPL
7
#define KAGOME_NETWORK_BLOCKANNOUNCETRANSMITTERIMPL
8
9
#include "
network/block_announce_transmitter.hpp
"
10
11
namespace
kagome::network
{
12
class
Router;
13
14
class
BlockAnnounceTransmitterImpl
final :
public
BlockAnnounceTransmitter
{
15
public
:
16
BlockAnnounceTransmitterImpl
(std::shared_ptr<Router> router);
17
18
void
blockAnnounce
(
BlockAnnounce
&&announce)
override
;
19
20
private
:
21
std::shared_ptr<Router>
router_
;
22
};
23
24
}
// namespace kagome::network
25
26
#endif // KAGOME_NETWORK_BLOCKANNOUNCETRANSMITTERIMPL
block_announce_transmitter.hpp
kagome::network::BlockAnnounceTransmitter
Definition:
block_announce_transmitter.hpp:15
kagome::network::BlockAnnounceTransmitterImpl
Definition:
block_announce_transmitter_impl.hpp:14
kagome::network::BlockAnnounceTransmitterImpl::router_
std::shared_ptr< Router > router_
Definition:
block_announce_transmitter_impl.hpp:21
kagome::network::BlockAnnounceTransmitterImpl::blockAnnounce
void blockAnnounce(BlockAnnounce &&announce) override
Definition:
block_announce_transmitter_impl.cpp:16
kagome::network
Definition:
author_api_impl.hpp:37
kagome::network::BlockAnnounceTransmitterImpl::BlockAnnounceTransmitterImpl
BlockAnnounceTransmitterImpl(std::shared_ptr< Router > router)
Definition:
block_announce_transmitter_impl.cpp:12
kagome::network::BlockAnnounce
Definition:
block_announce.hpp:16
core
network
impl
block_announce_transmitter_impl.hpp
Generated by
1.8.11