Kagome
Polkadot Runtime Engine in C++17
kagome::network::ReqCollationObserver Struct Referenceabstract

#include <req_collation_observer.hpp>

Inheritance diagram for kagome::network::ReqCollationObserver:
Collaboration diagram for kagome::network::ReqCollationObserver:

Public Member Functions

virtual ~ReqCollationObserver ()=default
 
virtual outcome::result< CollationFetchingResponseOnCollationRequest (CollationFetchingRequest request)=0
 

Detailed Description

Reacts to messages, related to collation protocol

Definition at line 19 of file req_collation_observer.hpp.

Constructor & Destructor Documentation

virtual kagome::network::ReqCollationObserver::~ReqCollationObserver ( )
virtualdefault

Member Function Documentation

virtual outcome::result<CollationFetchingResponse> kagome::network::ReqCollationObserver::OnCollationRequest ( CollationFetchingRequest  request)
pure virtual

Since we are not collator node. Received request should make call to subsystem to decrease rank of the requested node.

Implemented in kagome::observers::ReqCollationObserverImpl, and kagome::parachain::ParachainObserverImpl.


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