Package org.mortbay.cometd.ext

Examples of org.mortbay.cometd.ext.StatisticsExtension


            },2000,2000);
        }
       
        if (Boolean.getBoolean("STATS"))
        {
            StatisticsExtension ext = new StatisticsExtension();
            ext.setStatsRequestKeys(new String[]{"chat"});
            ext.setStatsRequestSentinel("//stats");
            ext.setStatsRequestChannel("/chat/demo");   
            ext.setStatsResultSentinel("//stats-results");
            ext.setStatsConfirmSentinel("//stats-confirm");
            ext.setProbeChannel("/chat/demo");
            ext.setProbeSentinel("//stats-probe");
            ext.setProbeReplySentinel("//stats-reply");
            ext.setProbeReplyChannel("/chat/demo");
            ext.setProbeReplyKeys(new String[]{"chat"});
          
            bayeux.addExtension(ext);
        }
    }
View Full Code Here

TOP

Related Classes of org.mortbay.cometd.ext.StatisticsExtension

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.