Package avrora.monitors

Examples of avrora.monitors.MonitorFactory


    protected void processMonitorList() {
        List l = MONITORS.get();
        Iterator i = l.iterator();
        while (i.hasNext()) {
            String clname = (String)i.next();
            MonitorFactory mf = Defaults.getMonitor(clname);
            mf.processOptions(options);
            monitorFactoryList.addLast(mf);
        }
    }
View Full Code Here


            synchronizer.addNode(this);
            // OLD MONITOR API SUPPORT:
            // for each of the monitors in the factory list, create a new monitor
            Iterator i = monitorFactoryList.iterator();
            while ( i.hasNext() ) {
                MonitorFactory f = (MonitorFactory)i.next();
                avrora.monitors.Monitor m = f.newMonitor(simulator);
                if ( m != null ) monitors.add(m);
            }
            // NEW MONITOR API SUPPORT:
            // for each monitor attached to this node, allow them to construct data structures
            Iterator mi = monitors.iterator();
View Full Code Here

TOP

Related Classes of avrora.monitors.MonitorFactory

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.