Searched refs:mClients (Results 1 – 4 of 4) sorted by relevance
55 mClients = new SocketClientCollection(); in init()67 for (it = mClients->begin(); it != mClients->end();) { in ~SocketListener()69 it = mClients->erase(it); in ~SocketListener()71 delete mClients; in ~SocketListener()98 mClients->push_back(new SocketClient(mSock, false, mUseCmdNum)); in startListener()139 for (it = mClients->begin(); it != mClients->end();) { in stopListener()141 it = mClients->erase(it); in stopListener()176 for (it = mClients->begin(); it != mClients->end(); ++it) { in runListener()211 mClients->push_back(new SocketClient(c, true, mUseCmdNum)); in runListener()218 for (it = mClients->begin(); it != mClients->end(); ++it) { in runListener()[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()
28 SocketClientCollection *mClients; variable
100 std::map<int, ClientData> mClients; variable