Kagome
Polkadot Runtime Engine in C++17
|
#include <protocol_req_collation.hpp>
Public Member Functions | |
ReqCollationProtocol ()=delete | |
~ReqCollationProtocol () override=default | |
ReqCollationProtocol (libp2p::Host &host, application::AppConfiguration const &app_config, application::ChainSpec const &chain_spec, std::shared_ptr< ReqCollationObserver > observer) | |
const Protocol & | protocolName () const override |
bool | start () override |
bool | stop () override |
void | onIncomingStream (std::shared_ptr< Stream > stream) override |
void | newOutgoingStream (const PeerInfo &peer_info, std::function< void(outcome::result< std::shared_ptr< Stream >>)> &&cb) override |
void | request (const PeerId &peer_id, CollationFetchingRequest request, std::function< void(outcome::result< CollationFetchingResponse >)> &&response_handler) override |
Public Member Functions inherited from kagome::network::ProtocolBase | |
ProtocolBase ()=default | |
ProtocolBase (ProtocolBase &&) noexcept=delete | |
ProtocolBase (const ProtocolBase &)=delete | |
virtual | ~ProtocolBase ()=default |
ProtocolBase & | operator= (ProtocolBase &&) noexcept=delete |
ProtocolBase & | operator= (ProtocolBase const &)=delete |
Private Attributes | |
std::shared_ptr< ReqCollationProtocolImpl > | impl_ |
Additional Inherited Members | |
Private Member Functions inherited from NonCopyable | |
NonCopyable (NonCopyable const &)=delete | |
NonCopyable & | operator= (NonCopyable const &)=delete |
NonCopyable ()=default | |
~NonCopyable ()=default | |
Private Member Functions inherited from NonMovable | |
NonMovable (NonMovable &&)=delete | |
NonMovable & | operator= (NonMovable &&)=delete |
NonMovable ()=default | |
~NonMovable ()=default | |
Definition at line 31 of file protocol_req_collation.hpp.
|
delete |
|
overridedefault |
kagome::network::ReqCollationProtocol::ReqCollationProtocol | ( | libp2p::Host & | host, |
application::AppConfiguration const & | app_config, | ||
application::ChainSpec const & | chain_spec, | ||
std::shared_ptr< ReqCollationObserver > | observer | ||
) |
Definition at line 50 of file protocol_req_collation.cpp.
|
overridevirtual |
Implements kagome::network::ProtocolBase.
Definition at line 77 of file protocol_req_collation.cpp.
|
overridevirtual |
Implements kagome::network::ProtocolBase.
Definition at line 73 of file protocol_req_collation.cpp.
|
overridevirtual |
Implements kagome::network::ProtocolBase.
Definition at line 58 of file protocol_req_collation.cpp.
|
overridevirtual |
Implements kagome::network::IReqCollationProtocol.
Definition at line 83 of file protocol_req_collation.cpp.
|
overridevirtual |
Implements kagome::network::ProtocolBase.
Definition at line 63 of file protocol_req_collation.cpp.
|
overridevirtual |
Implements kagome::network::ProtocolBase.
Definition at line 68 of file protocol_req_collation.cpp.
|
private |
Definition at line 60 of file protocol_req_collation.hpp.