Package org.eclipse.lemminx
Class XMLServerSocketLauncher
- java.lang.Object
-
- org.eclipse.lemminx.XMLServerSocketLauncher
-
public class XMLServerSocketLauncher extends Object
-
-
Constructor Summary
Constructors Constructor Description XMLServerSocketLauncher()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetPort(String... args)voidlaunch(String[] args)LaunchesXMLLanguageServerusing asynchronous server-socket channel and makes it accessible through the JSON RPC protocol defined by the LSP.static voidmain(String[] args)Callslaunch(String[])
-
-
-
Method Detail
-
main
public static void main(String[] args) throws Exception
Callslaunch(String[])- Throws:
Exception
-
launch
public void launch(String[] args) throws Exception
LaunchesXMLLanguageServerusing asynchronous server-socket channel and makes it accessible through the JSON RPC protocol defined by the LSP.- Parameters:
args- standard launch arguments. may contain--portargument to change the default port 5008- Throws:
Exception
-
getPort
protected int getPort(String... args)
-
-