CatapultServer  v0.5.0.1 (Elephant)
catapult::net::AsyncTcpServer Class Referenceabstract

An async TCP server. More...

Public Member Functions

virtual ~AsyncTcpServer ()=default
 
virtual uint32_t numPendingAccepts () const =0
 Number of asynchronously started (but not completed) socket accepts. More...
 
virtual uint32_t numCurrentConnections () const =0
 Current number of active connections. More...
 
virtual uint32_t numLifetimeConnections () const =0
 Total number of connections during the server's lifetime. More...
 
virtual void shutdown ()=0
 Shuts down the server. More...
 

Detailed Description

An async TCP server.

Constructor & Destructor Documentation

◆ ~AsyncTcpServer()

virtual catapult::net::AsyncTcpServer::~AsyncTcpServer ( )
virtualdefault

Member Function Documentation

◆ numCurrentConnections()

virtual uint32_t catapult::net::AsyncTcpServer::numCurrentConnections ( ) const
pure virtual

Current number of active connections.

◆ numLifetimeConnections()

virtual uint32_t catapult::net::AsyncTcpServer::numLifetimeConnections ( ) const
pure virtual

Total number of connections during the server's lifetime.

◆ numPendingAccepts()

virtual uint32_t catapult::net::AsyncTcpServer::numPendingAccepts ( ) const
pure virtual

Number of asynchronously started (but not completed) socket accepts.

◆ shutdown()

virtual void catapult::net::AsyncTcpServer::shutdown ( )
pure virtual

Shuts down the server.


The documentation for this class was generated from the following file: