Class XMLServerSocketLauncher

java.lang.Object
org.eclipse.lemminx.XMLServerSocketLauncher

public class XMLServerSocketLauncher extends Object
  • Constructor Details

    • XMLServerSocketLauncher

      public XMLServerSocketLauncher()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • launch

      public void launch(String[] args) throws Exception
      Launches XMLLanguageServer using asynchronous server-socket channel and makes it accessible through the JSON RPC protocol defined by the LSP.
      Parameters:
      args - standard launch arguments. may contain --port argument to change the default port 5008
      Throws:
      Exception
    • getPort

      protected int getPort(String... args)