(Client client)
| 162 | |
| 163 | |
| 164 | protected void addClient(Client client) { |
| 165 | synchronized (clientsLock) { |
| 166 | if (clientCount == clients.length) { |
| 167 | clients = (Client[]) PApplet.expand(clients); |
| 168 | } |
| 169 | clients[clientCount++] = client; |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | |
| 174 | protected int clientIndex(Client client) { |