|
ledger-core
|
Inheritance diagram for ledger::core::LedgerApiEthereumLikeBlockchainObserver:
Collaboration diagram for ledger::core::LedgerApiEthereumLikeBlockchainObserver:Public Member Functions | |
| LedgerApiEthereumLikeBlockchainObserver (const std::shared_ptr< api::ExecutionContext > &context, const std::shared_ptr< WebSocketClient > &client, const std::shared_ptr< api::DynamicObject > &configuration, const std::shared_ptr< spdlog::logger > &logger, const api::Currency ¤cy) | |
Public Member Functions inherited from ledger::core::EthereumLikeBlockchainObserver | |
| EthereumLikeBlockchainObserver (const std::shared_ptr< api::ExecutionContext > &context, const std::shared_ptr< api::DynamicObject > &configuration, const std::shared_ptr< spdlog::logger > &logger, const api::Currency ¤cy, const std::vector< std::string > &matchableKeys) | |
Public Member Functions inherited from ledger::core::AbstractBlockchainObserver< Account, BlockchainExplorerTransaction, BlockchainExplorerBlock > | |
| virtual bool | registerAccount (const std::shared_ptr< Account > &account) |
| virtual bool | unregisterAccount (const std::shared_ptr< Account > &account) |
| virtual bool | isRegistered (const std::shared_ptr< Account > &account) |
| std::shared_ptr< spdlog::logger > | logger () const |
| bool | isObserving () const |
Public Member Functions inherited from ledger::core::DedicatedContext | |
| DedicatedContext (const std::shared_ptr< api::ExecutionContext > &context) | |
| template<typename T > | |
| Future< T > | async (std::function< T()> f) |
| template<typename T > | |
| Future< T > | async (std::function< T()> f) const |
| Future< Unit > | run (std::function< void()> f) |
| std::shared_ptr< api::ExecutionContext > | getContext () const |
Public Member Functions inherited from ledger::core::ConfigurationMatchable | |
| ConfigurationMatchable (const std::vector< std::string > &matchableKeys) | |
| bool | match (const std::shared_ptr< api::DynamicObject > &configuration) |
| void | setConfiguration (const std::shared_ptr< api::DynamicObject > &configuration) |
Protected Member Functions | |
| void | onStart () override |
| void | onStop () override |
Protected Member Functions inherited from ledger::core::AbstractLedgerApiBlockchainObserver | |
| void | onSocketEvent (WebSocketEventType event, const std::shared_ptr< WebSocketConnection > &connection, const Option< std::string > &message, Option< api::ErrorCode > code) |
Protected Member Functions inherited from ledger::core::EthereumLikeBlockchainObserver | |
| void | putTransaction (const EthereumLikeBlockchainExplorerTransaction &tx) override |
| void | putBlock (const EthereumLikeBlockchainExplorer::Block &block) override |
| const api::Currency & | getCurrency () const |
| std::shared_ptr< api::DynamicObject > | getConfiguration () const |
Protected Member Functions inherited from ledger::core::AbstractBlockchainObserver< Account, BlockchainExplorerTransaction, BlockchainExplorerBlock > | |
| virtual void | putTransaction (const BlockchainExplorerTransaction &tx)=0 |
| virtual void | putBlock (const BlockchainExplorerBlock &block)=0 |
| void | setLogger (const std::shared_ptr< spdlog::logger > &logger) |
Additional Inherited Members | |
Protected Attributes inherited from ledger::core::AbstractLedgerApiBlockchainObserver | |
| std::shared_ptr< WebSocketConnection > | _socket |
| int32_t | _attempt |
| std::string | _url |
Protected Attributes inherited from ledger::core::AbstractBlockchainObserver< Account, BlockchainExplorerTransaction, BlockchainExplorerBlock > | |
| std::list< std::shared_ptr< Account > > | _accounts |
| std::mutex | _lock |
| std::shared_ptr< spdlog::logger > | _logger |
Protected Attributes inherited from ledger::core::DedicatedContext | |
| std::shared_ptr< api::ExecutionContext > | _executionContext |
1.8.13