コード例 #1
0
 /**
  * Retrieves the set of active client connections that have been established through this
  * connection handler.
  *
  * @return The set of active client connections that have been established through this connection
  *     handler.
  */
 @Override
 public Collection<ClientConnection> getClientConnections() {
   List<ClientConnection> connectionList = new LinkedList<>();
   for (LDAPRequestHandler requestHandler : requestHandlers) {
     connectionList.addAll(requestHandler.getClientConnections());
   }
   return connectionList;
 }