logback-android/src/main/java/ch/qos/logback/core/net/server/ConcurrentServerRunner.java
private void addClient(T client) {
    clientsLock.lock();
    try {
      clients.add(client);
    }
    finally {
      clientsLock.unlock();
    }
  }
private void addClient(T client) {
    clientsLock.lock();
    try {
      clients.add(client);
    }
    finally {
      clientsLock.unlock();
    }
  }
private void addClient ( T client ) { clientsLock . lock ( ) ; try { clients . add ( client ) ; } finally { clientsLock . unlock ( ) ; } }
Adds a client to the collection of those being tracked by the server.
@param client the client to add
Adds a client to the collection of those being tracked by the server .