Lines Matching refs:clientId
96 pair.second.clientId, strerror(errno)); in run()
111 uint16_t clientId = pair.second.clientId; in sendToAllClients() local
112 if (sendToClientSocket(data, length, clientSocket, clientId)) { in sendToAllClients()
127 uint16_t clientId) { in sendToClientById() argument
132 uint16_t thisClientId = pair.second.clientId; in sendToClientById()
133 if (thisClientId == clientId) { in sendToClientById()
152 clientData.clientId = mNextClientId++; in acceptClientConnection()
158 if (clientData.clientId == 0) { in acceptClientConnection()
182 PRIu16, mClients.size(), clientData.clientId); in acceptClientConnection()
189 uint16_t clientId = clientData.clientId; in handleClientData() local
194 LOGE("Couldn't get packet from client %" PRIu16 ": %s", clientId, in handleClientData()
197 LOGI("Client %" PRIu16 " disconnected", clientId); in handleClientData()
200 LOGV("Got %zd byte packet from client %" PRIu16, packetSize, clientId); in handleClientData()
201 mClientMessageCallback(clientId, mRecvBuffer.data(), packetSize); in handleClientData()
228 int clientSocket, uint16_t clientId) { in sendToClientSocket() argument
233 length, clientId, strerror(errno)); in sendToClientSocket()
236 clientId); in sendToClientSocket()
239 clientId); in sendToClientSocket()