#include "ordering_gate_transport.hpp"

Public Member Functions | |
| virtual void | subscribe (std::shared_ptr< OrderingGateNotification > subscriber)=0 |
| virtual void | propagateBatch (std::shared_ptr< shared_model::interface::TransactionBatch > batch)=0 |
| virtual | ~OrderingGateTransport ()=default |
A generic transport interface for ordering gate, any output transaction must go through this transport Moreover, it receives transaction and then routes it to a subscriber
|
virtualdefault |
|
pure virtual |
Propagates transaction batch over network
| batch | to be propagated |
|
pure virtual |
Subscribes a notification class to current transport
| subscriber | : A pointer to OrderingGateNotification, that needs to be notified |