Class JsonServer

All Implemented Interfaces:
InstanceManagerAutoDefault

@Deprecated
public class JsonServer
extends JsonServer
Deprecated.
since 4.19.2; use JsonServer instead
This is an implementation of a JSON server for JMRI. See jmri.server.json for more details.
  • Constructor Details

    • JsonServer

      public JsonServer()
      Deprecated.
      Create a new server using the default port.
    • JsonServer

      public JsonServer​(int port, int timeout)
      Deprecated.
      Create a new server.
      Parameters:
      port - the port to listen on
      timeout - the timeout before closing unresponsive connections