Package net.sourceforge.guacamole.net.auth.mysql

Examples of net.sourceforge.guacamole.net.auth.mysql.MySQLConnectionRecord


            Date endDate = history.getEnd_date();
            String username = usernameMap.get(history.getUser_id());

            // If there are active users, list the top N not-ended connections
            // as active (best guess)
            MySQLConnectionRecord connectionRecord;
            if (user_count > 0 && endDate == null) {
                connectionRecord = new MySQLConnectionRecord(startDate, endDate, username, true);
                user_count--;
            }

            // If no active users, or end date is recorded, connection is not
            // active.
            else
                connectionRecord = new MySQLConnectionRecord(startDate, endDate, username, false);

            connectionRecords.add(connectionRecord);

        }
View Full Code Here

TOP

Related Classes of net.sourceforge.guacamole.net.auth.mysql.MySQLConnectionRecord

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.