Lines Matching refs:clientId
74 pair.second.clientId, strerror(errno)); in run()
89 uint16_t clientId = pair.second.clientId; in sendToAllClients() local
90 if (sendToClientSocket(data, length, clientSocket, clientId)) { in sendToAllClients()
105 uint16_t clientId) { in sendToClientById() argument
110 uint16_t thisClientId = pair.second.clientId; in sendToClientById()
111 if (thisClientId == clientId) { in sendToClientById()
130 clientData.clientId = mNextClientId++; in acceptClientConnection()
136 if (clientData.clientId == 0) { in acceptClientConnection()
162 mClients.size(), clientData.clientId); in acceptClientConnection()
169 uint16_t clientId = clientData.clientId; in handleClientData() local
174 LOGE("Couldn't get packet from client %" PRIu16 ": %s", clientId, in handleClientData()
180 LOGI("Client %" PRIu16 " disconnected", clientId); in handleClientData()
183 LOGV("Got %zd byte packet from client %" PRIu16, packetSize, clientId); in handleClientData()
184 mClientMessageCallback(clientId, mRecvBuffer.data(), packetSize); in handleClientData()
211 int clientSocket, uint16_t clientId) { in sendToClientSocket() argument
216 clientId, strerror(errno)); in sendToClientSocket()
219 clientId); in sendToClientSocket()
222 clientId); in sendToClientSocket()