Package net.gridshield.nexsm.entityclasses

Examples of net.gridshield.nexsm.entityclasses.ServiceStatus


                String klass = "";
                String hostname = "";
                String service = "";
                Host h = null;
                HostStatus hs = null;
                ServiceStatus ss = null;
                if (args.length >= 1) {
                    klass = (String)args[0];
                }
                if (args.length >= 2) {
                    hostname = (String)args[1];
View Full Code Here


            if (scheduled_downtime_depth) { try {
                    htmp.setScheduledDowntimeDepth(Integer.parseInt(str));
                } catch (NumberFormatException nfe) { System.out.println("NumberFormatExcetion in DHStatus:scheduledowntimedepth, " + nfe.toString()); }
            }
        } else if (serviceDefinition) {
            if (host_name) { stmp = new ServiceStatus(str); }
            if (last_check) {
                try {
                    stmp.setLastCheck(Long.parseLong(str)*1000);
                }catch (NumberFormatException nfe) {}
            }
View Full Code Here

TOP

Related Classes of net.gridshield.nexsm.entityclasses.ServiceStatus

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.