CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
27 namespace catapult {
namespace extensions {
30 template<
typename TSink>
32 return [&locator, serviceName](
const auto& entities) {
39 template<
typename TSink>
41 return [&locator, serviceName, packetType](
const auto& entities) {
Manages a collection of connections that send data to external nodes.
Definition: PacketWriters.h:41
std::shared_ptr< TService > service(const std::string &serviceName) const
Gets the service with serviceName.
Definition: ServiceLocator.h:74
PacketType
An enumeration of known packet types.
Definition: PacketType.h:171
PacketPayload CreateBroadcastPayload(const std::shared_ptr< const model::Block > &pBlock)
Creates a payload around pBlock for broadcasting.
Definition: BroadcastUtils.cpp:28
TSink CreatePushEntitySink(const extensions::ServiceLocator &locator, const std::string &serviceName)
Creates a sink that pushes entities using a service identified by serviceName in locator.
Definition: ServiceUtils.h:31
Definition: AddressExtractionExtension.cpp:28
A service locator for local node services.
Definition: ServiceLocator.h:33