CatapultServer
v0.5.0.1 (Elephant)
|
Context passed to all the observers. More...
Public Member Functions | |
ObserverContext (const ObserverState &state, Height height, NotifyMode mode, const model::ResolverContext &resolvers) | |
ObserverStatementBuilder & | StatementBuilder () |
Statement builder. More... | |
Public Attributes | |
cache::CatapultCacheDelta & | Cache |
Catapult cache. More... | |
state::CatapultState & | State |
Catapult state. More... | |
const catapult::Height | Height |
Current height. More... | |
const NotifyMode | Mode |
Notification mode. More... | |
const model::ResolverContext | Resolvers |
Alias resolvers. More... | |
Private Attributes | |
ObserverStatementBuilder | m_statementBuilder |
Context passed to all the observers.
catapult::observers::ObserverContext::ObserverContext | ( | const ObserverState & | state, |
catapult::Height | height, | ||
NotifyMode | mode, | ||
const model::ResolverContext & | resolvers | ||
) |
Creates an observer context around state at height with specified mode and resolvers.
ObserverStatementBuilder & catapult::observers::ObserverContext::StatementBuilder | ( | ) |
Statement builder.
cache::CatapultCacheDelta& catapult::observers::ObserverContext::Cache |
Catapult cache.
const catapult::Height catapult::observers::ObserverContext::Height |
Current height.
|
private |
const NotifyMode catapult::observers::ObserverContext::Mode |
Notification mode.
const model::ResolverContext catapult::observers::ObserverContext::Resolvers |
Alias resolvers.
state::CatapultState& catapult::observers::ObserverContext::State |
Catapult state.