CatapultServer
v0.5.0.1 (Elephant)
|
DECLARE_SERVICE_REGISTRAR() NetworkPacketReaders()
Definition: NetworkPacketReadersService.cpp:82
utils::BaseValue< uint32_t, ServiceIdentifier_tag > ServiceIdentifier
Definition: NodeInfo.h:56
Requires all packet handlers to be registered.
net::ConnectionSettings GetConnectionSettings(const config::CatapultConfiguration &config)
Extracts connection settings from config.
Definition: NetworkUtils.cpp:25
def info(*args)
Definition: forwardsValidation.py:12
uint32_t GetMaxIncomingConnectionsPerIdentity(ionet::NodeRoles roles)
Gets the maximum number of incoming connections per identity as specified by roles.
Definition: NetworkUtils.cpp:47
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
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
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
Definition: AddressExtractionExtension.cpp:28
#define DECLARE_SERVICE_REGISTRAR(NAME)
Declares a service registrar entry point with NAME.
Definition: ServiceRegistrar.h:61