|
CatapultServer
v0.5.0.1 (Elephant)
|
A manager for registering mongo plugins. More...

Public Member Functions | |
| MongoPluginManager (MongoStorageContext &mongoContext, model::NetworkIdentifier networkIdentifier) | |
| Creates a new plugin manager around mongoContext and networkIdentifier. More... | |
| MongoStorageContext & | mongoContext () const |
| Gets the mongo storage context. More... | |
| model::NetworkIdentifier | networkIdentifier () const |
| Gets the network idenfifier. More... | |
| void | addTransactionSupport (std::unique_ptr< MongoTransactionPlugin > &&pTransactionPlugin) |
| Adds support for a transaction described by pTransactionPlugin. More... | |
| void | addReceiptSupport (std::unique_ptr< MongoReceiptPlugin > &&pReceiptPlugin) |
| Adds support for a receipt described by pReceiptPlugin. More... | |
| template<typename TStorage > | |
| void | addStorageSupport (std::unique_ptr< TStorage > &&pStorage) |
| Adds support for an external cache storage described by pStorage. More... | |
| const MongoTransactionRegistry & | transactionRegistry () const |
| Gets the transaction registry. More... | |
| const MongoReceiptRegistry & | receiptRegistry () const |
| Gets the receipt registry. More... | |
| std::unique_ptr< ExternalCacheStorage > | createStorage () |
| Creates an external cache storage. More... | |
A manager for registering mongo plugins.
|
inlineexplicit |
Creates a new plugin manager around mongoContext and networkIdentifier.
|
inline |
Adds support for a receipt described by pReceiptPlugin.


|
inline |
Adds support for an external cache storage described by pStorage.


|
inline |
Adds support for a transaction described by pTransactionPlugin.


|
inline |
Creates an external cache storage.

|
inline |
Gets the mongo storage context.

|
inline |
Gets the network idenfifier.

|
inline |
Gets the receipt registry.
|
inline |
Gets the transaction registry.

|
private |
|
private |
|
private |
|
private |
|
private |