Package cu.ftpd.user.statistics.none

Examples of cu.ftpd.user.statistics.none.NoUserStatistics


    protected void configureUserStatistics() throws ConfigurationException, IOException {
      boolean registerStatisticsCommands = true;
        switch (settings.getInt("/user/statistics/type")) {
            case 0: // none
              registerStatisticsCommands = false;
                userStatistics = new NoUserStatistics();
                break;
            case 2:
                if (settings.get("/user/statistics/remote/host") == null || settings.get("/user/statistics/remote/port") == null || settings.get("/user/statistics/remote/retry_interval") == null) {
                    throw new ConfigurationException("must specify {host, port, retry_interval} when using remote statistics");
                }
View Full Code Here

TOP

Related Classes of cu.ftpd.user.statistics.none.NoUserStatistics

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.