类org.eclipse.lsp4j.jsonrpc.services.JsonNotification源码实例Demo

下面列出了怎么用org.eclipse.lsp4j.jsonrpc.services.JsonNotification的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: lsp4j   文件: GenericEndpointTest.java
protected void testZeroParams(Object params, Predicate<String> predicate) throws Exception {
	LogMessageAccumulator logMessages = null;
	try {
		if (predicate != null) {
			logMessages = new LogMessageAccumulator();
			logMessages.registerTo(GenericEndpoint.class);
		}
		GenericEndpoint endpoint = new GenericEndpoint(new Object() {

			@JsonNotification
			public void myNotification() {
			}

		});
	
		endpoint.notify("myNotification", params);

		if (predicate != null) {
			logMessages.await(r -> Level.WARNING == r.getLevel() && predicate.test(r.getMessage()));
		}
	} finally {
		if (logMessages != null) {
			logMessages.unregister();
		}
	}
}
 
源代码2 项目: graphical-lsp   文件: GLSPClient.java
@JsonNotification("process")
void process(ActionMessage message);
 
源代码3 项目: graphical-lsp   文件: GLSPServer.java
@JsonNotification("process")
void process(ActionMessage message);
 
源代码4 项目: graphical-lsp   文件: GLSPServer.java
@JsonNotification("exit")
void exit(String clientId);
 
源代码5 项目: build-server-protocol   文件: BuildServer.java
@JsonNotification("build/initialized")
void onBuildInitialized();
 
源代码6 项目: build-server-protocol   文件: BuildServer.java
@JsonNotification("build/exit")
void onBuildExit();
 
源代码7 项目: build-server-protocol   文件: BuildClient.java
@JsonNotification("build/showMessage")
void onBuildShowMessage(ShowMessageParams params);
 
源代码8 项目: build-server-protocol   文件: BuildClient.java
@JsonNotification("build/logMessage")
void onBuildLogMessage(LogMessageParams params);
 
源代码9 项目: build-server-protocol   文件: BuildClient.java
@JsonNotification("build/taskStart")
void onBuildTaskStart(TaskStartParams params);
 
源代码10 项目: build-server-protocol   文件: BuildClient.java
@JsonNotification("build/taskProgress")
void onBuildTaskProgress(TaskProgressParams params);
 
源代码11 项目: build-server-protocol   文件: BuildClient.java
@JsonNotification("build/taskFinish")
void onBuildTaskFinish(TaskFinishParams params);
 
源代码12 项目: build-server-protocol   文件: BuildClient.java
@JsonNotification("build/publishDiagnostics")
void onBuildPublishDiagnostics(PublishDiagnosticsParams params);
 
源代码13 项目: build-server-protocol   文件: BuildClient.java
@JsonNotification("buildTarget/didChange")
void onBuildTargetDidChange(DidChangeBuildTarget params);
 
源代码14 项目: MSPaintIDE   文件: LSPClient.java
@JsonNotification("language/status")
public void languageStatus(Map<Object, Object> data) {
    LOGGER.info("[{}] {}", data.get("type"), data.get("message"));
}
 
源代码15 项目: MSPaintIDE   文件: LSPClient.java
@JsonNotification("java/didChangeWorkspaceFolders")
public void didChangeWorkspaceFolders(Object object) {
    LOGGER.info("[didChangeWorkspaceFolders] {}", object);
}
 
@JsonNotification("workspace/notify")
void sendNotification(ExecuteCommandParams params);
 
@JsonNotification("as3mxml/clearCompilerShellOutput")
void clearCompilerShellOutput();
 
@JsonNotification("as3mxml/logCompilerShellOutput")
void logCompilerShellOutput(String message);
 
源代码19 项目: vscode-as3mxml   文件: ActionScriptServices.java
@JsonNotification("$/setTraceNotification")
public void setTraceNotification(Object params)
{
	//this may be ignored. see: eclipse/lsp4j#22
}
 
源代码20 项目: xtext-core   文件: TestLangLSPExtension.java
@JsonNotification
void buildHappened(BuildNotification notification);
 
源代码21 项目: lsp4j   文件: MockConnectionTest.java
@JsonNotification("client/notify")
void notify(String arg);
 
源代码22 项目: lsp4j   文件: MockConnectionTest.java
@JsonNotification("server/notify")
void notify(String arg);
 
源代码23 项目: lsp4j   文件: DebugIntegrationTest.java
@JsonNotification
void myNotification();
 
源代码24 项目: lsp4j   文件: IDebugProtocolClient.java
/**
 * The event indicates that the debuggee has exited and returns its exit code.
 */
@JsonNotification
default void exited(ExitedEventArguments args) {
}
 
源代码25 项目: lsp4j   文件: IDebugProtocolClient.java
/**
 * The event indicates that a thread has started or exited.
 */
@JsonNotification
default void thread(ThreadEventArguments args) {
}
 
源代码26 项目: lsp4j   文件: IDebugProtocolClient.java
/**
 * The event indicates that the target has produced some output.
 */
@JsonNotification
default void output(OutputEventArguments args) {
}
 
源代码27 项目: lsp4j   文件: IDebugProtocolClient.java
/**
 * The event indicates that some information about a breakpoint has changed.
 */
@JsonNotification
default void breakpoint(BreakpointEventArguments args) {
}
 
源代码28 项目: lsp4j   文件: IDebugProtocolClient.java
/**
 * The event indicates that some information about a module has changed.
 */
@JsonNotification
default void module(ModuleEventArguments args) {
}
 
源代码29 项目: lsp4j   文件: IntegrationTest.java
@JsonNotification
void myNotification();
 
源代码30 项目: lsp4j   文件: LauncherTest.java
@JsonNotification
public void say(Param p);
 
 类所在包
 同包方法