24 std::map<ConnectionPtr, asio::ip::address>::iterator
it = mConnections.find(
c);
25 if(
it != mConnections.end())
28 mConnections.erase(
it);
36 std::map<ConnectionPtr, asio::ip::address>::iterator
it = mConnections.begin();
38 for(;
it != mConnections.end();
it++)
void stop(ConnectionPtr c)
Stop the specified connection.
void stopAll()
Stop all connections.
void start(ConnectionPtr c, const asio::ip::address &remoteAddress)
Add the specified connection, from remoteAddress, to the manager and start it - or,...
void removeConnection(const asio::ip::address &address)
bool addConnection(const asio::ip::address &address)
TCP and TLS connections per client IP address (MaxTcpConnectionsPerIp): addConnection returns false,...
std::shared_ptr< AsyncSocketBase > ConnectionPtr