6 #ifndef KAGOME_ROUTER_HPP 7 #define KAGOME_ROUTER_HPP 9 #include <libp2p/connection/stream.hpp> 10 #include <libp2p/protocol/ping.hpp> 34 virtual std::shared_ptr<PropagateTransactionsProtocol>
40 virtual std::shared_ptr<libp2p::protocol::Ping>
getPingProtocol()
const = 0;
44 #endif // KAGOME_ROUTER_HPP virtual std::shared_ptr< libp2p::protocol::Ping > getPingProtocol() const =0
virtual std::shared_ptr< StateProtocol > getStateProtocol() const =0
virtual std::shared_ptr< ReqCollationProtocol > getReqCollationProtocol() const =0
virtual std::shared_ptr< PropagateTransactionsProtocol > getPropagateTransactionsProtocol() const =0
virtual std::shared_ptr< BlockAnnounceProtocol > getBlockAnnounceProtocol() const =0
virtual std::shared_ptr< SyncProtocol > getSyncProtocol() const =0
virtual std::shared_ptr< GrandpaProtocol > getGrandpaProtocol() const =0
virtual std::shared_ptr< CollationProtocol > getCollationProtocol() const =0
virtual ~Router()=default