import java.io.IOException; import player.*; import http.server.*; /** Main Player entry point */ public class PlayerMain { /** Just start the PlayerServer */ public static void main(String[] args) throws IOException{ System.out.print("Starting Player..."); ServerThread server = Factory.create(new PlayerServer()); System.out.println("Hit enter to stop"); System.in.read(); server.shutdown(); } }