Searched refs:mClients (Results 1 – 4 of 4) sorted by relevance
67 for (auto pair : mClients) { in ~SocketListener()96 mClients[mSock] = new SocketClient(mSock, false, mUseCmdNum); in startListener()136 for (auto pair : mClients) { in stopListener()139 mClients.clear(); in stopListener()156 fds.reserve(2 + mClients.size()); in runListener()159 for (auto pair : mClients) { in runListener()191 mClients[c] = new SocketClient(c, true, mUseCmdNum); in runListener()203 auto it = mClients.find(p.fd); in runListener()204 if (it == mClients.end()) { in runListener()233 ret = (mClients.erase(c->getSocket()) != 0); in release()[all …]
92 for (const auto& pair : mClients) { in run()99 mClients.clear(); in run()109 for (const auto& pair : mClients) { in sendToAllClients()131 for (const auto& pair : mClients) { in sendToClientById()147 } else if (mClients.size() >= kMaxActiveClients) { in acceptClientConnection()179 mClients[clientSocket] = clientData; in acceptClientConnection()182 PRIu16, mClients.size(), clientData.clientId); in acceptClientConnection()188 const ClientData& clientData = mClients[clientSocket]; in handleClientData()208 mClients.erase(clientSocket); in disconnectClient()
30 std::unordered_map<int, SocketClient*> mClients; variable
101 std::map<int, ClientData> mClients; variable