Java Code Examples for org.eclipse.lsp4j.jsonrpc.Endpoint#notify()
The following examples show how to use
org.eclipse.lsp4j.jsonrpc.Endpoint#notify() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: XLanguageServerImpl.java From n4js with Eclipse Public License 1.0 | 5 votes |
@Override public void notify(String method, Object parameter) { for (Endpoint endpoint : extensionProviders.get(method)) { try { endpoint.notify(method, parameter); } catch (UnsupportedOperationException e) { if (e != ILanguageServerExtension.NOT_HANDLED_EXCEPTION) { throw e; } } } }
Example 2
Source File: LanguageServerImpl.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Override public void notify(String method, Object parameter) { for (Endpoint endpoint : extensionProviders.get(method)) { try { endpoint.notify(method, parameter); } catch (UnsupportedOperationException e) { if (e != ILanguageServerExtension.NOT_HANDLED_EXCEPTION) { throw e; } } } }