Kagome
Polkadot Runtime Engine in C++17
kagome::network::StateProtocolObserver Class Referenceabstract

#include <state_protocol_observer.hpp>

Inheritance diagram for kagome::network::StateProtocolObserver:
Collaboration diagram for kagome::network::StateProtocolObserver:

Public Member Functions

virtual ~StateProtocolObserver ()=default
 
virtual outcome::result< StateResponseonStateRequest (const StateRequest &request) const =0
 

Detailed Description

Reactive part of State protocol

Definition at line 17 of file state_protocol_observer.hpp.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual outcome::result<StateResponse> kagome::network::StateProtocolObserver::onStateRequest ( const StateRequest request) const
pure virtual

Process a state request

Parameters
requestto be processed
Returns
state request or error

Implemented in kagome::network::StateProtocolObserverImpl.


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