#include "ordering_service_transport.hpp"

Public Member Functions | |
| virtual void | subscribe (std::shared_ptr< OrderingServiceNotification > subscriber)=0 |
| virtual void | publishProposal (std::unique_ptr< shared_model::interface::Proposal > proposal, const std::vector< std::string > &peers)=0 |
| virtual | ~OrderingServiceTransport ()=default |
A generic transport interface for ordering service, any output transaction must go through this transport Moreover, it receives transaction and then routes it to a subscriber
|
virtualdefault |
|
pure virtual |
Publishes proposal over network
| proposal | : proposal to be published |
|
pure virtual |
Subscribes a notification class to current transport
| subscriber | : A pointer to OrderingServiceNotification, that needs to be notified |