/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java
ViewVC logotype

Diff of /miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1936 by torben, Wed Mar 20 14:56:43 2013 UTC revision 1937 by torben, Wed Mar 20 15:03:23 2013 UTC
# Line 141  public class HoerupUtilsPlugin extends J Line 141  public class HoerupUtilsPlugin extends J
141                                    
142                  try  {                  try  {
143                          InetSocketAddress adr = new InetSocketAddress("localhost", 9999);                          InetSocketAddress adr = new InetSocketAddress("localhost", 9999);
144                          HttpServer.create(adr, 10);                          server = HttpServer.create(adr, 10);
145                          server.createContext("/bans", new BanListener(this, getServer()) );                          server.createContext("/bans", new BanListener(this, getServer()) );
146                          server.createContext("/webstatus", new StatusListener(this, getServer(),logintimeHandler.getConfig(), home.getConfig()) );                          server.createContext("/webstatus", new StatusListener(this, getServer(),logintimeHandler.getConfig(), home.getConfig()) );
147                          server.start();                          server.start();

Legend:
Removed from v.1936  
changed lines
  Added in v.1937

  ViewVC Help
Powered by ViewVC 1.1.20