public int getNumberOfConnections() {
		final ResourcePool[] socketSets = cloneListOfSocketSets();

		int result = 0;

		for (int i = 0; i < socketSets.length; ++i) {
			result += socketSets[i].countActive();
		}

		return result;
	}
The number of connections that have been accepted and are still active.
Used by the unit tests.

@return The number of accepted connections.
ngrinder-core/src/main/java/net/grinder/communication/Acceptor.java