Package com.someluigi.tuc.server.player

Examples of com.someluigi.tuc.server.player.Player


            return; // Exit from HTTP Processing
      }
     
      String addr = a.toString();
      if (addr.equalsIgnoreCase("/ser")) {
        Player p = new Player("slm", "AUser", 1);
        p.save();
        body.println("Serializing player");
        stdOut.println("Stopping the server...");
      }
     
      if (addr.equalsIgnoreCase("/stop")) {
        body.println("Stopping Server");
        body.close();
        HttpServer.stop();
      }
     
      if (addr.equalsIgnoreCase("/deser")) {
        Player p = (Player) EasySerialize.loadObj("a_player.player.ser");
        body.println("Loaded player " + p.techname);
       
      }
      body.println("Accessing URL: " + req.getAddress());
      body.close();
View Full Code Here

TOP

Related Classes of com.someluigi.tuc.server.player.Player

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.