CatapultServer  v0.5.0.1 (Elephant)
NetworkPacketReadersService.h
Go to the documentation of this file.
1 
21 #pragma once
24 
25 namespace catapult { namespace packetserver {
26 
30 }}
catapult::packetserver::NetworkPacketReaders
DECLARE_SERVICE_REGISTRAR() NetworkPacketReaders()
Definition: NetworkPacketReadersService.cpp:82
ServiceRegistrar.h
catapult::ionet::ServiceIdentifier
utils::BaseValue< uint32_t, ServiceIdentifier_tag > ServiceIdentifier
Definition: NodeInfo.h:56
catapult::extensions::ServiceRegistrarPhase::Post_Packet_Handlers
Requires all packet handlers to be registered.
ServiceLocator.h
NetworkPacketReadersService.h
PeersConnectionTasks.h
catapult::extensions::GetConnectionSettings
net::ConnectionSettings GetConnectionSettings(const config::CatapultConfiguration &config)
Extracts connection settings from config.
Definition: NetworkUtils.cpp:25
forwardsValidation.info
def info(*args)
Definition: forwardsValidation.py:12
catapult::extensions::GetMaxIncomingConnectionsPerIdentity
uint32_t GetMaxIncomingConnectionsPerIdentity(ionet::NodeRoles roles)
Gets the maximum number of incoming connections per identity as specified by roles.
Definition: NetworkUtils.cpp:47
catapult::extensions::CreateAgePeersTask
thread::Task CreateAgePeersTask(const SelectorSettings &settings, net::ConnectionContainer &connectionContainer)
Creates a task for the specified service that ages nodes given settings and connectionContainer.
Definition: PeersConnectionTasks.cpp:230
MultiServicePool.h
catapult::net::CreatePacketReaders
std::shared_ptr< PacketReaders > CreatePacketReaders(const std::shared_ptr< thread::IoThreadPool > &pPool, const ionet::ServerPacketHandlers &handlers, const crypto::KeyPair &keyPair, const ConnectionSettings &settings, uint32_t maxConnectionsPerIdentity)
Definition: PacketReaders.cpp:236
NetworkUtils.h
catapult::extensions::BootServer
std::shared_ptr< net::AsyncTcpServer > BootServer(thread::MultiServicePool::ServiceGroup &serviceGroup, unsigned short port, ionet::ServiceIdentifier serviceId, const config::CatapultConfiguration &config, subscribers::NodeSubscriber &nodeSubscriber, TAcceptor acceptor)
Definition: NetworkUtils.h:43
catapult
Definition: AddressExtractionExtension.cpp:28
PacketReaders.h
DECLARE_SERVICE_REGISTRAR
#define DECLARE_SERVICE_REGISTRAR(NAME)
Declares a service registrar entry point with NAME.
Definition: ServiceRegistrar.h:61
ServiceState.h