Package me.autobot.lib.server
Class Server
java.lang.Object
me.autobot.lib.server.Server
Server for the robot.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Server
public Server()
-
-
Method Details
-
start
public static void start(int _ws_port, int _rest_port) Starts the server on the specified ports.- Parameters:
_ws_port
- The port for the websocket server._rest_port
- The port for the REST server.
-
start
public static void start()Starts the server on ports (ws) 8080 and (rest) 8081.
-