Package org.jdesktop.wonderland.servermanager.client

Examples of org.jdesktop.wonderland.servermanager.client.PingDataCollector


        int count = Integer.MAX_VALUE;
        if (countParam != null) {
            count = Integer.parseInt(countParam);
        }
       
        PingDataCollector collector = (PingDataCollector) context.getAttribute(PingDataCollector.KEY);
       
        // get the data we want
        List<PingData> data = collector.getData(after, count);
       
        // find out how much data there is
        int dataSize = collector.getDataSize();
       
        ResponseBuilder rb = Response.ok(new PingDataCollection(dataSize, data));
        return rb.build();
    }
View Full Code Here


    private AdminRegistration ar;
   
    public void contextInitialized(ServletContextEvent sce) {
        ServletContext context = sce.getServletContext();
       
        pdc = new PingDataCollector();
        context.setAttribute(PingDataCollector.KEY, pdc);
   
        ar = new AdminRegistration("Monitor Server",
                                   "/servermanager/servermanager-web");
        ar.setFilter(AdminRegistration.ADMIN_FILTER);
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.servermanager.client.PingDataCollector

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.