public final class DSPLauncher
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.lsp4j.jsonrpc.Launcher<IDebugProtocolServer> |
createClientLauncher(IDebugProtocolClient client,
java.io.InputStream in,
java.io.OutputStream out)
Create a new Launcher for a debug client and an input and output stream.
|
static org.eclipse.lsp4j.jsonrpc.Launcher<IDebugProtocolServer> |
createClientLauncher(IDebugProtocolClient client,
java.io.InputStream in,
java.io.OutputStream out,
boolean validate,
java.io.PrintWriter trace)
Create a new Launcher for a debug client and an input and output stream, and set up message validation and tracing.
|
static org.eclipse.lsp4j.jsonrpc.Launcher<IDebugProtocolServer> |
createClientLauncher(IDebugProtocolClient client,
java.io.InputStream in,
java.io.OutputStream out,
java.util.concurrent.ExecutorService executorService,
java.util.function.Function<org.eclipse.lsp4j.jsonrpc.MessageConsumer,org.eclipse.lsp4j.jsonrpc.MessageConsumer> wrapper)
Create a new Launcher for a debug client and an input and output stream.
|
static org.eclipse.lsp4j.jsonrpc.Launcher<IDebugProtocolClient> |
createServerLauncher(IDebugProtocolServer server,
java.io.InputStream in,
java.io.OutputStream out)
Create a new Launcher for a debug server and an input and output stream.
|
static org.eclipse.lsp4j.jsonrpc.Launcher<IDebugProtocolClient> |
createServerLauncher(IDebugProtocolServer server,
java.io.InputStream in,
java.io.OutputStream out,
boolean validate,
java.io.PrintWriter trace)
Create a new Launcher for a debug server and an input and output stream, and set up message validation and tracing.
|
static org.eclipse.lsp4j.jsonrpc.Launcher<IDebugProtocolClient> |
createServerLauncher(IDebugProtocolServer server,
java.io.InputStream in,
java.io.OutputStream out,
java.util.concurrent.ExecutorService executorService,
java.util.function.Function<org.eclipse.lsp4j.jsonrpc.MessageConsumer,org.eclipse.lsp4j.jsonrpc.MessageConsumer> wrapper)
Create a new Launcher for a debug server and an input and output stream.
|
public static org.eclipse.lsp4j.jsonrpc.Launcher<IDebugProtocolClient> createServerLauncher(IDebugProtocolServer server, java.io.InputStream in, java.io.OutputStream out)
server - - the server that receives method calls from the remote clientin - - input stream to listen for incoming messagesout - - output stream to send outgoing messagespublic static org.eclipse.lsp4j.jsonrpc.Launcher<IDebugProtocolClient> createServerLauncher(IDebugProtocolServer server, java.io.InputStream in, java.io.OutputStream out, boolean validate, java.io.PrintWriter trace)
server - - the server that receives method calls from the remote clientin - - input stream to listen for incoming messagesout - - output stream to send outgoing messagesvalidate - - whether messages should be validated with the ReflectiveMessageValidatortrace - - a writer to which incoming and outgoing messages are traced, or null to disable tracingpublic static org.eclipse.lsp4j.jsonrpc.Launcher<IDebugProtocolClient> createServerLauncher(IDebugProtocolServer server, java.io.InputStream in, java.io.OutputStream out, java.util.concurrent.ExecutorService executorService, java.util.function.Function<org.eclipse.lsp4j.jsonrpc.MessageConsumer,org.eclipse.lsp4j.jsonrpc.MessageConsumer> wrapper)
server - - the server that receives method calls from the remote clientin - - input stream to listen for incoming messagesout - - output stream to send outgoing messagesexecutorService - - the executor service used to start threadswrapper - - a function for plugging in additional message consumerspublic static org.eclipse.lsp4j.jsonrpc.Launcher<IDebugProtocolServer> createClientLauncher(IDebugProtocolClient client, java.io.InputStream in, java.io.OutputStream out)
client - - the client that receives method calls from the remote serverin - - input stream to listen for incoming messagesout - - output stream to send outgoing messagespublic static org.eclipse.lsp4j.jsonrpc.Launcher<IDebugProtocolServer> createClientLauncher(IDebugProtocolClient client, java.io.InputStream in, java.io.OutputStream out, boolean validate, java.io.PrintWriter trace)
client - - the client that receives method calls from the remote serverin - - input stream to listen for incoming messagesout - - output stream to send outgoing messagesvalidate - - whether messages should be validated with the ReflectiveMessageValidatortrace - - a writer to which incoming and outgoing messages are traced, or null to disable tracingpublic static org.eclipse.lsp4j.jsonrpc.Launcher<IDebugProtocolServer> createClientLauncher(IDebugProtocolClient client, java.io.InputStream in, java.io.OutputStream out, java.util.concurrent.ExecutorService executorService, java.util.function.Function<org.eclipse.lsp4j.jsonrpc.MessageConsumer,org.eclipse.lsp4j.jsonrpc.MessageConsumer> wrapper)
client - - the client that receives method calls from the remote serverin - - input stream to listen for incoming messagesout - - output stream to send outgoing messagesexecutorService - - the executor service used to start threadswrapper - - a function for plugging in additional message consumers