138139140141142143144145
return (end.getTime() - start.getTime()) / 1000.0d; } private void startServer() { server = new Smack("localhost", 7473, new ImpermanentGraphDatabase()); server.addRoute("",new PerformanceRoutes()); server.start(); }
7879808182838485
} } private void startServer() { server = new Smack("localhost", 7473, new ImpermanentGraphDatabase()); server.addRoute("",new PerformanceRoutes()); server.start(); }
89101112131415161718
private static Smack server; public static void main(String [] args) { server = new Smack("localhost", 7473, new ImpermanentGraphDatabase()); server.addRoute("",new PerformanceRoutes()); server.start(); try { Thread.sleep(1000 * 60 * 60 * 24 * 7);