MCPcopy Index your code
hub / github.com/processing/processing / addClient

Method addClient

java/libraries/net/src/processing/net/Server.java:164–171  ·  view source on GitHub ↗
(Client client)

Source from the content-addressed store, hash-verified

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) {

Callers 1

runMethod · 0.95

Calls 1

expandMethod · 0.95

Tested by

no test coverage detected