Class Server

java.lang.Object
org.photonvision.server.Server

public class Server extends Object
  • Constructor Details

    • Server

      public Server()
  • Method Details

    • initialize

      public static void initialize(int port)
    • restart

      public static void restart()
      Seems like if we change the static IP of this device, Javalin refuses to tell us when new Websocket clients connect. As a hack, we can restart the server every time we change static IPs