CatapultServer  v0.5.0.1 (Elephant)
AsyncTcpServer.cpp File Reference
Include dependency graph for AsyncTcpServer.cpp:

Namespaces

 catapult
 
 catapult::net
 

Functions

std::shared_ptr< AsyncTcpServer > catapult::net::CreateAsyncTcpServer (const std::shared_ptr< thread::IoThreadPool > &pPool, const boost::asio::ip::tcp::endpoint &endpoint, const AsyncTcpServerSettings &settings)
 

Variable Documentation

◆ m_acceptor

boost::asio::ip::tcp::acceptor m_acceptor
private

◆ m_acceptorStrand

boost::asio::io_context::strand m_acceptorStrand
private

◆ m_isStopped

std::atomic_bool m_isStopped
private

◆ m_numCurrentConnections

std::atomic<uint32_t> m_numCurrentConnections
private

◆ m_numLifetimeConnections

std::atomic<uint32_t> m_numLifetimeConnections
private

◆ m_numPendingAccepts

std::atomic<uint32_t> m_numPendingAccepts
private

◆ m_pPool

std::shared_ptr<thread::IoThreadPool> m_pPool
private

◆ m_settings

const AsyncTcpServerSettings m_settings
private