Lines Matching refs:clientId
95 pair.second.clientId, strerror(errno)); in run()
110 uint16_t clientId = pair.second.clientId; in sendToAllClients() local
111 if (sendToClientSocket(data, length, clientSocket, clientId)) { in sendToAllClients()
126 uint16_t clientId) { in sendToClientById() argument
131 uint16_t thisClientId = pair.second.clientId; in sendToClientById()
132 if (thisClientId == clientId) { in sendToClientById()
151 clientData.clientId = mNextClientId++; in acceptClientConnection()
157 if (clientData.clientId == 0) { in acceptClientConnection()
183 mClients.size(), clientData.clientId); in acceptClientConnection()
190 uint16_t clientId = clientData.clientId; in handleClientData() local
195 LOGE("Couldn't get packet from client %" PRIu16 ": %s", clientId, in handleClientData()
198 LOGI("Client %" PRIu16 " disconnected", clientId); in handleClientData()
201 LOGV("Got %zd byte packet from client %" PRIu16, packetSize, clientId); in handleClientData()
202 mClientMessageCallback(clientId, mRecvBuffer.data(), packetSize); in handleClientData()
229 int clientSocket, uint16_t clientId) { in sendToClientSocket() argument
234 clientId, strerror(errno)); in sendToClientSocket()
237 clientId); in sendToClientSocket()
240 clientId); in sendToClientSocket()